web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Create PowerAppConnect...
Power Apps
Unanswered

Create PowerAppConnection through PowerShell

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

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

I have the same question (0)
  • Jean Joel Kakou Profile Picture
    Microsoft Employee on at

    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

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

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

  • Kevin Tempels Profile Picture
    34 on at

    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.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    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)

  • Kevin Tempels Profile Picture
    34 on at

    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.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 432

#2
Valantis Profile Picture

Valantis 362

#3
timl Profile Picture

timl 337 Super User 2026 Season 1

Last 30 days Overall leaderboard