Skip to content

Josh's IT-Blog

Information Technology, and other interesting things …

  • Home
  • About
  • Contact
  • Links

extend the Active Directory Users class for SCSM

Posted on 17. February 201417. February 2014 By Burkard Josh No Comments on extend the Active Directory Users class for SCSM
SCSM

Today I needed some additional fields for the Active Directory User class for an SCSM Service Offering. For example, I need the PrimarySmtpAddress, which exists in the AD as mail, but not in the SCSM class. in this post, I will describe, how I did it:

We will need:

  • System Center Service Manager 2012 SP1
  • System Center Orchestrator 2012 SP 1
  • Service Manager Authoring Tool
  • Strong name key file

Open the Service Manager Authoring Tool and click to the menu File New, to create a new Management Pack. Define a unique name for your management packs file name, in this Example: Josh.Test.Library.xml (Library mean’s that we will extend a library class)

in the Class browser, select All Management Packs and search for the Domain User or Group class. if you expand this class, you will see the mail field, but it wouldn’t be accessibly (for example in your service requests). right click it and select View:

2014-02-07_15-05-37

 Now you will see the Domain User and Group class in the Management Pack Explorer. Right click it and select Extend class:

2014-02-07_15-11-35

select your new Management Pack and click OK:

2014-02-07_15-15-14

now, you will see the new class, give it an unique name. normally I dont’t use special chars, spaces or dots for the new name:

2014-02-07_15-19-05

on some versions of the Authoring Tool, it will automatically create a new property, like Property_26. select the row and then click to the delete icon

2014-02-07_15-24-01

now you can add new properties. The new Property should have a unique internal name for your complete Service Manage environment ! normaly I use the Management Pack Name as a prefix for the Property internal name.

2014-02-07_15-36-13

After creating the property, you can change some property details, like the (display-)Name, Data Type, etc:

2014-02-07_15-39-34

Now you can save the Management Pack and build a sealed one. To seal your Management Pack, you will need a strong name key file. How you can create a strong name key file, is described here (thank you Marcel). right click the management pack and select Seal Management Pack:

2014-02-07_15-48-57

Choose the output directory and the key-file to use:

2014-02-07_15-53-44

Now, you can import the new management pack like every time.

After importing, you will see the new field in the Extension tab of your Active Directory User CI:

2014-02-14_12-52-49

In the next step, you should import datas from Active Directory to the newly created Extensions using an Orchestrator Runbook. Your runbook should have this activities:

  • Get User activity from Active Directory
  • Get Object activity from SC 2012 Service Manager
    • select the newly created class
    • filter by UPN equals {User Principal Name from “Get User”}
  • Update Object activity from SC 2012 Service Manager
    • select the newly created class
    • Object Guid = {SC Object Guid from “Get Object”}
    • add a field: PrimarySmtpAddress → {Email from “Get User”}

2014-02-17_17-10-56

Of course, you can import every type of datas from other locations then Active Directory

after importing the datas, you should see it and could use it for your service request offerings.

Share this:

  • Facebook
  • Twitter
  • Email
  • Print
Tags: SCSM

Post navigation

❮ Previous Post: delete orphaned computers from SCOM
Next Post: demoted Domain Controller still present in SCOM ❯

Leave a Reply Cancel reply

About

Author Image
My name is Josh Burkard.
I'm a DevOps Engineer working with one of swiss largest telecom and full-service hosting provider. in my work I have a lot to do with Microsoft server operating systems, System Center, VMware, Microsoft Azure Cloud and other software.
On this site I will write some posts about different technology problems and their solutions.
please note also my tweets and retweets from this area.

Follow me on Twitter

My Tweets

Categories

  • General (13)
  • Hardware (9)
    • Network (8)
      • Cisco (2)
    • Storage (2)
  • Microsoft Azure (1)
    • Automation (1)
  • PowerShell (1)
  • Software (1)
    • Excel (1)
  • System Center (19)
    • SCCM (3)
    • SCDPM (1)
    • SCOM (13)
    • SCSM (1)
    • SMA (1)
  • VMware (8)
  • Windows 2008 R2 (10)
    • Active Directory (7)
  • Windows 2012 R2 (1)
  • Windows 2016 (1)
  • Windows 7 (4)
    • BitLocker (1)
  • WordPress (1)

Links

  • Burkard-Fingerlin Family
  • Swisscom (Schweiz) AG
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

About

Author Image
My name is Josh Burkard.
I'm a DevOps Engineer working with one of swiss largest telecom and full-service hosting provider. in my work I have a lot to do with Microsoft server operating systems, System Center, VMware, Microsoft Azure Cloud and other software.
On this site I will write some posts about different technology problems and their solutions.
please note also my tweets and retweets from this area.

Follow me on Twitter

My Tweets

FOLLOW ME ON GITHUB

joshburkard (Josh Burkard)

Josh Burkard

joshburkard
Belgium
https://www.burkard.it
Joined on Jul 10, 2015
13 Public Repositories
0 Public Gists

Copyright © 2023 Josh's IT-Blog.

Theme: Oceanly by ScriptsTown

 

Loading Comments...
 

    loading Cancel
    Post was not sent - check your email addresses!
    Email check failed, please try again
    Sorry, your blog cannot share posts by email.