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 Automate / Deploy flow using powe...
Power Automate
Unanswered

Deploy flow using powershell

(1) ShareShare
ReportReport
Posted on by 2

Hi Everyone,

 

 

 

I am trying to use the flow API to import a flow via powershell. I have looked at the flow powershell cmdlets and there is no import one. 

 

I have a couple of issues. I cannot get an Auth token to use with the API. Trying to use a user principle.

 

 

 

Once that problem is solved will i be able to use the JSON i get from the "Convert to logic app" option and send that JSON to the create API?

 

 

 

I have looked and just cannot find any sort of example on google of people using powershell for this.

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    Hi @buzzby ,

     

    Current Flow PowerShell Cdmlets supports reading, updating and deleting a flow, etc. but I am afraid that it doesn’t support importing a flow.

     

    You may check the blog on Microsoft Flow PowerShell Cmdlets at here:

    https://flow.microsoft.com/ja-jp/blog/powershell-flow-bot-marketo/

     

    Further, if you need this feature to be added, please feel free submit a request on Flow Ideas Forum:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

    Best regards,

    Mabel

     

  • ScoutmanPt Profile Picture
    8 on at

    Hi , i've done some tweaks with powershell regarding this i will publish somewhere in the pnp github repo.

     

    Best regards

     

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 Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 331 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 203 Most Valuable Professional

Last 30 days Overall leaderboard