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.
Could you elaborate from where you create the Team Site? If you created from Teams, be careful since it's not recommended to rename any SPO related stuff to prevent any problems when accessing files from teams...in regards of the problems you are having in the SPO Apps, to me it seems this is a bug...adding Mark-Kashman
Thanks for the reply. I did create the Team Site from Teams. Renaming the default document library in the librarly properties has no effect to accessing Files from Teams because the URL of the document library remains the same (Documents). What I would not do is to rename any folders that are linked to a channel. I renamed the library to Team Channel Files because it makes more sense and I don't want the users to use it by mistake. One of the Team owner were so keen in reorganising the Documents library, he moved the General (channel) folder to another folder and therefore broke the link to Teams. There was no way to fix that that I know of, so I had to create a new Teams site for him and migrate everything again.