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

Create PowerAppConnection through PowerShell

Hello,

 

Is there any way to create a PowerAppConnection through PowerShell or any other scripting language? I need this because I want to automate the setup of an environment through a devops pipeline.

 

So far I found commands for Reading and Deleting a Connection, but nothing for Creates (e.g. `Get-PowerAppConnection` in the `Microsoft.PowerApps.Administration.PowerShell` module).

 

Regards,

Vladimir

5 REPLIES 5
Microsoft
Microsoft

Hello Vladimir, 

Thank you for yor post, 

I dont think there is an option for create 

 

PowerShell Cmdlets for PowerApps and Flow creators and administrators | Microsoft Power Apps

New Member

Thank you for your response, @jekakou . Are there any plans to add an option for Create?

Regular Visitor

Hoi,

There is actually an option to create a Power Platform environment through PowerShell.
This is part of the Microsoft.PowerApps.Administration.PowerShell module.
You can find some more information about this here.

If you rather use another scripting language than PowerShell as long as you can make HTTP request you can use the Online Management API.
The specific call you can make to create an environment is this one.

I hope this helps.

New Member

Thanks, @MrRegalius , but I'm actually looking for the Create of a Connection, not an Environment. So, the Create equivalent of the Get-AdminPowerAppConnection .

 

I found this thread which speaks about the same problem, and the suggestion they're being offered is to post an idea to implement the Create 😕.

Solved: Az Powershell Create Connection - Power Platform Community (microsoft.com)

Regular Visitor

Hi,

My apologies, I completely misread your question!
There currently is no feature to create a connection.

 

I don't think this is a feature you should expect soon.
As every possible connector can have a different way of connecting, by Service Principal, OAuth, Basic Auth, etc.
And the creator of the connector is the only one that has influence on this.
So I don't know how quick Microsoft would be with this request.

I didn't find an Idea, so I created on you can follow it here.
So you can upvote it, and add a comment with features I missed on.

Helpful resources

Announcements
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Users online (81,074)