SharePoint Subscription Edition: error when clicking a DocID field (bug introduced in the August 2026 CU)
· Ingo Karstein
You may see this error in the ULS log, or a similar one in the web UI:
Microsoft.Office.DocumentManagement.InvalidDocumentIdProviderException: Invalid document ID provider: Microsoft.Office.DocumentManagement, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, Microsoft.Office.DocumentManagement.Internal.OobProvider
at Microsoft.Office.DocumentManagement.DocumentId.GetProvider(Hashtable rootWebProperties)
at Microsoft.Office.DocumentManagement.Pages.DocIdSettings.UpdateControlStates()
at Microsoft.Office.DocumentManagement.Pages.DocIdSettings.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
…or with Version=14.0.0.0.
You most likely see this on a migrated site collection.
I fixed it with the following script:
Get-SPSite -limit all | ForEach-Object {
$site = $_
if( $site.ReadLocked -or $site.IsReadLocked -or $site.WriteLocked -or $site.ReadOnly ) {
write-host "Site $($site.Url) is locked. Skip."
} else {
$rootWeb = $site.RootWeb
if( $rootWeb.AllProperties["docid_customProvider_assembly"] ) {
if( $rootWeb.AllProperties["docid_customProvider_assembly"] -like "Microsoft.Office.DocumentManagement*" -and
$rootWeb.AllProperties["docid_customProvider_assembly"] -notlike "*Version=16*" ) {
$rootWeb.AllProperties["docid_customProvider_assembly"] = "Microsoft.Office.DocumentManagement, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
$rootWeb.AllProperties["docid_customProvider_class"] = "Microsoft.Office.DocumentManagement.Internal.OobProvider"
$rootWeb.Update()
write-host "Site $($site.Url) patched."
} else {
write-host "Site $($site.Url) is already fine."
}
} else {
write-host "Site $($site.Url) has no DocID provider registered."
}
}
}
Reference: