【发布时间】:2016-01-08 15:10:03
【问题描述】:
我使用 Office 365 API 在 c#.net 中在线阅读了来自 Exchange 的电子邮件,但在响应对象上遇到了一些问题
(HttpResponseMessage response = await client.SendAsync(request))
即
{StatusCode: 403, ReasonPhrase: 'Forbidden', Version: 1.1, Content:
System.Net.Http.StreamContent, Headers:
{
Transfer-Encoding: chunked
request-id: a0983ea5-313d-4234-b1c6-249f3359c71c
client-request-id: a0983ea5-313d-4234-b1c6-249f3359c71c
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"SouthEast
Asia","Slice":"SliceB","ScaleUnit":"002","Host":"AGSFE_IN_3","ADSiteName":"SIN"}
}
OutBoundDuration: 906.2963
Duration: 1177.9769
Cache-Control: private
Date: Wed, 23 Dec 2015 12:08:42 GMT
Server: Microsoft-IIS/8.5
X-Powered-By: ASP.NET
Content-Type: application/json
}}
更多信息:
请参考此链接:http://dev.office.com/getting-started/office365apis
提供所需的登录信息、应用名称等
下载应用程序并运行您的系统
在运行时,响应对象发生错误
所以请告诉我如何修复它,如果需要任何信息,请告诉我。 请帮帮我。
谢谢, 希娜
【问题讨论】:
标签: asp.net office365 microsoft-graph-api