Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2022 Release Wave 1 PlanDynamics 365 release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
2022 release wave 1 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
To call a dynamimcs CRM web API on a android device programmaticallySteps to reproduce:
2. Replace the MS Graph API to Dynamics CRM web API
Sample D365 CRM web API : https://organization.crm5.dynamics.com/api/data/v9.1/WhoAmI
Current Scenario/Issue/Result : 401 Unathorized
Reference to Microsoft Docs: 1. https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-v2-android
Can you try ADAL library for java named "ADAL4J"?https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/authenticate-oauth#use-adal-libraries-to-connect
Thanks for the input.
All versions are ADAL are deprecated, and MSAL is now in use.
No versions of MSAL have access to call any API other than Microsoft Graph API.
I want to integrate other Microsoft Web APIs using the access token of MSAL and integrate a Android mobile app (not a Web app)
Could try some integrating the above mentioned links.
I have tried to request via Postman. Posted http headers on the request below.
Can you try plane http request on java (like HttpUrlConnection) with below headers ? I suppose to Authorization header is the point.
# you can try postman with this docs: https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/webapi/use-postman-web-api
I have also followed the Postman way and it works for desktop client.
The headers are those as mentioned in the docs.
But the API does not work on a mobile client.
If the actual http request from Android app and the request from Postman are completely same, both requests should be succeeded.
1) Is any request to other service web api or internet access from the Android app succeeded?
2) If you use a token string that same with Postman request in "Authorization" header, is it succeeded? (use literal string instead of programmatically authorization)
3) Try to capture actual http request from Android app and compare with postman request. I suppose to you can capture with Fiddler https://www.telerik.com/blogs/how-to-capture-android-traffic-with-fiddler
Both the requests are not completely same but are similar
Ans 1. Yes, The API integration of MS Graph API is successful
Ans 2. Yes, The access token token generated from AuthenticationResult is added to API using Volley.
Ok, I will try to capture fiddler traces and compare.
Business Applications communities