none
Powershell script to access the Security trim for SharePoint Online RRS feed

  • Question

  • Hello,

    I have been trying to access the securitytrim  (_layouts/15/SiteNavigationSettings.aspx)context under the sitenavigationsettings page in sharepoint online.

    I can do them easily for the onprem using the below code.

    $Context = New-Object Microsoft.SharePoint.Publishing.Navigation.SiteNavigationSettingsWriter($SPWeb.Site)

    The keyword SiteNavigationSettingsWriter seems not supporting for online. Am i missing out anything?

    Thanks in advance!!!


    Tuesday, March 19, 2019 4:02 AM

Answers

All replies