Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
FastTrack for Dynamics 365 forum
Unanswered

Deploy Power Automate using Azure DevOps

(1) ShareShare
ReportReport
Posted on by 11

I'm referring to this article:    

We use exactly this approach for deploying Power Automate Flows.

There is only one missing piece we additionally use: We use a PowerShell script after importing the solution to enable all cloud flows in the solution. Otherwise they stay disabled.

Is this step missing in the mentioned article or is there a way to avoid the PowerShell script?

  • Lars_Martin Profile Picture
    11 on at
    Deploy Power Automate using Azure DevOps
    We use a Service principal for deploying the solution to the other environments.
    The Cloud Flows use connection references and during solution import we use a deployment settings file for mapping the connection references in the solution to the connections in the target environment.
    However, after importing the solution we have a Powershell script in place which activates all Cloud Flows contained in the solution using an impersonation user as a Service principal is not able to activate Cloud Flows. This impersonation user is the one who owns the connections in the target environment we mapped to the connection references. Otherwise activating would fail.
  • tmms Profile Picture
    2 on at
    Deploy Power Automate using Azure DevOps
    What user are you deploying the solutions under? Do you use connection references? A common scenario where flows are deployed in disabled state is relate to connection/user problems.
    This article explains how to avoid this:
     
     
    HTH

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,336 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,025 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans