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.