Microsoft graph api 创建没有用户的会话

Microsoft graph api 创建没有用户的会话,microsoft-graph-api,Microsoft Graph Api,我想创建没有用户的会话。(本地应用程序) 到很好。 但我不能 代码: {StatusCode: 400, ReasonPhrase: 'Bad Request', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, ... } 使用var-client=new-HttpClient(); 使用var request=newhttprequestmessage(HttpMethod.Post,$)https:

我想创建没有用户的会话。(本地应用程序)

到很好。
但我不能

代码:

{StatusCode: 400, ReasonPhrase: 'Bad Request', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, ... }
使用var-client=new-HttpClient();
使用var request=newhttprequestmessage(HttpMethod.Post,$)https://graph.microsoft.com/v1.0/me/drive/items/8C353AA80F001A1F!350000/工作簿/创建会话);
添加(“授权”、“承载人”+accessToken);
request.Content=newstringcontent(“{\“persistChanges\”:true}”,Encoding.UTF8,“application/json”);
错误:

{StatusCode: 400, ReasonPhrase: 'Bad Request', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, ... }

您能告诉我如何修复吗?

目前不支持仅应用程序权限


请随意在此处提交uservoice请求

当前不支持仅应用程序权限

请随意在此处提交uservoice请求