MS Create GDAP relationship

Viewed 27

I am trying to create GDAP relationship request using MS Graph endpoint

POST /beta/tenantRelationships/delegatedAdminRelationships

I am getting an access token from Azure app that has the application permission DelegatedAdminRelationship.ReadWrite.All granted to it.

I verified that the request header contains a bearer access token and that the token contains

"roles": [DelegatedAdminRelationship.ReadWrite.All]

However I am receiving the error: forbiddenUserDoesNotHaveAccess.

What am I missing?

1 Answers

According to the documentation the required scope for DelegatedAdminRelationship.ReadWrite.All permission is only delegated.

Application permission type is not supported.

Related