Share via

Cannot create accessAssignments for GDAP relationship

Jeroen Burggraaf | Tredion 5 Reputation points
2023-06-07T06:06:12.7866667+00:00

I'm using the following API call: https://learn.microsoft.com/en-us/graph/api/delegatedadminrelationship-post-accessassignments?view=graph-rest-1.0&tabs=http

With this you should be able to create the assignments to a GDAP relationship. Unfortunately I'm getting the following error: "Error badRequest! The passed in delegatedAdminRelationshipId is invalid."

I confirmed that this is the ID of the relationship because it is the same ID as in the URL when I navigate to it via CSP.

Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. Jeroen Burggraaf | Tredion 5 Reputation points
    2023-10-11T08:44:40.16+00:00

    Hi,

    Few months later I tried to make the script work again but I still get the same error described in the original post.

    Please help.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.