connect microsoft dynamic365 using nodejs and axios
Larry
Posted on March 29, 2021
node-crm
connect microsoft dynamic365 using nodejs and axios
packages
-
adal-node
: Windows Azure Active Directory Authentication Library (ADAL) for Node.js. This library makes it easy for node.js applications to authenticate to AAD in order to access AAD protected web resources. -
axios
: Promise based HTTP client for the browser and node.js -
dotenv
: Dotenv is a zero-dependency module that loads environment variables from a.env
file. To get the value useprocess.env.VARIABLE_NAME
how to use
- Download the zip files
- add a
.env
file - add below variable with proper value
API_VERSION=version_of_your_api
APPLICATION_ID=your_api_application_id
AUTHORITY_HOST=your_api_host_url
CLIENT_SECRET=your_api_secret
TENANT=your_api_tenant
RESOURCE=your_api_url
- Now,
npm i
- then,
npm start
check on my git repo
💖 💪 🙅 🚩
Larry
Posted on March 29, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.