It seems that I am not alone struggling to find any good Microsoft resource/guide/article on how to consume CRM WebAPI from Java. We are using an on-premise CRM deployment and I am trying to understand if I am on the right track on this or if I am missing something.
To start with, I am following the approach discussed in this MSDN article and this helpful post by Jason on how to connect to CRM Web Services using OAuth from any Java client. I have two questions with this approach:
1. It seems that this approach is targeted for CRM Online version since it requires the CRM application to be registered with Azure AD as a pre-requisite (which wont be the case with an on-premise solution). Any ideas on how to achieve this for an on-premise CRM?
2. Also, this approach requires us to pass an Authority URL for the connection to be made but I am not sure where to get this URL from? I tried creating the Authority URL based on the format mentioned in this MSDN article but it doesn't seem to work. The Authority URL should look something like this: https://<serverFQDNaddress>/adfs/ls). Is there any configuration/setting change required for this?
Any help or direction would be appreciated.
*This post is locked for comments