CmdID / az / az ad / az ad app / az ad app permission
az ad app permission grant
Grant the app an API Delegated permissions Azure CLI reference
5 options Its page in the Azure CLI reference
Options
--api, --resource-idThe id of the resource service principal to which access is authorized.--consent-typeIndicates whether authorization is granted for the client application to impersonate all users or only a specific user.--id, --client-idThe id of the client service principal for the application which is authorized to act on behalf of a signed-in user when accessing an API.--principal-idThe id of the user on behalf of whom the client is authorized to access the resource, when consentType is 'Principal'.--scopeA space-separated list of the claim values for delegated permissions which should be included in access tokens for the resource application (the API).