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 / Power Platform Export ...
Power Apps
Answered

Power Platform Export Solution failing with anonymous access

(0) ShareShare
ReportReport
Posted on by 19

Hello, trying to connect via Azure Devops to migrate an application from one environment to another.

 

On authentication type, I have "Service Principal/Client Secret (supports MFS)" 

The from the Service connection list, I select the first environment connection (previously created with the Server URL, Tenant ID, Application ID, Client secret of Application ID).

 

This tasks runs after Power Platform Tool Installer  (completes successful). But the export task fails with

 

##[error]Failed to connect to instance: <MY URL HERE>. Please verify your credentials for *** and instance url.
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

 

Am I missing some configuration? Why is it using anonymous ??

Thanks!

I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    If you're using a Service principal, make sure that you have given the App Registration the correct permissions within Azure Active Directory (portal.azure.com). Additionally, make sure the server url is the Power platforms url (org.crm.dynamics.com), and theTenant ID refers to the Azure tenant ID -  not the power platform environment instance.

     

    We were able to successfully set this up last week after some troubleshooting

  • diegochb Profile Picture
    19 on at

    Thanks @Anonymous ! 

    Yes, its the ....dynamics.com url, and the tenant id was created with the powershell script provided by MS.

    I will check the permissions on the azure portal, thanks a lot!

  • Community Power Platform Member Profile Picture
    on at

    @diegochb The application user associated with the application ID also needs a D365 security role that would allow it to export.

  • Verified answer
    diegochb Profile Picture
    19 on at

    Thanks! Yes, apparently I was missing creating a user application with the same application ID previously created.

    Then assigning the system admin role, all withing the <env>.crm.dynamics.com url under security settings.

     

    THanks!

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard