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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

fetching data of dynamics CRM

(0) ShareShare
ReportReport
Posted on by

I am trying to use the CRM Dynamics Organization URL to fetch data of my dynamics 365 account through API. But I am getting this error.....

AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access '00000007-0000-0000-c000-000000000000'.

Is it anything to do with the Administrator permission of the account? How can I overcome this?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at
    RE: fetching data of dynamics CRM

    Hi,

    Please refer below.

    alexanderdevelopment.net/.../dynamics-365-and-python-integration-using-the-web-api

    Mansoor

  • Community Member Profile Picture
    on at
    RE: fetching data of dynamics CRM

    yeah, i know it

  • Community Member Profile Picture
    on at
    RE: fetching data of dynamics CRM

    Have you configured the application in Azure Active Directory and know its client id?

    Mansoor

  • Community Member Profile Picture
    on at
    RE: fetching data of dynamics CRM

    sure,

    tokenpost = {

       'client_id':clientid,

       'resource':crmorg,

       'username':username,

       'password':userpassword,

       'grant_type':'password'

    }

    #make the token request

    tokenres = requests.post(tokenendpoint, data=tokenpost)

    data = tokenres.json()

  • Community Member Profile Picture
    on at
    RE: fetching data of dynamics CRM

    Can you please put your authentication part of the code?

  • Community Member Profile Picture
    on at
    RE: fetching data of dynamics CRM

    on premise

  • Community Member Profile Picture
    on at
    RE: fetching data of dynamics CRM

    its onpremise.....

  • Community Member Profile Picture
    on at
    RE: fetching data of dynamics CRM

    Hi,

    CRM on-premise or online ?

    Mansoor

  • Suggested answer
    Shahbaaz Ansari Profile Picture
    6,211 on at
    RE: fetching data of dynamics CRM

    Hi Surya,

    Please check below link,

    social.msdn.microsoft.com/.../error-aadsts50076-due-to-a-configuration-change-made-by-your-administrator-or-because-you-moved-to

    Best Regards,

    Shahbaaz

  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at
    RE: fetching data of dynamics CRM

    Hi Surya,

    Yes it is to do with the authentication.

    please check with the admin account - and you may want to check permissions on the entity that you are retrieving the data for.

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans