是否可以使用Microsoft.Azure.ActiveDirectory.GraphClient
創建組時指定組的類型?創建天藍色廣告組
例如與代碼:
Group groupToBeAdded = new Group
{
DisplayName = "group name",
Description = string.Empty,
MailNickname = member.Name,
MailEnabled = true,
SecurityEnabled = true, // Set to true for security-enabled groups. Set to false if creating an Office 365 group
Mail = AppConstants.EmailProperty
};
但我不能指定組類型(「統一」,「DynamicMembership」,「」)
我搜索這個職位:http://stackoverflow.com/questions/37065503/how-can-i-create-group-mail-alias-using-office-365-api-in-c-sharp 。我發現這篇文章。我會嘗試 – user3668585