About the scope name of Azure AD app

田中 惇貴 21 Reputation points
2021-09-16T08:15:02.22+00:00

When adding the scope of the application registered in Azure AD, the maximum number of characters in the scope name was displayed as 40 characters or less.

I know that I need to set API permissions and scope to use the Microsoft Graph API, and I need to set the name of the permission in the scope name, but OnPremisesPublishingProfiles.ReadWrite.All is specified in the scope name Does that mean you can't?
Or please let me know if there is another way to add it.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,187 questions
0 comments No comments
{count} votes

Accepted answer
  1. AmanpreetSingh-MSFT 56,466 Reputation points
    2021-09-16T08:51:03.11+00:00

    Hi @田中 惇貴 • Thank you for reaching out.

    The 40 characters limit is for the custom scopes that you add under the Applications which are Exposed as API by setting App ID URI, as shown below:

    132647-image.png

    However, this limit doesn't apply to the built-in scopes provided with 1st party APIs, such as Graph API. You can add these scopes, regardless of whether they contain more than 40 characters, under API permissions blade of your application without any issues, as highlighted in the screenshot below:

    132589-image.png

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

0 additional answers

Sort by: Most helpful