Forum Discussion
SharePoint IOS app diverts document library to the OneDrive IOS app, which does not show the library
- Oct 20, 2017
Thanks to Sharegate's help, I've got to the bottom of this. When you use Copy Site Objects to migrate a library to a modern Team site on SharePoint Online, it will not copy the DispForm.aspx, EditForm.aspx and Upload.aspx. You can check using SharePoint Designer 2013. Without these, not only can you not edit the properties of an item, the OneDrive iOS app cannot see the library.
On the Sharegate migration tool troubleshoot, it suggested you to enable Custom Script on the SharePoint Online environment. There is an option on the SharePoint Online Admin settings. However, that is not enough. You have enable this using PowerShell from the SharePoint Online Management Console.
This is the instruction from Sharegate:
- Download and install Sharepoint Online Management Shell
- Open a Sharepoint Online Management Shell prompt
- Run the two following commands: Connect-SPOService -Url https://yourdomain-admin.sharepoint.com/ Set-SPOSite -Identity https://yourdomain.sharepoint.com/sites/YourSite/ -DenyAddAndCustomizePages 0
- Try to remigrate.
It worked perfectly! The forms are now in the migrated library. The OneDrive iOS app can now see the library and its content.
I've figured out the cause of the issue. The libraries that showed up on the SharePoint app were created fresh in SharePoint. All the missing libraries were created by the Copy Site Objects using ShareGate from one SharePoint Online site to another.
Benjamin Niaulinis this a known issue with ShareGate?