SCSM 2022 and SCOR 2022 Object Update Issue

PerserPolis-1732 1,846 Reputation points
2024-09-27T11:29:29.0333333+00:00

Hi,

I have create two new CI CLASS for Active Directory User on SCSM 2022.

  1. Primary SMTP E-Mail Address
  2. Distinguished Name of OU

User's image

Now I will import Datas from Active Directory to the newly created Extensions using with Orchestrator Runbook.

Here is my Runbook for the CI CLASS Primary "SMTP E-Mail Address"

User's image

Get User activity from Active Directory

User's image

Get Object activity from SC 2022 Service Manager

selected the newly created CI Class "SMTP E-Mail Address"

filter by UPN equals {User Principal Name from "Get User”}

User's image

Update Object activity from SC 2022 Service Manager

selected the newly created CI Class "SMTP E-Mail Address"

selected Guid = {SC Object Guid from “Get Object”}

added a field: PrimarySmtpAddress {Email from “Get User”}

User's image

But it does not import the E-Mails to the newly created "SMTP E-Mail Address"

Is anything on my Runbook wrong?

System Center Orchestrator
System Center Orchestrator
A family of System Center products that provide an automation platform for orchestrating and integrating both Microsoft and non-Microsoft IT tools.
235 questions
Service Manager
Service Manager
A family of System Center products for managing incidents and problems.
238 questions
Microsoft System Center
Microsoft System Center
A suite of Microsoft systems management products that offer solutions for managing datacenter resources, private clouds, and client devices.
1,028 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. XinGuo-MSFT 19,466 Reputation points
    2024-09-30T07:16:56.05+00:00

    Hi,

    I suspect that the above runbook did not return the correct information from Get User activity. Based on my experiments, if no information is provided, Get User activity returned list is entirely empty. However, by adding a filter, it is possible to loop through and retrieve values.

    I suggest confirming by sending event logs to verify the returned values and the number of iterations.

    Screenshot 2024-09-30 145518

    Screenshot 2024-09-30 145705

    Screenshot 2024-09-30 145427


    Screenshot 2024-09-30 143700

    Screenshot 2024-09-30 144343


  2. XinGuo-MSFT 19,466 Reputation points
    2024-10-03T07:33:32.8766667+00:00

    Hi,

    User Principal Name OR Display name

    We could use the Relation= equal.

    Screenshot 2024-10-03 151020.png


  3. XinGuo-MSFT 19,466 Reputation points
    2024-10-07T08:42:30.4366667+00:00

    Hi,

    I conducted a lab test. Please refer to the following screenshot for details on Extension and Update Object.

    01

    02

    03

    04

    05

    06


  4. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    6 deleted comments

    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.