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
Dual Super User

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



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


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
Power Virtual Agents News & Announcements

Power Virtual Agents News & Announcements

Keep up to date with current events and community announcements in the Power Virtual Agents community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Virtual Agents Community Blog

Power Virtual Agents Community Blog

Check out the latest Community Blog from the community!

Top Kudoed Authors
Users online (3,297)