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

Preview

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

--display-name

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.

--sign-in-audience

The Microsoft account types supported for sign-in.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h -help -? --?

Show help for the command or group and exit.

--no-cache

Bypass the extension discovery cache and reload extensions from disk.

--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, table, tsv, yaml, yamlc
--query

JMESPath query string to filter/project the command result before rendering.

az msgraph app delete

Preview

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

--id

The object ID of the application registration to delete.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h -help -? --?

Show help for the command or group and exit.

--no-cache

Bypass the extension discovery cache and reload extensions from disk.

--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, table, tsv, yaml, yamlc
--query

JMESPath query string to filter/project the command result before rendering.

az msgraph app list

Preview

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.

--consistency-level

Value sent as the ConsistencyLevel HTTP header for advanced queries.

--display-name

Exact display name to match. Translated to the OData filter displayName eq 'value'.

--filter

OData $filter expression applied by Microsoft Graph.

--orderby

Property paths to sort by via OData $orderby.

--search

Free-text search expression mapped to OData $search.

--select

Properties to project via OData $select.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h -help -? --?

Show help for the command or group and exit.

--no-cache

Bypass the extension discovery cache and reload extensions from disk.

--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, table, tsv, yaml, yamlc
--query

JMESPath query string to filter/project the command result before rendering.

az msgraph app show

Preview

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

--id

The object ID of the application registration.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h -help -? --?

Show help for the command or group and exit.

--no-cache

Bypass the extension discovery cache and reload extensions from disk.

--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, table, tsv, yaml, yamlc
--query

JMESPath query string to filter/project the command result before rendering.