In 2014 I wrote a post on how to force the renewal of the content types in an on-premises environment and got a request on that post if it was possible to do the same in Office 365.

After a short research and some changes to the original script, see below for the result.
It uses the Office Dev PnP PowerShell CmdLets.

See below for the version for SharePoint Online

2 Responses

  • Hello, thanks for the script. When I try to execute it, i get an error message :
    RemoveAllTimeStamps : Unable to process the argument transformation on the “web” parameter. Unable to convert the value “Microsoft.SharePoint.Client.Web” of type “Microsoft.SharePoint.Client.Web” to type “Microsoft.SharePoint.Client.Web”.
    Thank you for your help

    • Hello,

      I just tested the script and found one error and, updated the script. I tested it with the latest version of PnP PowerShell.
      Hope this helps, otherwise, check if you can execute “Get-PnPWeb -Includes AllProperties” and see if you can open the property AllProperties on the web object



Leave a Reply to bambaseye Cancel reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.