Create an SCSM 2012 User CI and add Notification email address with Orchestrator

In this post I will describe how you can create a System Center Service Manager 2012 User Configuration Item (CI) and add a notification email address to it with Orchestrator.

For this I will use three Runbooks. One that kicks the whole workflow off, one to add the user CI and one to create the email address notification in the CI. The only thing that is needed to create the User CI and the email notification in this three Runbooks are the email address as an input.

When creating the user CI in the second Runbook, the first part of the email address, divided at the @ sign, will become the username and the second part will become the domain. The email notification will then be added by the third Runbook.

In the first Runbook, seen below, you will need to provide the email address as an input. It will then kick off the other two Runbooks that will first create the user CI and then add the email notification to the CI.

Create an SCSM 2012 User CI and add Notification email address with Orchestrator1

In the next Runbook the SCSM user CI is created.

Create an SCSM 2012 User CI and add Notification email address with Orchestrator2

In the next Runbook the SCSM email notification will be created.

Create an SCSM 2012 User CI and add Notification email address with Orchestrator3

 

Please feel free to download the Runbook and try it out yourself 🙂

Download Runbook: CreateUserCIandEmailNotification

2 Responses to Create an SCSM 2012 User CI and add Notification email address with Orchestrator

  1. Tim August 14, 2014 at 18:48 #

    Quick question on the Generate GUID script. I see the script removes the “-” from the GUID (i.e. xxxxxxxx). All of the internal SCSM GUIDS have the “-” (i.e. xxx-xxxx-x). Is there a reason the GUID you generates removes these? If so, is there any downside from a database/data warehouse perspective to remove these from the GUID string?

    Appreciate the blog.

    • Jonathan August 14, 2014 at 21:46 #

      Hi Tim,

      There is no reason why I have generated the GUID without “-“. You can always add “-“ if you want the GUIDs in the DB to look as SCSM generates them.

Leave a Reply