SharePoint online/2013 - Not able to remove site policy in sites that was rolled out from content type hub RRS feed

  • Question

  • Mistakenly a site policy was added in content type hub in SharePoint online site and it was published, immediately the policy was deleted from hub without unpublishing it. After few days, noticed that the policy was rolled out to all site collections. It was greyed out in site policies in sites.  The problem is now I am unable to remove the policy using power shell script or by other means. For newly created sites also the policy is getting created even though it is deleted in content type hub. Is there a way to stop it and remove the published policy from all site collection. There are more than 10000 sites so manually it will be difficult to remove it. Please help.

    Thank You

    Friday, July 19, 2019 7:03 PM

All replies

  • Hi Poobana,

    You need to delete the policy from the content type hub site, otherwise, the policy may be synced again via back-end timer jobs. So, go to the policy in the content type hub site, then delete it.

    If you don't find the policy in content type hub site, I suggest you create a new service request in Office 365 Admin Center, more professional will assist you with this issue.



    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Monday, July 22, 2019 9:57 AM
  • Hi Poobana,

    If the policy or content type is already published, we will have to un-publish it first, before deleting. If we delete it before un-publishing it, they will be as orphans available to all the site collections. In your case, as the policy is already deleted, please try creating the policy with the same name and publish it. And then un-publish it and try deleting it. If issue still persists, please raise a new service request with Office365 Admin center.

    Thank You

    • Proposed as answer by JoAnn05 Tuesday, July 23, 2019 3:05 PM
    Monday, July 22, 2019 3:54 PM