Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, Power Apps, Power Automate, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates and new features to Dynamics 365 planned through March 2020
Release overview guides and videos Release Plan | View virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
I am trying to write python scripts to get info from our CRM. I get lots of 401 responses when I try to pass my credentials.
How do I create tokens (with the client ID and secret) using Python and what would a Python script look like that creates a token and sends a GET request to get our CRM incidents?
In order to authenticate with Dynamics, you first need to register an application in Azure, to obtain your authentication token from.
This article explains how to achieve that:
After obtaining the Client Id from the Azure App, you can build a request that gets the authentication token from Azure and starts performing your requests.
The following article goes over how to do this via Python:
Business Applications communities