Accessing an on-premises Dynamics 365 organization from Python

I’ve previously showed how to access online and IFD instances of Dynamics 365 Customer Engagement from Python code. Because that sample code authenticated to the Web API using OAuth, it won’t work with on-premises instances. Recently I’ve been doing some work with Python and an on-premises Dynamics 365 organization, so I thought I’d share a sample that shows how to authenticate to the Web API using NTLM. »

Dynamics 365 and Python integration using the Web API - part 2

Last week I wrote a post that showed how to update Dynamics 365 data from a Node.js application using the Web API. Today I will share equivalent Python code. This code builds on my Dynamics 365 and Python integration using the Web API post from last year, so if you haven’t read that yet, please take a look before you proceed. »

Dynamics 365 and Node.js integration using the Web API - part 2

Last year I wrote a post that showed how to retrieve data from a Dynamics 365 Online organization in a Node.js application using the Web API. Today I will share sample code that shows how to update data from a Node.js application using the Web API. ####Updating a single property To update a single property on a record in Dynamics 365, you can make a PUT request to the Web API. »

Dynamics 365 and Python integration using the Web API

A few days back I wrote a post that showed an easy way to set up Dynamics 365 and Node.js integration using the Web API. Here is Python code that demonstrates equivalent functionality to query contacts and display their information: import requests import json #set these values to retrieve the oauth token crmorg = 'https://CRMORG. »

Dynamics 365 and Node.js integration using the Web API

I wrote a blog post in early 2015 that showed how to access the Dynamics CRM organization data service from a Node.js application. Today I will show an easy way to retrieve data from a Dynamics 365 Online organization in a Node.js application using the Web API. Unlike the CRM organization service, the Dynamics 365 Web API does not allow you to authenticate directly with a user name and password. »