Share via

Access token response issue.

Anonymous
2024-09-30T12:42:27+00:00

I need help to solve the issue I am facing with access_token. I have registered one app in my Microsoft Entra account. I have generated an access token from the API with the scope of Calendars. Read. Also, It has admin consent access in my app.
However, when I try to fetch the URL -
https://graph.microsoft.com/v1.0/me/events?$select=subject,body,bodyPreview,organizer,attendees,start,end,location
It is showing a response with code:401 - unauthorized. OR

{"error":{"code":"OrganizationFromTenantGuidNotFound","message":"The tenant for tenant guid 'xxx' does not****exist."} (I have crossed verify and tenant id is correct)

I am following the same steps in the Graph Explorer API tool, showing the response properly.

Please help me with the above issue ASAP.Thanks.

Microsoft 365 and Office | To Do | For business

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
    2024-09-30T13:47:38+00:00

    Hi sonali dudhia,

    Greetings. Thank you for posting the thread to our community.

    I understand your concern and based on your description, since our category is mainly focus on the general and build-in features in Office 365 for Business products, I sincerely recommend you post the question in Microsoft Entra ID - Microsoft Q&A. It is the specific channel handling this kind queries, members and experts are professional and will assist you further.

    Please accept my apologies for redirecting you to the related team support, as the moderators in this community have limited resources to verify the advanced information and to get the quick and better assistance, we requested for this.

    Appreciate for your patience and understanding.

    Hope you having a nice day.

    Sincerely,

    Harry | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments