Share via

Tenant not recognized

Anonymous
2022-01-27T10:35:27+00:00

Hi Team,

I created an app in App Registrations service in Azure portal to access Microsoft 365 graph api's.

I could create token using https://login.microsoftonline.com/570fa6c\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*f233/oauth2/v2.0/token , but when i tried https://graph.microsoft.com/v1.0/reports/getTeamsUserActivityUserCounts(period='D7') using the token generated above, i am getting error - We do not recognize this tenant ID 570****************f233. Please double-check the tenant ID and try again

I have a free trial subscription

Could you please help, what am i missing here.

Thanks,

Neema

[Some related PII has been masked by Mia Zhao MSFT Support to protect your privacy]

Microsoft 365 and Office | OneDrive | For business | MacOS

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-01-27T11:21:36+00:00

    Hi Neema,

    Thanks for posting in our community.

    We do understand your concern about the received error We do not recognize this tenant ID when accessing in Microsoft Graph API. However, we are really sorry to convey that engineers here have limited support experience in Microsoft Graph API but more focus on the out-of-box features in OneDrive usage.

    Hence, to make sure you can get dedicated and professional support and suggestions regarding this error on the way you want to deploy an app, kindly post a new thread in the related community: Newest 'microsoft-graph-api' Questions - Stack Overflow. Engineers and community members there have more experience and support resources to further help you to resolve this issue.

    Image

    Your understanding is highly appreciated and hope a nice day for you!!

    Best Regards,

    Mia

    Was this answer helpful?

    0 comments No comments