Good afternoon community,
i hope someone of you guys can gimme some advice.
I have a custom AD Attribute which was created by our Admins view Years ago which we need for our Usermanagement Software. So now i wanna map a SP2013 Userproperty with Export syncdirection to that custom AD Attribute. When i try that via the Central UI i get Message “an Error occured”, when i try it via Powershell i get the Error
Exception calling “AddNewExportMapping” with “3” argument(s): “cdAttribute does not match the MV attribute”
At C:\Temp\UserProfile\UserProfilePropertiesForMatchPointRunAsFarmAdmin.ps1:394 char:21
+ $PropertyMapping.AddNewExportMapping($userprofiletype, $Shar …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : ArgumentException
The Import syncdirection does work with the same parameters.
Is there a Problem with adding an export sync mapping to a custom AD Attribute or maybe does our Admin have to modify the custom Attribute?
thx for your help in adv
Manni Berger
Hey,
thx for the reply. I just tried to map another SP2013 string(Single Value) Property to the customÂ
AD Attribute. Got an Error. The funny thing is that with sync direction import it works fine, just does not like the Export Sync.
I also asked the Admin to check what kind of type the AD attribute is. i got that in response.
I have never tried this myself. The error seems to indicate that the attribute types do not match. Your user property seems to be a Multi-value field. it tries to map that to the cdAttribute. Can you check if this is a multi-value field as well?
As I said I have never done this before, so this is just from the error description you posted.
Maybe this will help others to identify the issue.