Graphh API call getMailboxUsageDetail reurn not found tenandID

Invarosoft-colombo 1 Reputation point
2021-06-17T07:19:30.597+00:00

the api for users, gropus return result, but when going to access usage report (i.e :getMailboxUsageDetail) is return error with "we do not recognize this tenant id". But this tenant id was work nicely when getting users/groups api. what is the real cause of this issue

{"error":{"code":"UnknownError","message":"{\"error\":{\"code\":\"UnknownTenantId\",\"message\":\"We do not recognize this tenant ID 9d99877c-03b5-4f6a-90d8-0609c9eb5d06. Please double-check the tenant ID and try again.\"}}","innerError":{"date":"2021-06-17T01:45:23","request-id":"5a942570-565b-4c20-9a7c-5135de7a2e07","client-request-id":"5a942570-565b-4c20-9a7c-5135de7a2e07"}}}

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,575 questions
{count} votes