Skip to content

Bug report: Docs | Example for aad app set does not have AppId Option while setting certificate and does not have quotes before Certificate Path #3588

Description

@arjunumenon

Description

Refer the Example for Add a certificate to the app in the aad app set.
Command should have the option --appId. The command does not have the option available.

Steps to reproduce

  • Go to aad app set page
  • Check Example for Add a certificate to the app
  • Command does not have the option --appId
  • Example do not have "" before the certificate path which will be needed
  • " need to be there for the example in the command m365 aad app add

Expected results

Command should like below

aad app set example should be like below

m365 aad app set --appId d75be2e1-0204-4f95-857d-51a37cf40be8 --certificateDisplayName "Some certificate name" --certificateFile "c:\temp\some-certificate.cer"

m365 aad app add should be like below

m365 aad app add --name 'My AAD app' --certificateDisplayName "Some certificate name" --certificateFile "c:\temp\some-certificate.cer"

Actual results

Refer the Example for Add a certificate to the app in the aad app set.
Command should have the option --appId. The command does not have the option available.

Diagnostics

N/A

CLI for Microsoft 365 version

N/A

nodejs version

N/A

Operating system (environment)

Windows

Shell

PowerShell

cli doctor

N/A

Additional Info

Bug Report on the docs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions