AAD applications - az ad app

Manage Azure Active Directory applications.

Commands

az ad app create Create an application.
az ad app delete Delete an application.
az ad app list List applications, with optional filtering.
az ad app show Get an application.
az ad app update Update an application.

az ad app create

Create an application.

az ad app create --display-name
--homepage
--identifier-uris
[--available-to-other-tenants]
[--end-date]
[--key-type {AsymmetricX509Cert, Password, Symmetric}]
[--key-usage {Sign, Verify}]
[--key-value]
[--password]
[--reply-urls]
[--start-date]

Required Parameters

--display-name

The display name of the application.

--homepage

The url where users can sign in and use your app.

--identifier-uris

Space separated unique URIs that Azure AD can use for this app.

Optional Parameters

--available-to-other-tenants

The application can be used from any Azure AD tenants.

--end-date

Date or datetime after which credentials expire(e.g. '2017-12-31T11:59:59+00:00' or '2017-12-31'). Default value is one year after current time.

--key-type

The type of the key credentials associated with the application.

accepted values: AsymmetricX509Cert, Password, Symmetric
default value: AsymmetricX509Cert
--key-usage

The usage of the key credentials associated with the application.

accepted values: Sign, Verify
default value: Verify
--key-value

The value for the key credentials associated with the application.

--password
--reply-urls

Space separated URIs to which Azure AD will redirect in response to an OAuth 2.0 request. The value does not need to be a physical endpoint, but must be a valid URI.

--start-date

Date or datetime at which credentials become valid(e.g. '2017-01-01T01:00:00+00:00' or '2017-01-01'). Default value is current time.

az ad app delete

Delete an application.

az ad app delete --id

Required Parameters

--id

Identifier uri, application id, or object id.

az ad app list

List applications, with optional filtering.

az ad app list [--app-id]
[--display-name]
[--filter]
[--identifier-uri]

Optional Parameters

--app-id

Application id.

--display-name

The display name of the application.

--filter

OData filter.

--identifier-uri

Graph application identifier, must be in uri format.

az ad app show

Get an application.

az ad app show --id

Required Parameters

--id

Identifier uri, application id, or object id.

az ad app update

Update an application.

az ad app update --id
[--display-name]
[--end-date]
[--homepage]
[--identifier-uris]
[--key-type {AsymmetricX509Cert, Password, Symmetric}]
[--key-usage {Sign, Verify}]
[--key-value]
[--password]
[--reply-urls]
[--start-date]

Required Parameters

--id

Identifier uri, application id, or object id.

Optional Parameters

--display-name

The display name of the application.

--end-date

Date or datetime after which credentials expire(e.g. '2017-12-31T11:59:59+00:00' or '2017-12-31'). Default value is one year after current time.

--homepage

The url where users can sign in and use your app.

--identifier-uris

Space separated unique URIs that Azure AD can use for this app.

--key-type

The type of the key credentials associated with the application.

accepted values: AsymmetricX509Cert, Password, Symmetric
default value: AsymmetricX509Cert
--key-usage

The usage of the key credentials associated with the application.

accepted values: Sign, Verify
default value: Verify
--key-value

The value for the key credentials associated with the application.

--password
--reply-urls

Space separated URIs to which Azure AD will redirect in response to an OAuth 2.0 request. The value does not need to be a physical endpoint, but must be a valid URI.

--start-date

Date or datetime at which credentials become valid(e.g. '2017-01-01T01:00:00+00:00' or '2017-01-01'). Default value is current time.