Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

fetching data of dynamics CRM

Posted on by Microsoft Employee

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

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee 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
    Community Member Microsoft Employee on at
    RE: fetching data of dynamics CRM

    yeah, i know it

  • Community Member Profile Picture
    Community Member Microsoft Employee 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
    Community Member Microsoft Employee 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
    Community Member Microsoft Employee on at
    RE: fetching data of dynamics CRM

    Can you please put your authentication part of the code?

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

    on premise

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

    its onpremise.....

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

    Hi,

    CRM on-premise or online ?

    Mansoor

  • Suggested answer
    Shahbaaz Ansari Profile Picture
    Shahbaaz Ansari 6,203 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
    Rawish Kumar 13,756 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans