Fix issue with iPads not landing on SharePoint homepage

At a customer, we saw an issue with iPads browsing to a site were not arriving at the homepage of the site. they were landing on the site contents page. To fix this issue, you need to disable 2 site features:

  • mobile browsing
  • ┬áminimal download strategy

You can do this manually, for all sites necessary. If you have a lot of sites, that could take quite some time!

For your comfort, I created a short PowerShell script (that uses the PnpPowerShell Disable-PnpFeature) to loop through all sites and disables the features. After this, iPads will now go to the homepage of your SharePoint site.

Don’t forget to change the AdminURL to your tenant admin page and to change the Credential!


$AdminURL = "https://yourtenant-admin.sharepoint.com"
Connect-SPOService -url $AdminURL -Credential jake@contoso.com

$Sites = Get-SPOSite -Limit ALL

Foreach ($Site in $Sites)
{
$SiteUrl = $Site.Url
Connect-PnPOnline -Url $SiteUrl -Credentials jake@contoso.com
write-host "disabling features for $SiteUrl"
Disable-pnpfeature -Identity d95c97f3-e528-4da2-ae9f-32b3535fbb59 -Force
Disable-pnpfeature -Identity 87294c72-f260-42f3-a41b-981a2ffce37a -Force
}

About: Marijn

Marijn Somers (MVP) has over 14 years experience in the SharePoint world, starting out with SP2007. Over the years the focus has grown to Office 365, with a focus on collaboration and document management. He is a business consultant at Balestra and Principal Content Provider for "Mijn 365 Coach" that offers dutch employee video training. His main work tracks are around user adoption, training and coaching and governance. He is also not afraid to dig deeper in the technicalities with PowerShell, adaptive cards or custom formatting in lists and libraries. You can listen to him on the biweekly "Office 365 Distilled" podcast.

%d bloggers like this: