
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?
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.