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, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
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
Postman is a popular tool that allows authentication to Dynamics 365 CE instance and then compose and send Web API requests and view responses. Since Dynamics 365 would use Azure Active Directory for identity management so requests from Postman would have to be permitted by AAD. As Azure Active Directory (Azure AD) uses OAuth 2.0 to enable you to authorize access to web applications and web APIs in your Azure AD tenant - so Postman uses OAuth 2.0 to request the data from Dynamics 365.
Before setting up Postman environment you would have to grant permission for D365 in the associated Azure Active Directory so that an application can access Dynamics 365 WebAPI’s.
Follow Steps to register an app in Azure Active Directory. These Steps are generic for registering any application/tool that would connect to Dynamics.
Best way to make sure app registration happens in correct AAD associated with Dynamics 365 is - navigate to AAD through Admin Portal .
You would need to be a Global Administrator to complete the registration. If you are testing this in your own trial Dynamics 365 CE instance you most probably are already Global Admin on your instance and should be able to access the associated AAD.
If you are logged in as an administrator and do not see admin centers – you can Customize navigation and ensure you are seeing all admin centers.
If you have already registered the app then you would now edit the app registered so from Azure Portal you would
1) Set Redirect URI .
2) Validate and optionally modify manifest.
Set Redirect URI
Add Type Web - Redirect URI - https://app.getpostman.com/oauth2/callback
In Implicit Grant option towards the bottom make sure to check Access Tokens as that’s how Postman is going to request token.
Set "oauth2AllowUrlPathMatching": true,
This is not mandatory but if you keep running into exception AADSTS50011 - by setting oauth2AllowUrlPathMatching to true you are requesting AAD to relax exact pattern matching for url.
Below attributes should have been true from the checkbox while setting Redirect URI.
Set "oauth2AllowIdTokenImplicitFlow": true,
Set "oauth2AllowImplicitFlow": true,
Postman allows for different Grant Types
As we would be using Implicit flow so oauth2AllowImplicitFlow is to be set to true.
You can go through Description for oauth2AllowImplicitFlow.
After successfully configuring Postman registration in Azure Active Directory we would setup an environment in Postman.
Brief description for variables you have set in Postman environment.
In authurl we are requesting Microsoft Identity Platform (https://login.microsoftonline.com/) to authorize the request using oauth2 protocol for the resource (Dynamics 365 instance) .
Note: Ongoing issue with posting the blog with images which is being worked by site administrators.
Business Applications communities