Skip to content

New command: create Azure AD app registration #1962

@waldekmastykarz

Description

@waldekmastykarz

Usage

aad app add [options]

Description

Creates Azure AD app registration

Options

Option Description
-n, --name <name> Name of the app
--multitenant Specify to make the app available to other tenants
-r, --redirectUris [redirectUris] Comma-separated list of redirect URIs
-p, --platform [platform] Platform for which the redirectUris should be configured. Allowed values spa,web,publicClient
--implicitFlow Specify, to indicate that the authorization endpoint should return ID and access tokens
-s, --withSecret When specified, will create a non-expiring secret for the app named Default
--apisDelegated [apisDelegated] Comma-separated list of delegated permissions to register with the app
--apisApplication [apisApplication] Comma-separated list of application permissions to register with the app
-u, --uri [uri] Application ID URI
--scopeName [scopeName] Name of the scope to add. Requires uri to be specified
--scopeConsentBy [scopeConsentBy] Specifies if the scope can be consented only by admins or by admins and users. Allowed values admins, adminsAndUsers. Default admins
--scopeAdminConsentDisplayName [scopeAdminConsentDisplayName] Scope admin consent display name
--scopeAdminConsentDescription [scopeAdminConsentDescription] Scope admin consent description

Additional Information

After creating the app registration, the command sets the current user as its owner.

The command returns app's ID, ObjectID and the generated secret if one was created.

This command is similar to az ad app create and is meant to simplify the process of creating app registrations with supporting the most common scenarios in an opinionated way.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions