AD connector sync user attribute email

Artimes 346 Reputation points
2020-09-18T22:20:36.41+00:00

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?

Service Manager
Service Manager
A family of System Center products for managing incidents and problems.
210 questions
{count} votes

Accepted answer
  1. Andreas Baumgarten 98,621 Reputation points MVP
    2020-09-20T18:11:31.517+00:00

    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)

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful