Innovate with AI-driven insights
Create virtual agents, empower managers with actionable insights, and guide agents to the right outcomes.
Dynamics 365 2019 release wave 2 plan Discover the latest updates to Dynamics 365.Release Plan | Weekly Deployment Notes
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 and Operations TechTalks | Customer Engagement TechTalks | Talent TechTalks
Hello All members,I am working on one mobile application(both iOS and Android in native code). In this there is functionality of login with Dynamics 365 and get contacts from it. In this I have used OAUTH2.0 library to implement login functionality. Login is working fine. Next, I want to fetch contacts from Dynamics 365 using API. So I am following below documentation link:https://docs.microsoft.com/en-us/dynamics365/customer-engagement/web-api/contact?view=dynamics-ce-odata-9In mobile app, I am not getting any responce when I call this API. Also there is no error. When I try to call [organization URI]/api/data/v9.0/contacts from my computer browser then it gives me contacts after login. So can you please help me regarding do I need to pass any token/authorizationCode/header parameters etc while calling this API from mobile app? In documentation they didn't mentioned anything regarding which things I need to pass while calling contact API. Also I am not sure if I must have to use its mobile SDK to implement this feature rather then normal API call?Thanks in advance.
The key difference lies in authentication. When we use scripts and execute from within Dynamics CRM using webresources, the authentication is automatically passed and we do not have to supply the authentication token header there.
But when we are connecting from outside of CRM context, it is important to authenticate the access credentials before they can connect and perform actions in Dynamics CRM.
Please refer the below link. It will help you to understand how we need to authenticate the CRM using the access token.
You can also refer the following links, a bit add-on to Dharanidharan's answer.
--TerranceCRM Admin | Microsoft 365 E5
Business Applications communities