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 / Changing the SharePoin...
Power Apps
Unanswered

Changing the SharePoint integration environment via Powershell

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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?

  • alaugMSFT Profile Picture
    Microsoft Employee on at

    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.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard