web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerApps Custom Form ...
Power Apps
Unanswered

PowerApps Custom Form Not Working After Site Replication in SharePoint Online

(0) ShareShare
ReportReport
Posted on by 9
I am working with a SharePoint Online site named PMTemplate, which contains various lists, libraries, and custom pages. One of these lists, the Project List, has a custom form created with PowerApps. I used PnP PowerShell to replicate this site to a new one, and while most of the lists, libraries, and views were successfully copied, I encountered issues with the PowerApps custom form.
 
Problem:
 
  1. After replicating the site to the new SharePoint site, the PowerApps custom form for the Project List does not open when adding a new item.
  2. In List Settings → Form Settings, the option "Use a custom form created in PowerApps" is disabled, while only the default SharePoint form option is enabled.
  3. When I click on "Customize in PowerApps", I can open and modify the form in PowerApps. However, after updating the data source to the new site’s Project List, clicking "Back to SharePoint" takes me to the old site, not the new one.
Now, How can I enable the "Use a custom form created in PowerApps" option in the new site? and How can I fix the redirection issue when clicking Back to SharePoint?

Any Help Would Be Appreciated!
 
I have the same question (0)
  • MS.Ragavendar Profile Picture
    4,977 Super User 2025 Season 2 on at
    Hi,
     
    I hope this is most common issue which we faced if we clone / copy the site in sharepoint.
     
    • Open PowerApps → Customize the form click on Save and publish and Now check the customize form will be available.
    • Set-PnPList -Identity "SharePoint List Name" -DefaultDisplayFormUrl "/sites/Site Name/List Name/Forms/PowerApps.aspx"
    • Redirection Issue (Update the SharePoint Integration Property)  Launch URL with respective to the new application
    Hope this helps!
  • PattiFszg52 Profile Picture
    9 on at
     
    Thank you for your response i have tried first two options. 
    • I opened the Power Apps customization form and then i save and published the form. After i refreshed my new SharePoint site, when i click on + Add new item it is still opening SharePoint default form not the Power Apps custom form.
    • Then, i run the PnP Power Shell command by connecting to my SharePoint site. Then i got the below error.
    • The third option: Update the SharePoint Integration Property - can you please explain where i need to update this property.
  • MS.Ragavendar Profile Picture
    4,977 Super User 2025 Season 2 on at
     Hi PattiFszg52,
    • Connect-PnPOnline -Url "https://your-new-site.sharepoint.com/sites/NewSite" -UseWebLogin
    • Get-PnPContentType -List "Your List Name"
    • Set-PnPContentType -List "Your List Name" -Identity "0x0100..." -DisplayFormUrl https://apps.powerapps.com/play/environment-id/app-id
    If DisplayFormUrl Doesn’t work
    • Set-PnPList -Identity "Your List Name" -FormCustomFormUrl "https://apps.powerapps.com/play/environment-id/app-id"
    Replace "https://apps.powerapps.com/play/environment-id/app-id" with your PowerApps form link.
  • PattiFszg52 Profile Picture
    9 on at
     
    Thank you for the response and your patience.
     
    I have tried the PnP PowerShell commands you have provided, still im facing the issues that these parameters are not found.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard