0
我能夠通過有效的響應和驗證令牌成功調用Office 365管理活動API的/subscriptions/start?contentType=Audit.SharePoint
API。 當我試着打電話/subscriptions/content?contentType=Audit.SharePoint
我得到下面的異常然而:無法找到租戶的存儲空間
[ApplicationException: Failed to locate storage for tenant.]
Microsoft.O365.EcoSystem.TableQueueCommon.Locator.EcoSystemSqlDbAccessor.GetStorageEndpoint(String tenantId, Category category, StorageAccountType contentType, Boolean forceToRefreshStorageSettings, Boolean isTestHookEnabled) in e:\chicago\sources\Dev\Compliance\src\EcoSystem\DataFeedInfra\TableQueueCommon\BlobStorageLocator\EcoSystemSqlDbAccessor.cs:212
Microsoft.O365.EcoSystem.TableQueueCommon.Locator.EcoSystemSqlDbAccessor.GetStorageEndpoint(String tenantId, Category category, StorageAccountType contentType, Boolean isTestHookEnabled) in e:\chicago\sources\Dev\Compliance\src\EcoSystem\DataFeedInfra\TableQueueCommon\BlobStorageLocator\EcoSystemSqlDbAccessor.cs:148
Microsoft.O365.EcoSystem.DataFeed.ApiUtility.EndRequest(String Message, Exception ee) in e:\chicago\sources\Dev\Compliance\src\EcoSystem\DataFeedInfra\PartnerSubscription\SubscriptionServiceRole\Common\Common.cs:212
Microsoft.O365.EcoSystem.DataFeed.GlobalExceptionLogger.Log(ExceptionLoggerContext context) in e:\chicago\sources\Dev\Compliance\src\EcoSystem\DataFeedInfra\PartnerSubscription\SubscriptionServiceRole\Common\Exceptions.cs:79
System.Web.Http.ExceptionHandling.ExceptionLogger.LogAsync(ExceptionLoggerContext context, CancellationToken cancellationToken) +15
System.Web.Http.ExceptionHandling.CompositeExceptionLogger.LogAsync(ExceptionLoggerContext context, CancellationToken cancellationToken) +137
System.Web.Http.<SendAsync>d__0.MoveNext() +1075
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +144
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +84
System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() +49
System.Web.Http.WebHost.<ProcessRequestAsyncCore>d__0.MoveNext() +594
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +144
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +84
System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +98
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +606
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288
能有人請幫我這嗎?
我需要這種幫助。你是如何訂閱的?你能告訴我你的要求嗎? –
這裏是我的問題>>> http://stackoverflow.com/questions/32583795/office365-unauthorized-response-when-accessing-the-management-activity-api –