Is it possible to create and manage Developer Environments using PowerShell or C#. Ideally, I would like to update and create these environments using automation rather then leave up to each developer. Also, would need to be able to clone, pull and push code and solutions to these environments.
Hello,
pac admin create `
--name "display name" `
--type Developer `
--domain some_domain`
--region canada
This will create a developer environment
You can then assign it to another user using the following. The down side is you can only create 3 developer environments, even if you assign the environment to another user. As a DevOps Engineer and admin, I need to have the possibility of creating multiple (n) of developer environments for specific users
pac admin assign-user `
--environment 00000000-00000-00000-0000-00000000000`
--user "developer@some_domain.aaa" `
--role "supported role"
I anyone knows who has a workaround using either pac cli, or powershell or C#, please let me know
After further investigation of the API, PowerShell and PP CLI, I realize that these existing APIs or tools dont support Developer env.. However, if the Developer Plan environments are being created through a web page, it is logical that a script exists to do it. Does anybody have an example using either a scripting tool language or C#, or other to create Developer Plan environment programmatically?
Hello @klanguedoc
Look in to this:
https://learn.microsoft.com/en-us/power-platform/admin/powerapps-powershell
hope it helps