Reputation: 43
I have created an C# application for my organization using azure with all the permission for microsoft graph (including directory.readwrite.all). I am using client id and client secret for authorization.Now I am trying to create a new schema extension but it shows 403 Error.insuffient privileges.
Kindly help me out to do this.
Upvotes: 0
Views: 335
Reputation: 5828
client_credentials
flow (no signed-in user) is not supported for schema extension creation/management. Is there a reason you need to use client credential flow here? The only supported permission (currently per documentation) for schema creation is User.AccessAsUser.All
delegated permission. You can also create schema using Graph Explorer, as long as Graph Explorer has been granted the User.AccessAsUser.All
permission, and you set the owner
property to the appId
of your application.
Hope this helps,
Upvotes: 1