I ran  Get-SCSMclass -Name ndorupnewaccesssr and nothing was returned.  We 
don’t have ops manager monitoring this server.  If I list all the classes, a 
long list is returned, but only 1 of the 2 classes shows up.  Same goes if I 
list all the MP’s.

[cid:[email protected]]


From: [email protected] [mailto:[email protected]] On 
Behalf Of Brody Kilpatrick
Sent: Friday, September 11, 2015 3:29 PM
To: [email protected]
Subject: Re: [servman] custom management pack

In PowerShell run get-SCSMClass NDORUPNewAccessSR
If it is not there, make sure your powershell is connected to the correct 
management group, or just run it directly from the server. Also, go into the 
Operations Manager Event log. When you import an MP you should get a 1200,1201, 
and finally a 1210 (assuming there is workflow configuration.) You might now 
get a 1210 if there is not workflow configuration.

On Fri, Sep 11, 2015 at 1:20 PM, Costello, Michael 
<[email protected]<mailto:[email protected]>> wrote:
I’m following this blog post’s instructions to see if I can make this in my 
environment: 
http://blogs.technet.com/b/antoni/archive/2014/04/09/system-center-2012-service-manager-and-orchestrator-integration-example-walkthrough-start-to-finish-new-hire-provisioning-service-request.aspx

I’ve run into a problem.  After importing the bundled management pack and 
trying to build the Runbooks, I notice my custom class is not showing up in 
Orchestrator.  So, I check the SCSM console, and the MP is listed.  Next I ran 
get-scsmclass and get-scsmmanagementpack and neither can find my custom class 
or MP.  I did build a management pack to house the custom lists I made, and 
that class and MP show up.  I’m not sure how to troubleshoot this.  I’ve gone 
back and checked my work, but cannot find where my mistake is.  Does anyone 
know why the class and management pack are not listed?

Below is the start of the XML file:

<ManagementPack ContentReadable="true" SchemaVersion="2.0" 
OriginalSchemaVersion="1.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
  <Manifest>
    <Identity>
      <ID>NDORUPNewAccess</ID>
      <Version>1.0.0.2</Version>
    </Identity>
    <Name>NDORUPNewAccess</Name>
    <References>
      <Reference Alias="System">
        <ID>System.Library</ID>
        <Version>7.5.8501.0</Version>
        <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
      </Reference>
      <Reference Alias="Console">
        <ID>Microsoft.EnterpriseManagement.ServiceManager.UI.Console</ID>
        <Version>7.5.3079.0</Version>
        <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
      </Reference>
      <Reference Alias="Alias_ce574a72_6b0d_43a4_b88d_f1673e74237f">
        <ID>System.WorkItem.ServiceRequest.Library</ID>
        <Version>7.5.3079.0</Version>
        <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
      </Reference>
      <Reference Alias="Alias_f02ec18a_4764_464a_8c36_73221f226bab">
        <ID>System.WorkItem.Activity.Library</ID>
        <Version>7.5.3079.0</Version>
        <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
      </Reference>
      <Reference Alias="Alias_65a2327c_b4d7_4824_9472_7af66b54cf90">
        <ID>Microsoft.Windows.Library</ID>
        <Version>7.5.8501.0</Version>
        <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
      </Reference>
      <Reference Alias="Alias_ed604c15_c86c_4b51_8a7e_aeab7c9f95a7">
        <ID>NDORCustomLists</ID>
        <Version>1.0.0.1</Version>
        <PublicKeyToken>8ebbfbf98f1150af</PublicKeyToken>
      </Reference>
      <Reference Alias="WorkItem">
        <ID>System.WorkItem.Library</ID>
        <Version>7.5.3079.0</Version>
        <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
      </Reference>
      <Reference Alias="SupportingItem">
        <ID>System.SupportingItem.Library</ID>
        <Version>7.5.3079.0</Version>
        <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
      </Reference>
      <Reference Alias="CoreKnowledge">
        <ID>System.Knowledge.Library</ID>
        <Version>7.5.3079.0</Version>
        <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
     </Reference>
      <Reference Alias="Catalog">
        <ID>System.ServiceCatalog.Library</ID>
        <Version>7.5.3079.0</Version>
        <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
      </Reference>
    </References>
  </Manifest>
  <TypeDefinitions>
    <EntityTypes>
      <ClassTypes>
        <ClassType ID="NDORUPNewAccessSR" Accessibility="Public" 
Abstract="false" 
Base="Alias_ce574a72_6b0d_43a4_b88d_f1673e74237f!System.WorkItem.ServiceRequest"
 Hosted="false" Singleton="false" Extension="false">
          <Property ID="City" Type="string" AutoIncrement="false" Key="false" 
CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" 
/>
          <Property ID="Date" Type="datetime" AutoIncrement="false" Key="false" 
CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" 
/>

          <Property ID="FirstName" Type="string" AutoIncrement="false" 
Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" 
Required="false" Scale="0" />
          <Property ID="MiddleInitial" Type="string" AutoIncrement="false" 
Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" 
Required="false" Scale="0" />
          <Property ID="LastName" Type="string" AutoIncrement="false" 
Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" 
Required="false" Scale="0" />
          <Property ID="JobTitle" Type="string" AutoIncrement="false" 
Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" 
Required="false" Scale="0" />
          <Property ID="Street" Type="string" AutoIncrement="false" Key="false" 
CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" 
/>
          <Property ID="ZipCode" Type="string" AutoIncrement="false" 
Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" 
Required="false" Scale="0" />
          <Property ID="OE" Type="string" AutoIncrement="false" Key="false" 
CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" 
/>
          <Property ID="Username" Type="string" AutoIncrement="false" 
Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" 
Required="false" Scale="0" />
          <Property ID="PreviousEmployment" Type="bool" AutoIncrement="false" 
Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" 
Required="false" Scale="0" DefaultValue="False" />
          <Property ID="Department" Type="enum" AutoIncrement="false" 
Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" 
Required="false" Scale="0" 
EnumType="Alias_ed604c15_c86c_4b51_8a7e_aeab7c9f95a7!NDORDepartment" />
          <Property ID="JobStatus" Type="enum" AutoIncrement="false" 
Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" 
Required="false" Scale="0" 
EnumType="Alias_ed604c15_c86c_4b51_8a7e_aeab7c9f95a7!NDORJobStatus" />
          <Property ID="Office" Type="enum" AutoIncrement="false" Key="false" 
CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" 
EnumType="Alias_ed604c15_c86c_4b51_8a7e_aeab7c9f95a7!NDORADOffice" />
        </ClassType>
      </ClassTypes>
      <RelationshipTypes>
        <RelationshipType ID="Manager" Accessibility="Public" Abstract="false" 
Base="System!System.Reference">
          <Source ID="Source_92f7c1d1_dc2e_4279_8549_73f71e0a433c" 
MinCardinality="0" MaxCardinality="2147483647" Type="NDORUPNewAccessSR" />
          <Target ID="Target_34da9bf8_2cba_476e_865d_8472e10e1cf8" 
MinCardinality="0" MaxCardinality="1" 
Type="Alias_65a2327c_b4d7_4824_9472_7af66b54cf90!Microsoft.AD.User" />
        </RelationshipType>
      </RelationshipTypes>
      <TypeProjections>
        <TypeProjection ID="NDORUPNewAccessCustomForm_TypeProjection" 
Accessibility="Public" Type="NDORUPNewAccessSR">
          <Component Path="$Context/Path[Relationship='Manager']$" 
Alias="ComponentAlias_04761fb4_3a4f_4a34_b6bf_bfeb2e56f3ab" />
          <Component 
Path="$Target/Path[Relationship='WorkItem!System.WorkItemAssignedToUser']$" 
Alias="AssignedTo" />
          <Component 
Path="$Target/Path[Relationship='WorkItem!System.WorkItemClosedByUser']$" 
Alias="ClosedBy" />
          <Component 
Path="$Target/Path[Relationship='WorkItem!System.WorkItemCreatedByUser']$" 
Alias="CreatedBy" />
          <Component 
Path="$Target/Path[Relationship='WorkItem!System.WorkItemAffectedUser']$" 
Alias="AffectedUser" />
          <Component 
Path="$Target/Path[Relationship='WorkItem!System.WorkItemRelatesToConfigItem']$"
 Alias="RelatedConfigItems" />
          <Component 
Path="$Target/Path[Relationship='WorkItem!System.WorkItemAboutConfigItem']$" 
Alias="AboutConfigItem" />
          <Component 
Path="$Target/Path[Relationship='WorkItem!System.WorkItemAboutConfigItem' 
TypeConstraint='System!System.Service']$" Alias="AffectedServices" />
          <Component 
Path="$Target/Path[Relationship='WorkItem!System.WorkItemRelatesToWorkItem']$" 
Alias="RelatedWorkItems">
            <Component 
Path="$Target/Path[Relationship='WorkItem!System.WorkItemAssignedToUser']$" 
Alias="RelatedWorkItemAssignedTo" />
          </Component>
          <Component 
Path="$Target/Path[Relationship='WorkItem!System.WorkItemRelatesToWorkItem' 
SeedRole='Target']$" Alias="RelatedWorkItemSource">
            <Component 
Path="$Target/Path[Relationship='WorkItem!System.WorkItemAssignedToUser']$" 
Alias="RelatedWorkItemAssignedTo" />
          </Component>
          <Component 
Path="$Target/Path[Relationship='WorkItem!System.WorkItemHasFileAttachment']$" 
Alias="FileAttachments">
            <Component 
Path="$Target/Path[Relationship='SupportingItem!System.FileAttachmentAddedByUser']$"
 Alias="FileAttachmentAddedBy" />
          </Component>
          <Component 
Path="$Target/Path[Relationship='CoreKnowledge!System.EntityLinksToKnowledgeDocument']$"
 Alias="RelatedKnowledgeArticles" />
          <Component 
Path="$Target/Path[Relationship='Catalog!System.WorkItemRelatesToRequestOffering']$"
 Alias="RelatedRequestOffering" />
          <Component 
Path="$Target/Path[Relationship='WorkItem!System.WorkItemHasActionLog' 
TypeConstraint='WorkItem!System.WorkItem.TroubleTicket.ActionLog']$" 
Alias="ActionLog" />
          <Component 
Path="$Target/Path[Relationship='WorkItem!System.WorkItemHasCommentLog' 
TypeConstraint='WorkItem!System.WorkItem.TroubleTicket.AnalystCommentLog']$" 
Alias="AnalystCommentLog" />
          <Component 
Path="$Target/Path[Relationship='WorkItem!System.WorkItemHasCommentLog' 
TypeConstraint='WorkItem!System.WorkItem.TroubleTicket.UserCommentLog']$" 
Alias="EndUserCommentLog" />
        </TypeProjection>
      </TypeProjections>



--
Thank you,
Brody Kilpatrick

Reply via email to