Hey all,
I'm trying to setup a data connector in Azure Data Factory to our Common Data Service. I'm getting pretty seriously hung up on authentication unfortunately. I've been following the instructions outlined in this doc for the ADF setup and this doc for auth, but I'm getting the following error message when testing the CDS service connection in ADF:
Unable to Login to Dynamics CRM: Invalid Login Information : The HTTP request was forbidden with client authentication scheme 'Anonymous'. The HTTP request was forbidden with client authentication scheme 'Anonymous'. => The remote server returned an error: (403) Forbidden.Unable to Login to Dynamics CRM Unable to Login to Dynamics CRM The creator of this fault did not specify a Reason.
I've setup the app registration in Azure AD, setup the application user in Dynamics associated to that app, and I'm definitely using the correct service principal ID and key from the app registration. Still I'm just getting the 403 complaining about anonymous auth.
I'm using the 'Common Data Service for Apps' linked service template, but I notice there are also templates for Dynamics 365, Dynamics AX, Dynamics CRM, and a generic ODATA connector. Maybe should I be using one of those instead?
Any advice is appreciated, thanks in advance.