o365beat icon indicating copy to clipboard operation
o365beat copied to clipboard

Tenant ID not found

Open shad0wcrawl3r opened this issue 3 years ago • 0 comments

I get a Tenant not found when running the binary.

The error given is:

 res: &{400 Bad Request 400 HTTP/2.0 2 0 map[Cache-Control:[no-cache] Content-Length:[1695] Content-Type:[application/json; charset=utf-8] Date:[Thu, 17 Jun 2021 11:33:15 GMT] Expires:[-1] Pragma:[no-cache] Server:[Microsoft-IIS/10.0] X-Aspnet-Version:[4.0.30319] X-Powered-By:[ASP.NET]] 0xc0000c4900 1695 [] false false map[] 0xc00017a600 0xc0001ee580}        {"error":{"code":"StartSubscription [CorrId=ID][TenantId=ID,ContentType=Audit.AzureActiveDirectory,ApplicationId=ID,PublisherId=ID][AppId","message":"ID] failed. Exception: Microsoft.Office.Compliance.Audit.DataServiceException: Tenant ID does not exist.\r\n   at Microsoft.Office.Compliance.Audit.API.AzureManager.<GetSubscriptionTableClientForTenantAsync>d__52.MoveNext() in d:\\dbs\\sh\\nibr\\0604_230409_0\\cmd\\4\\sources\\dev\\auditing\\src\\auditapiservice\\common\\AzureManager.cs:line 2012\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Office.Compliance.Audit.API.AzureManager.<GetAPISubscriptionAsync>d__23.MoveNext() in d:\\dbs\\sh\\nibr\\0604_230409_0\\cmd\\4\\sources\\dev\\auditing\\src\\auditapiservice\\common\\AzureManager.cs:line 543\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Office.Compliance.Audit.API.StartController.<StartSubscription>d__0.MoveNext() in d:\\dbs\\sh\\nibr\\0604_230409_0\\cmd\\d\\sources\\dev\\auditing\\src\\auditapiservice\\apifrontendservicerole\\Controllers\\StartController.cs:line 76"}}

shad0wcrawl3r avatar Jun 17 '21 11:06 shad0wcrawl3r