Share via

Graph API Create accessAssignmentsにてエラー

Kenta Matsunaga 60 Reputation points
2024-01-17T03:59:46.9266667+00:00

お世話になっております。

下記のページを参考に、Create accessAssignmentsのAPIの実行を試みておりますが、以下3点ほど確認させて下さい。

https://learn.microsoft.com/en-us/graph/api/delegatedadminrelationship-post-accessassignments?view=graph-rest-1.0&tabs=http

  1. セキュリティグループの割り当てを行いたいのですが、ボディの"accessContainerId"に指定すべき値はどこで確認できますでしょうか。
  2. ボディの"roleDefinitionId"には、Microsoft Entra 管理センターの該当のオブジェクトIDを指定すれば良い認識ですが、合っておりますでしょうか。
  3. API実行時にエラーが出ます。"The user (principal) does not have the required permissions to perform the specified action on the resource."というメッセージですが、どのような設定を行うことで、解消できますでしょうか。

お手数おかけしますがご確認お願いします。

Microsoft Security | Microsoft Graph
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.