cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GN
Frequent Visitor

Changing the SharePoint integration environment via Powershell

Hi, I'm trying to change the SharePoint integration environment via

"Set-AdminPowerAppSharepointFormEnvironment"

and giving it the environment name received from

"Get-AdminPowerAppEnvironment"

 

but I only get back a status code of "BadRequest".

Is it because I'm trying to use a Trial environment for it?

1 REPLY 1
alaugMSFT
Power Apps
Power Apps

Yes, attempting to specify a Trial environment as the SharePointFormEnvironment will cause an error. Only production environments can be set as the SharePointFormEnvironment. This restriction exists to preempt SharePoint custom forms being lost to a trial environment expiring, in case it's never converted to a production environment.

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,581)