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

How to discover Dynamics 365 online instances using Azure Application?

(0) ShareShare
ReportReport
Posted on by 25

I'm using Postman.

Try with User and App:

  1. Acquire token with User+App
  2. Get - globaldisco.crm.dynamics.com/.../Instances
  3. 200 - Reveive 3 instances information.

Try with App only:

  1. Acquire token with App only
  2. Get - globaldisco.crm.dynamics.com/.../Instances
  3. 401 - Unauthorized.

Is it possible to get instances information only using App?

Different url? 

Thanks in advance,

I have the same question (0)
  • Suggested answer
    Red Hodgerson Profile Picture
    on at

    Hi Walder,

    Using the Global Discovery endpoint currently needs AAD user context to authenticate correctly.

    You can see pattern as used in the sample code at docs.microsoft.com/.../global-discovery-service-csharp .

  • Waldner Profile Picture
    25 on at

    Hi Red,

    Thanks for the information.

    Wonder how I can do discovery programmatically if MFA is enabled?

    Thanks,

  • Red Hodgerson Profile Picture
    on at

    Hi Waldner,

    You can not at this time, and I'm well aware of that gap.  It exists if you try and get the instance list using the DES API or the Online Management API as well.  I'd recommend posting about it on both the Dynamics and PowerApps Ideas at experience.dynamics.com/.../ and powerusers.microsoft.com/.../PowerAppsIdeas respectively.  Let me know if you do so, both to upvote myself, and to get others to upvote, so we can try to raise visibility of it. (This gap really bugs me. :D )

  • Waldner Profile Picture
    25 on at

    Ok, thanks.

    experience.dynamics.com/.../

    powerusers.microsoft.com/.../533669

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 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans