I was able to call the /subscriptions/start?contentType=Audit.SharePoint
API of Office 365 Management Activity API successfully with a valid response and validation token.
However when I tried calling /subscriptions/content?contentType=Audit.SharePoint
I get the following exception :
[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
Can some one please help me out with this?