Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

Help with Azure Data Factory and CDS

(0) ShareShare
ReportReport
Posted on by

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.

  • ZimDE Profile Picture
    14 on at
    Re: Help with Azure Data Factory and CDS

    @JF2022  can you share your solution? I am getting the same error...

  • JF2022 Profile Picture
    10 on at
    Re: Help with Azure Data Factory and CDS

    I have resolved this question. Thank you for the forum and answers.

  • JF2022 Profile Picture
    10 on at
    Re: Help with Azure Data Factory and CDS

    When you say application user can I get some detail on what that means? I am getting the same error. If using Service Principal ID as the connection, what application user needs to be added to Dynamics platform?

  • Verified answer
    Community Power Platform Member Profile Picture
    on at
    Re: Help with Azure Data Factory and CDS

    Reached out to our AD admin and spent about a half our debugging this. Got it working after giving our app user the sys admin role in Dynamics. I'm guessing this was a user permission issue. I don't feel very good about leaving the user with that role, but I can at least get ADF working while I continue to tweak permissions.

  • trese8 Profile Picture
    Microsoft Employee on at
    Re: Help with Azure Data Factory and CDS

    I would suggest to open a support case with Microsoft team.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 109 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 82 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 71 Super User 2025 Season 1

Overall leaderboard