web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Getting tenant URL after getting access token for multi tenant application

(0) ShareShare
ReportReport
Posted on by 5

Hello,

Please I am very new to dynamics 365 and I am working on a multi tenant application.
I am trying to make an API call to the authorized user tenant instance but I am unable to get the tenant URL from the access token returned after calling the common token endpoint. 

login.microsoftonline.com/.../token

Is there a suggested way to get the tenant URL?

I have the same question (0)
  • Suggested answer
    eykalman Profile Picture
    1,106 Most Valuable Professional on at

    Hi

    Check out https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/discover-url-organization-web-api, where you'll see how to get the various URL/URI information. It needs to be for the specific environment that you're trying to connect into.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 137 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans