
Hi All,
My company is developing a customer mobile application, the app needs to fetch account, contact and order information from D365.
Mobile app is developed by another team and I need to provide web services for fetching these data, to the mobile app development team.
can somebody advise reading how to proceed on this?, what is the best and secure method? I have seen some articles on registering an app in azure using native web API in POST MAN. is that a good approach? if yes how can I proceed? since our mobile team doesn't know dynamics, I can give them web API samples, but they need to request tokens every one hour(The one I tested is expiring on one hour) so is that a cure approach? Please advice.
Mathew
Hello Matt,
The best approach over here is use OAuth authentication using an Azure App as you mentioned. But, postman is just an example of an app that could connect to CRM using this approach.
Please check this link: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/authenticate-oauth it contains an example about how to execute a webapi request from C# using this approach.
Regards