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 / Developer Plan Scripting
Power Apps
Answered

Developer Plan Scripting

(0) ShareShare
ReportReport
Posted on by 39

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.

Categories:
I have the same question (0)
  • Verified answer
    SebS Profile Picture
    4,711 Super User 2026 Season 1 on at

    Hello @klanguedoc 

     

    Look in to this:

     

    https://learn.microsoft.com/en-us/power-platform/admin/powerapps-powershell

     

    hope it helps

  • klanguedoc Profile Picture
    39 on at

    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?

  • Verified answer
    klanguedoc Profile Picture
    39 on at

    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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 84

#2
WarrenBelz Profile Picture

WarrenBelz 79 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 40 Super User 2026 Season 1

Last 30 days Overall leaderboard