Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New command: verify the configuration of the custom app reg for use with CLI #6405

Open
waldekmastykarz opened this issue Oct 3, 2024 · 1 comment

Comments

@waldekmastykarz
Copy link
Member

Usage

m365 cli app doctor

Description

Verifies the configuration of the custom app reg for use with CLI

Options

Option Description
-i, --appId [appId] The client ID of the Entra app registration to check. Specify appId, objectId or name.
--objectId [objectId] The object ID of the Entra app registration to check. Specify appId, objectId or name.
-n, --name [name] The display name of the Entra app registration to check. Specify appId, objectId or name.

Examples

Verify the configuration of the custom app reg, specified using the app's client ID

m365 cli app doctor --appId dfd526d5-7367-4f78-bfc7-48a5434d7276

Verify the configuration of the custom app reg, specified using the app's object ID

m365 cli app doctor --objectId dfd526d5-7367-4f78-bfc7-48a5434d7276

Verify the configuration of the custom app reg, specified using the app's object ID

m365 cli app doctor --name "My custom app"

Default properties

n/a

Additional Info

The command retrieves information about the specified app reg and performs the following checks:

  • which auth types the app reg supports (separate line item for each auth type supported in the CLI)
  • is the app single- or multitenant
  • which resources the app reg supports (separate line item for each resource used in the CLI)

The command prints a list of checks with an x or a v when it passed, similarly to other doctor commands.

@waldekmastykarz waldekmastykarz added new feature needs peer review Needs second pair of eyes to review the spec or PR labels Oct 3, 2024
@Jwaegebaert Jwaegebaert added help wanted and removed needs peer review Needs second pair of eyes to review the spec or PR labels Oct 3, 2024
@Jwaegebaert
Copy link
Contributor

Awesome suggestion, nothing to add. Let's open it up!

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

No branches or pull requests

2 participants