Adam Wolf
asked on
Set-MsolDirSyncFeature - Invalid value for Parameter - Parameter Name: Feature
Hi!
I have a client using an Office 365 DirSync environment that is requesting the Duplicate Attribute Resiliency feature be enabled on their tenancy. Following https://docs.microsoft.com/en-us/azure/active-directory/active-directory-aadconnectsyncservice-duplicate-attribute-resiliency - I used the following Syntax in PowerShell:
Set-MsolDirSyncFeature -Feature DuplicateUPNResiliency -Enable $true
Set-MsolDirSyncFeature -Feature DuplicateProxyAddressResil iency -Enable $true
Running either command outputs the following error message:
Set-MsolDirSyncFeature : Invalid value for parameter. Parameter Name: Feature.
At line:1 char: 1
+ Set-MsolDirSyncFeature -Feature DuplicateUPNResiliency -Enable $true
~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~
+ Category Into : OperationStopped: (:) [Set-MsolDirSyncFeature],
MicrosoftOnlineException
+ FullyQualifiedErrorId : Microsoft.Online.Administr ation.Auto mation.Inv alidParame terExcepti on,Microso ft.Online. Administra tion.SetDi rSyncFeatu re
Running Get-MsolDirSyncFeatures generates the following:
ExtensionData DirSyncFeature
------------- --------------
System.Runtime.Serializati on.Extensi onDataObje ct DeviceWriteback
System.Runtime.Serializati on.Extensi onDataObje ct DirectoryExtensions
System.Runtime.Serializati on.Extensi onDataObje ct DuplicateProxyAddressResil i...
System.Runtime.Serializati on.Extensi onDataObje ct DuplicateUPNResiliency
System.Runtime.Serializati on.Extensi onDataObje ct EnableSoftMatchOnUpn
System.Runtime.Serializati on.Extensi onDataObje ct PasswordSync
System.Runtime.Serializati on.Extensi onDataObje ct SynchronizeUpnForManagedUs ers
System.Runtime.Serializati on.Extensi onDataObje ct UnifiedGroupWriteback
System.Runtime.Serializati on.Extensi onDataObje ct UserWriteback
Running Get-MsolDirSyncFeatures -Feature DuplicateUPNResiliency generates the following:
ExtensionData DirSyncFeature Enabled
------------- -------------- -------
System.Runtime.Serializati on.Extensi onDataObje ct DuplicateUPNResiliency False
So I honestly do not know what the problem is and why I cannot enable these features, but I admittedly do not have much experience with PowerShell Administration. Thank you for your help in advance!
I have a client using an Office 365 DirSync environment that is requesting the Duplicate Attribute Resiliency feature be enabled on their tenancy. Following https://docs.microsoft.com/en-us/azure/active-directory/active-directory-aadconnectsyncservice-duplicate-attribute-resiliency - I used the following Syntax in PowerShell:
Set-MsolDirSyncFeature -Feature DuplicateUPNResiliency -Enable $true
Set-MsolDirSyncFeature -Feature DuplicateProxyAddressResil
Running either command outputs the following error message:
Set-MsolDirSyncFeature : Invalid value for parameter. Parameter Name: Feature.
At line:1 char: 1
+ Set-MsolDirSyncFeature -Feature DuplicateUPNResiliency -Enable $true
~~~~~~~~~~~~~~~~~~~~~~~~~~
+ Category Into : OperationStopped: (:) [Set-MsolDirSyncFeature],
MicrosoftOnlineException
+ FullyQualifiedErrorId : Microsoft.Online.Administr
Running Get-MsolDirSyncFeatures generates the following:
ExtensionData DirSyncFeature
------------- --------------
System.Runtime.Serializati
System.Runtime.Serializati
System.Runtime.Serializati
System.Runtime.Serializati
System.Runtime.Serializati
System.Runtime.Serializati
System.Runtime.Serializati
System.Runtime.Serializati
System.Runtime.Serializati
Running Get-MsolDirSyncFeatures -Feature DuplicateUPNResiliency generates the following:
ExtensionData DirSyncFeature Enabled
------------- -------------- -------
System.Runtime.Serializati
So I honestly do not know what the problem is and why I cannot enable these features, but I admittedly do not have much experience with PowerShell Administration. Thank you for your help in advance!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi becraig, thank you for the reply, I copied and pasted first and then typed it out, and both generated the same error. I also tried your suggestion and it failed with:
select : Property "Feature" cannot be found.
select : Property "Feature" cannot be found.
ASKER
I did not see the comments Vasil, thanks for bringing that to my attention. I guess we'll have to wait for Microsoft to address.
Did you copy and paste the commands ?
Try:
Open in new window