Hi All, Trying to enable the AD Recycle bin, and it fails with an error message;
'A referral was returned from the server'
I have tried via PowerShell and get the below error;
import-module activedirectory
Enable-ADOptionalFeature -Identity 'CN=Recycle Bin Feature,CN=Optional Features,CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,DC=domain,DC=local' -Scope ForestOrConfigurationSet -Target 'domain.local'
Confirm
Are you sure you want to perform this action?
Performing operation "Enable" on Target "Recycle Bin Feature"
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help <default is "Y">: y
Enable-ADOptionalFeature : A referral was returened from the server
At line:1 char:1
+ Enable-ADOptionalFeature -Identity 'CN=Recycle Bin Feature,CN=Optional Features, ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (CN=Recycle Bin ...domain,DC=local:ADOptionalFeature) [Enable-ADOptionalFeature], ADException
+ FullyQualifiedErrorId : ActiveDirectoryServer:8235,Microsoft.ActiveDirectory.Management.Commands.EnableADOptionalFeature