Hey Team!
I am facing an issue for some days already that has me puzzled. I am trying to enable 'Privileged Access Management Feature' in our AD, but I keep getting the error 'The parameter is incorrect'.
The command I am using is
Enable-ADOptionalFeature -Identity 'Privileged Access Management Feature' -Scope ForestOrConfigurationSet -Target (Get-ADForest)
We have a second forest and it worked like a charm, but for some reason I do not get it fails in this one.
Requirements are fulfilled:
- Elevated PowerShell
- Forest functional level 2016
- All DCs in at least Windows Server 2016.
The only errors I could find are
- Event Viewer Administrative Events
- Source:
ActiveDirectory_DomainServices
- Level:
Error
- Event ID:
2959
- Message:
-
Optional feature name:
[]
Optional feature guid:
ec43e873-cce8-4640-b4ab-07ffe4ab5bcd
Scope of optional feature:
CN=Partitions,CN=Configuration,DC=intapps,DC=it
Error value:
57
Internal ID (DSID):
3210e76
- PowerShell Error details
-
Exception : Microsoft.ActiveDirectory.Management.ADInvalidOperationException: The parameter is incorrect ---> System.ServiceModel.FaultException`1[schemas.microsoft.com._2008._1.ActiveDirectory.CustomActions.ChangeOptionalFeatureFault]: Active Directory returned an error processing the operation.
Just in case it is relevant, this problematic AD shows 3 optional features:
- Recycle Bin Feature (Enabled)
- Privileged Access Management Feature. (Disabled - Trying to get it up)
- Expiring Group Membership Feature. (Disabled) In the parallel working forest there are only 2 features available:
- Recycle Bin Feature (Enabled)
- Privileged Access Management Feature. (Enabled) I also find quite intriguing that the third feature that does not appear anywhere in the documentation. And it shares the same Feature ID with the one I want to enable:
Name : Privileged Access Management Feature
FeatureGUID : ec43e873-cce8-4640-b4ab-07ffe4ab5bcd
ObjectGUID : 211d2d6b-d4df-409c-bedc-0279992d2638
Name : Expiring Group Membership Feature
FeatureGUID : ec43e873-cce8-4640-b4ab-07ffe4ab5bcd
ObjectGUID : 6bdba10d-d7bb-45e6-abd1-8419f8094149
Does anyone have any advise about how can I sort this situation?
Thanks in advance for your attention people!