At our SP 2019 (on Premises) Environment, I have to enable some Features to enable the Document-ID Feature.
On all out published Website-Collections, one Feature ca be enabled with the Powershell-Command
"Enable-SPFeature -identity f6924d36-2fa8-4f0b-b16d-06b7250180fa -url .....", only at one WSC, I get the Error-Message:
Enable-SPFeature -identity f6924d36-2fa8-4f0b-b16d-06b7250180fa -url https://anwendung.dom.bv/sites/Communication
Enable-SPFeature: The specified method is not supported.
In line: 1 character: 1
+ Enable-SPFeature -identity f6924d36-2fa8-4f0b-b16d-06b7250180fa -url ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: InvalidData: (Microsoft.Share ... etEnableFeature: SPCmdletEnableFeature) [Enable-SPFeature
], NotSupportedException
+ FullyQualifiedErrorId: Microsoft.SharePoint.PowerShell.SPCmdletEnableFeature
an the Result ist:
$web = Get-SPWebApplication -Identity "https://anwendung.com.bv/"
Foreach($site in $web.Sites)
{
$feature = Get-SPFeature -Site $site | Where-Object {$_.ID -eq "f6924d36-2fa8-4f0b-b16d-06b7250180fa"
}
if($feature -ne $null)
{
Write-Host $site.RootWeb.Url " - Activated"
}
if($feature -eq $null)
{
Write-Host $site.RootWeb.Url " - Deactivated"
}
}
https://anwendung.com.bv - Activated
https://anwendung.com.bv/sites/Allgemein_Test - Activated
https://anwendung.com.bv/sites/Communication - Deactivated
https://anwendung.com.bv/sites/ContentTypeHub - Activated
https://anwendung.com.bv/sites/Muster - Activated
https://anwendung.com.bv/sites/Test - Activated
https://anwendung.com.bv/sites/Testfall - Activated
How ca I Enable the two Feature, I need?
f6924d36-2fa8-4f0b-b16d-06b7250180fa
and
22a9ef51-737b-4ff2-9346-694633fe4416
(The second one can't be activated as long as the first is noch activated.)