Not able to remove site policy in sites that was rolled out from content type hub - SharePoint onlin

Copper Contributor

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.

0 Replies