author | ms.service | ms.subservice | ms.topic | ms.date | ms.author |
---|---|---|---|---|---|
kengaderdus |
active-directory-b2c |
B2C |
include |
08/04/2021 |
kengaderdus |
To grant your app (App ID: 1) permissions, follow these steps:
-
Select App registrations, and then select the app that you created (App ID: 1).
-
Under Manage, select API permissions.
-
Under Configured permissions, select Add a permission.
-
Select the My APIs tab.
-
Select the API (App ID: 2) to which the web application should be granted access. For example, enter my-api1.
-
Under Permission, expand tasks, and then select the scopes that you defined earlier (for example, tasks.read and tasks.write).
-
Select Add permissions.
-
Select Grant admin consent for <your tenant name>.
-
Select Yes.
-
Select Refresh, and then verify that Granted for ... appears under Status for both scopes.
-
From the Configured permissions list, select your scope, and then copy the scope full name.