Showing results for 
Search instead for 
Did you mean: 
New Member

Deploy flow using powershell

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.

Community Support
Community Support

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:


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


Best regards,



Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
New Member

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


Best regards


Helpful resources

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (1,378)