cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
buzzby
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.

2 REPLIES 2
v-yamao-msft
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:

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

 

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.
ScoutmanPt
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

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (5,363)