az msgraph app
Manage Microsoft Entra application registrations through Microsoft Graph.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az msgraph app create |
Create a Microsoft Entra application registration. |
Core | Preview |
| az msgraph app delete |
Delete a Microsoft Entra application registration. |
Core | Preview |
| az msgraph app list |
List Microsoft Entra application registrations. |
Core | Preview |
| az msgraph app show |
Show a Microsoft Entra application registration by object ID. |
Core | Preview |
az msgraph app create
Create a Microsoft Entra application registration.
Register a new Microsoft Entra application. Only --display-name is required; the created application, including its object ID and app ID, is returned.
az msgraph app create --display-name
[--sign-in-audience]
Examples
Create an application registration
az msgraph app create --display-name my-app
Create an application for a single-tenant audience
az msgraph app create --display-name my-app --sign-in-audience AzureADMyOrg
Required Parameters
The display name of the application registration.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The Microsoft account types supported for sign-in.
Global Parameters
Increase logging verbosity to show all debug logs.
Show help for the command or group and exit.
Bypass the extension discovery cache and reload extensions from disk.
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, table, tsv, yaml, yamlc |
JMESPath query string to filter/project the command result before rendering.
az msgraph app delete
Delete a Microsoft Entra application registration.
Delete an application registration from Microsoft Graph by its object ID. Graph performs a soft delete; the application is recoverable for 30 days.
az msgraph app delete --id
Examples
Delete an application
az msgraph app delete --id 00000000-0000-0000-0000-000000000000
Required Parameters
The object ID of the application registration to delete.
Global Parameters
Increase logging verbosity to show all debug logs.
Show help for the command or group and exit.
Bypass the extension discovery cache and reload extensions from disk.
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, table, tsv, yaml, yamlc |
JMESPath query string to filter/project the command result before rendering.
az msgraph app list
List Microsoft Entra application registrations.
Return application registrations from Microsoft Graph. All pages are returned, following the Graph @odata.nextLink continuation. Use --display-name for a quick equality lookup, or --filter for any other OData expression.
az msgraph app list [--consistency-level]
[--display-name]
[--filter]
[--orderby]
[--search]
[--select]
Examples
List applications
az msgraph app list
List applications by display name
az msgraph app list --display-name my-app
List applications with a raw OData filter
az msgraph app list --filter "signInAudience eq 'AzureADMyOrg'"
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Value sent as the ConsistencyLevel HTTP header for advanced queries.
Exact display name to match. Translated to the OData filter displayName eq 'value'.
OData $filter expression applied by Microsoft Graph.
Property paths to sort by via OData $orderby.
Free-text search expression mapped to OData $search.
Properties to project via OData $select.
Global Parameters
Increase logging verbosity to show all debug logs.
Show help for the command or group and exit.
Bypass the extension discovery cache and reload extensions from disk.
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, table, tsv, yaml, yamlc |
JMESPath query string to filter/project the command result before rendering.
az msgraph app show
Show a Microsoft Entra application registration by object ID.
Retrieve a single application registration from Microsoft Graph by its object ID.
az msgraph app show --id
Examples
Show an application by object ID
az msgraph app show --id 00000000-0000-0000-0000-000000000000
Required Parameters
The object ID of the application registration.
Global Parameters
Increase logging verbosity to show all debug logs.
Show help for the command or group and exit.
Bypass the extension discovery cache and reload extensions from disk.
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, table, tsv, yaml, yamlc |
JMESPath query string to filter/project the command result before rendering.