Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Changing the SharePoint integration environment via Powershell

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


and giving it the environment name received from



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

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

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

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)