Fix issue with iPads not landing on SharePoint homepage

June 21st, 2018 | Posted by Marijn in PnP Powershell | PowerShell

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 = ""
Connect-SPOService -url $AdminURL -Credential

$Sites = Get-SPOSite -Limit ALL

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

You can follow any responses to this entry through the RSS 2.0 You can leave a response, or trackback.

Leave a Reply

%d bloggers like this: