Power Automate - Data Connection Automation

%3CLINGO-SUB%20id%3D%22lingo-sub-1583726%22%20slang%3D%22en-US%22%3EPower%20Automate%20-%20Data%20Connection%20Automation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1583726%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Team%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20are%20working%20to%20automate%20the%20flow%20deployment%20process.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIs%20there%20any%20way(%20power%20shell%2C%20api)%20available%20to%20automate%20%E2%80%9CData%20Connections%E2%80%9D%20creation.%20Currently%2C%20we%20need%20to%20create%20connection%20manually%20for%20each%20environment(QUAL%2CPROD)%20while%20importing%20the%20flow.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20in%20advance.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1583726%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPower%20Automate%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1778562%22%20slang%3D%22en-US%22%3ERe%3A%20Power%20Automate%20-%20Data%20Connection%20Automation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1778562%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F751207%22%20target%3D%22_blank%22%3E%40abhsha8891%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20think%20there%20is%20no%20direct%20option%20other%20than%20importing%20and%20changing%20it.%20If%20any%20automation%20is%20required%20there%20is%20possibility%20of%20using%20PowerShell%20admin%20commands.%20You%20have%20to%20play%20around%20with%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpower-platform%2Fadmin%2Fpowerapps-powershell%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpower-platform%2Fadmin%2Fpowerapps-powershell%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

Hi Team,

 

We are working to automate the flow deployment process.

 

Is there any way( power shell, api) available to automate “Data Connections” creation. Currently, we need to create connection manually for each environment(QUAL,PROD) while importing the flow.

 

Thanks in advance.

1 Reply

@abhsha8891 ,

 

I think there is no direct option other than importing and changing it. If any automation is required there is possibility of using PowerShell admin commands. You have to play around with this.

 

https://docs.microsoft.com/en-us/power-platform/admin/powerapps-powershell