[英]GraphServiceClient, Create ContentVersions to intune with GraphServiceClient
[英]GraphServiceClient and its usage programmatically
我正在嘗試使用 C# 代碼和GraphServiceClient
創建組日歷。 我已經有一個GraphServiceClient
object。 但是只要我調用下面的代碼,什么都沒有發生。 呼叫沒有響應。 它只是調用並忘記。
Group group = await graphClient.Groups.Request()
//.WithUserAccount(ClaimsPrincipal.Current.ToGraphUserAccount())
.AddAsync(new Group
{
GroupTypes = new List<string> { "Unified" },
DisplayName = "Test",
Description = "Test",
MailNickname = "Test",
MailEnabled = false,
SecurityEnabled = false
});
我的問題:
有什么方法可以驗證GraphServiceClient
object 值?
是否有任何日志服務可以幫助我理解為什么graphClient.Groups.Request()
調用沒有響應?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.