Reputation: 33
I am registering apps in Azure AD B2C dynamically from web application, I need to add permissions 'openid' and 'offline-access' to every app is registered through Graph API from my web backend. and also I want to grant admin consent programmatically using graph API. how to achieve this?
Upvotes: 0
Views: 1669
Reputation: 82
An Azure AD tenant administrator must explicitly grant these permissions by making a call to the admin consent endpoint. For more info - Using the admin consent endpoint.
Related links:
Upvotes: 1