2017-09-26 70 views
0

什麼是爲User.Invite.All許可GUID值graph.microsoft.comMS圖的GUID許可User.Invite.All

User.Invite.All GUID = ??? ??

圖邀請權限的安全解決方案在以下答案 ...


(以下列表現在更新與User.Invite.All GUID)

----------------------------------------------------- 
Microsoft Graph (API) 
- resourceAppId 00000003-0000-0000-c000-000000000000 
----------------------------------------------------- 

User.ReadWrite.All 
    - 741f803b-c850-494e-b5df-cde7c675a1ca 

Directory.ReadWrite.All (+) 
    - 19dbc75e-c2e2-444c-a770-ec69d8559fc7 

User.Invite.All 
    - 09850681-111b-4a89-9bed-3f2cae46d706 


----------------------------------------------------- 
Windows Azure Active Directory (API) 
- resourceAppId 00000002-0000-0000-c000-000000000000 
----------------------------------------------------- 

Directory.Read.All 
- Read directory data 
- 5778995a-e1bf-45b8-affa-663a9f3f4d04 

Domain.ReadWrite.All (*) 
- Read and write domains 
- abefe9df-d5a9-41c6-a60b-27b38eac3efb 

Directory.ReadWrite.All (+) 
- Read and write directory data 
- 78c8a3c8-a07e-4b9e-af1b-b5ccab50a175 

Device.ReadWrite.All 
- Read and write devices 
- 1138cb37-bd11-4084-a2b7-9f71582aeddb 

Member.Read.Hidden 
- Read all hidden memberships 
- 9728c0c4-a06b-4e0e-8d1b-3d694e8ec207 

Application.ReadWrite.OwnedBy 
- Manage apps that this app creates or owns 
- 824c81eb-e3f8-4ee6-8f6d-de7f50d565b7 

Application.ReadWrite.All 
- Read and write all applications 
- 1cda74f2-2616-4834-b122-5cb1b07f8a59 

Domain.ReadWrite.All (*) 
- Read and write domains 
- aaff0dfd-0295-48b6-a5cc-9f465bc87928 

(*) Note these have the same name and description - two seperate guids within AD 
(+) Notice same scope name in two diferent resourceAppIDs (Graph vs. AD) 

以上列表可能對某人非常有用,因爲我無法找到包含文件或在任何地方鍵入def。在範圍調用中使用文本名稱時有意義。

+0

作用域使用的是空間分隔的字符串要求。你在哪裏看到一個地方傳遞'GUID'? –

+0

Guid是解決與Invite API相關的安全錯誤的絕望。我有一個應用程序,它可以刪除1000個更新並添加500個Graph API,除Invitations API之外,其他所有功能都可以正常工作。 ControllerName = MSGraphInviteAPI ActionName = CreateInvite權限不足。我得到同樣的錯誤在測試和V1.0這是一個應用,我開始懷疑,如果它只是在用戶上下文什麼不明顯的作品。 –

+0

我不遵循'guid'如何幫助解決權限錯誤。你指定了哪些範圍? –

回答

0

邀請經理的Microsoft Graph安全權限 - 關鍵細節

邀請函「服務」是圖的一部分,不是廣告的一部分。

AD看起來是圖的一部分,圖形看起來是AD的一部分,但它們具有不同的安全設置背景和碰巧在某些範圍完全相同的權限範圍的名稱。

如果要設置在Azure中,需要邀請API訪問的應用程序,然後確保你添加特定的引用除了爲您創建當你第一次創建一個應用程序的AD API參考到圖形註冊。

Graph Application Permissions Invitation Manager

Graph Users.Invite.All detail

FYI:請柬看起來是正常的全V1.0圖的一部分,而不是隻測試了。 https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/invitation https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/invitation_post https://graph.microsoft.com/v1.0/invitations https://graph.microsoft.com/beta/invitations