web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Connecting ADF to Data...
Power Apps
Unanswered

Connecting ADF to Dataverse using SPN throwing error

(0) ShareShare
ReportReport
Posted on by 30

Hi all,

 

I am facing a similiar challenge to what is mentioned here: Solved: Help with Azure Data Factory and CDS - Power Platform Community (microsoft.com)

 

The App user is setup correctly as far as I can see, and is used for Devops pipelines succesfully.

 

I've confirmed my app user has the roles mentioned here but still getting the error: Failed to connect to Dynamics: Unable to Login to Dynamics CRM: Invalid Login Information : The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Bearer authorization_

I have the same question (0)
  • pavanmanideep Profile Picture
    503 Power Up Champ - 2025 on at

    Hi @Jladan_ZA 

     

    I believe you were using OAuth based authentication to connect to your Dynamics Instance...I do faced  similar kind authentication issue for my build pipeline but not exactly the same error message..below image might give you an idea....

     

    Please note for OAuth authentication...you need to grant admin consent in Azure portal..preferably give admin consent for your App user in Dynamics and check....and post the feedback here...

    Pavan_Mani_Deep_0-1650009892441.png

     

    Thank you.

     

    Cheers,

    PMDY

  • JlAdan_ZA Profile Picture
    30 on at

    So the App user in D365 does have admin rights, is the Azure portal admin setting separate? If soo I will need to get our azure admins to check that setting for me

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 321 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 289 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 200 Super User 2026 Season 1

Last 30 days Overall leaderboard