How to fix the error which occurs when trying to add App ID URI in "Expose an API" for an App?

Rohit Chaturvedi 21 Reputation points Microsoft Employee
2021-12-31T10:46:10.52+00:00

I am trying to expose an API of an App registered with Azure AD with Multitenant architecture.

But when I am trying to set the "App ID URI" its giving me the following error:

161614-errorwhilesettingappidurionazure.png

How to fix this error?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

Accepted answer
  1. Siva-kumar-selvaraj 15,721 Reputation points
    2021-12-31T16:00:55.153+00:00

    Hello @Rohit Chaturvedi ,

    Thanks for reaching out.

    Are you using a VPN client or a proxy to connect to the internet? Because this is most likely a network connectivity issue, I would recommend that you to verify that https://graph.microsoft.com/v1.0/ is whitelisted, as you may see graph endpoint called when I expose an API (aka identifieruri) from browser Devtool .

    161577-image.png

    Try using incognito / InPrivate browser to check the behavior across different browser and lets know the outcome. Thanks.

    Hope this helps.

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

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.