1

I would like to show Teams created with Microsoft Graph API in Outlook.

Therefore, I need the Microsoft Graph API equivalence of calling the following PowerShell command:

set-UnifiedGroup -identity "id_of_the_group" -HiddenFromExchangeClientsEnabled:$false

Note that Microsoft Teams are hidden from Outlook by default, as stated here.

Found resources

4

1 回答 1

2

在 Microsoft Graph API 中,您应该使用hideFromOutlookClientsgroup 属性。(hideFromAddressLists也可能是相关的,但设置hideFromOutlookClients为 false 似乎也更新了hideFromAddressLists)。

请注意,更改此属性需要Group.ReadWrite.All权限,Directory.AccessAsUser.All否则Directory.ReadWrite.All是不够的。(设置 hideFromAddressLists 或 hideFromOutlookClients 时,另请参阅ErrorGroupsAccessDenied )

于 2020-04-02T19:31:51.100 回答