cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MGBYannick
New Member

Create Enviroment trough API

Hello Guys

Does anybody know if there is a possible way to create new Environments through API such as Graph?

We are trying to automate our PowerPlattform Board, so that users could order there own environments.

 

thanks & kind regards

Yannick

3 REPLIES 3
Pstork1
Dual Super User III
Dual Super User III

I'm not aware of an API to create environments, but there is a PowerShell cmdlet that can be used to programmatically create environments.  I've used this kind of PowerShell in the past by creating a list in SharePoint to store requests, adding an approval process, and then have the PowerShell scheduled to run nightly to create any approved requests.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Expiscornovus
Super User
Super User

Hi @MGBYannick,

 

Sorry to bud into the conversation.

 

In addition to @Pstork1 his suggestion there is a Power Platform for Admins connector. That connector has a create environment action:

https://docs.microsoft.com/en-us/connectors/powerplatformforadmins/#create-environment

 

createenvironment.png

I thought there was a Create Environment action in the Power Platform Admins.  But I couldn't find it when I went looking for it.  So good catch.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
PVA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Center-of-Excellence-Starter-Kit-cropped 768x460.png

The Total Economic Impact™ of Power Virtual Agents

Read this 2021 commissioned study, conducted by Forrester Consulting.

Top Kudoed Authors
Users online (2,053)