Mir Sabbir
Mir Sabbir

Reputation: 33

How to add permissions to an App registration using graph API?

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

Answers (1)

James Tran
James Tran

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

Related Questions