Forum Discussion
gaurav_k
Oct 23, 2020Copper Contributor
Could not fetch o365 usage Reports API
Hello,
In graph explorer, I'm able to get results for basic sample API's as described in Graph explorer sample queries, (ex: request: /users/<tenantid>/drives), but for reports usage API, could not able to fetch details for any other GET requests, getting the below error everytime. I've checked and given all the permissions as mentioned in docs. Need help regarding the unknown tenant id..
Output error:
"code": "UnknownError",
"message": "{\"error\":{\"code\":\"UnknownTenantId\",\"message\":\"We do not recognize this tenant ID 5b1afc8e-xxxx-4842-xxxx-xxxxxx. Please double-check the tenant ID and try again.\"}}",
If this is a new tenant, it might take a while for the report service to pick it up and start generating reports. In any case, contact support and report this.
If this is a new tenant, it might take a while for the report service to pick it up and start generating reports. In any case, contact support and report this.