Skip to content

Tenant ID not found #58

@shad0wcrawl3r

Description

@shad0wcrawl3r

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"}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions