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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Platform ADO Too...
Power Apps
Unanswered

Power Platform ADO Tools Connections with Service Principal or HTTP

(0) ShareShare
ReportReport
Posted on by 218

Will the Service Principal assigned to a Dataverse connection carry over when using the ADO pipelines, or will it need to be manually configured afterwards in the Target environment?

 

I believe that only connections that can be configured with the pre-population file will be mapped on the Target environment.

Categories:
  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @byrnep ,

    The Dataverse connection need to be created first in target environment. The Deployment setting file in ADO CI/CD pipeline will have the information of connection reference which will mapped properly when the deployment is completed.

     

    However, before running ADO CI/CD pipeline you need to shared/assign Dataverse connection to Service Principal (Application user) manually and then run the ADO CI/CD pipeline to do the deployment.

     

    If you do not share/assign Dataverse connection to Service Principal (Application user), then ADO CI/CD pipeline will fail.

     

    I hope I understand your issue and answered it accordingly. If not then please elaborate little more on this.

     

    ------------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.

    Thanks,

    ANB

     

     

     

  • byrnep Profile Picture
    218 on at

    Thank you. I was referring specifically to the connector (e.g. Dataverse) in the flow being configured to use an SP, and when moved via pipeline from dev to test, would the connector SP information still be configured in test after the pipeline imports to test? Or would I have to go into Test and reconfigure the SP for the Dataverse connection after the pipeline import?

  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @byrnep , Please correct me If I am wrong. Are you referring to Dataverse action in Flow which can be configure using Service Principle as below?

    ANB_1-1695224883296.png

    If yes, then you must be knowing that to configure, you require Client ID and Client Secret.

    ANB_2-1695224963796.png

    As per my knowledge the Client Secret cannot be exported through CI/CD pipeline because for oblivious reason and I have tried this for one of our custom connector and as an alternative I have to use environment variable of secret type and then move to target environment. 

     

    But I am sure that you cannot use environment variable while configuring the Dataverse action in flow through SP. And eventually once you deploy your components to target environment, your flow will fail and you have to re-configure the Dataverse action in flow through SP, if you have deployed your components to test environment as unmanaged solution. If you have deployed your components to test environment as managed solution, then it is going to be nightmare! 

     

    So, to answer your question, you have to reconfigure all flows in test environment with SP if you have deployed your components to test environment as unmanaged solution.

     

    Please check this https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Using-Service-Principal-in-Power-Automate-Flow/ba-p/452086

     

    I would suggest you to create a ticket with MS to get more clarity on this. Also try posting your query on Power Automate forum: https://powerusers.microsoft.com/t5/Microsoft-Power-Automate/ct-p/MPACommunity

    ------------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.

    Thanks,

    ANB

     

     

  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @byrnep , I was wondering if my response answer your query.

     

    Thanks,

    ANB

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard