question

Artimes-3279 avatar image
0 Votes"
Artimes-3279 asked AndreasBaumgarten edited

AD connector sync user attribute email

Hello there,

the documentation for the ad-connector says that the mail attribute of a ad user is mapped to the email property of class Microsoft.AD.User. If I call an user object there appears no email property.

 $class = Get-SCSMClass -name "Microsoft.AD.User" 
    
 Get-SCSMClassInstance -class $class -filter 'UserName -eq "firstname.lastname"' | select *

Is there a way to customize the ad connector?


msc-service-manager
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Artimes-3279
Does the answer helps to solve your question?
If so it would be great you "Accept the answer". This gives confidence to other community users that the person who had the problem confirmed the answer solved their problem.

Regards
Andreas Baumgarten

0 Votes 0 ·

1 Answer

AndreasBaumgarten avatar image
1 Vote"
AndreasBaumgarten answered AndreasBaumgarten edited

The email address is not a property/attribute of the Microsoft.AD.User class in SCSM.
The email-address is stored as an object of the System.Notification.Endpoint class.
The relationship "System.UserHasPreference" is combining the AD user object with the email-address object.
This way one user could have more than one email address (user object relates to n email address objects).

Maybe this is helpful.

Regards
Andreas Baumgarten

(Please don't forget to Accept as answer if the reply is helpful)

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.