Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Governance and Administ...
Unanswered

Automate converting environment from Sandbox to Production

(0) ShareShare
ReportReport
Posted on by 3

Summary: Is there any PowerShell cmdlet or some other connector that handle converting an environment type, e.g. from sandbox to production? I know how to do it manually, but I would like to include this step in an automated pipeline instead.

 

Details:

I want to automate copying a test environment to a production environment. The copying step can be handled by the Copy-PowerAppEnvironment cmdlet in the Microsoft.PowerApps.Administration.PowerShell module. However, copying over an environment requires that environment to have a type of "Sandbox", and then it must be converted back to "Production" after that copy is complete.

 

I cannot find any PowerShell cmdlets or flow connectors that change the type of the environment, so I am wondering if there is another way to build this task into automation, e.g. an Azure DevOps pipeline.

Categories:
  • ChrisPiasecki Profile Picture
    6,389 Most Valuable Professional on at
    Re: Automate converting environment from Sandbox to Production

    @HamidBee, there is no Update-PowerAppEnvironment command in the module. Also, it's pretty obvious that you are just copy pasting questions and responses from ChatGPT in the forums. Many of the answers are incorrect, so I suggest for you to not do it if you can't even self-verify the accuracy of the information.

     

  • HamidBee Profile Picture
    930 Super User 2024 Season 1 on at
    Re: Automate converting environment from Sandbox to Production

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1

Featured topics