Jack Bakker 3 Years Ago - Edited Thanks Filipe ! This is helping me start up a project which involves integrating Dynamics CRM from Liferay DXP v7.3. Please sign in to reply. Reply as... Cancel
Jack Bakker 3 Years Ago - Edited The code in this POC provides a configuration form field where an access token can be entered - which is for testing only as such tokens expire (as pointed out in this blog). To programmatically get the access token from https://login.microsoftonline.com/tenantId/oauth2/token I extended two classes in the ScribeJava OAuth library. class MSDynamicsApi extends BaseMicrosoftAzureActiveDirectoryApiclass MSDynamicsOAuth20Service extends OAuth20ServiceThe extending was necessary to use a 'resource' parameter MS Dynamics CRM expects instead of 'scope'. This blog saved me much time. Thanks Filipe ! Please sign in to reply. Reply as... Cancel Filipe Frazao Afonso Jack Bakker 3 Years Ago Hey Jack, I'm happy to hear that it was useful to you, thank you so much for the feedback :) All the best, Filipe Please sign in to reply. Reply as... Cancel
Filipe Frazao Afonso Jack Bakker 3 Years Ago Hey Jack, I'm happy to hear that it was useful to you, thank you so much for the feedback :) All the best, Filipe Please sign in to reply. Reply as... Cancel