New-SCQueue - Class problem

Jun 25, 2012 at 4:26 AM

Hi.

I'm trying to create a new queue using the New-SCQueue in my Service Manger 2012, but I'm getting the following error:

Error 1:
Found error in 1|ManagementPack.e62ae2df46054d3b9574682ab418e216|1.0.0.0|WorkIt
emGroup.21738d9a0a724b81a6bccd9f0c22ad7d.Discovery/GroupPopulationDataSource||
with message:
The configuration specified for Module GroupPopulationDataSource is not valid.
: Cannot resolve identifier System_WorkItem_ServiceRequest_Library!System.WorkI
tem.ServiceRequest in the context of management pack ManagementPack.e62ae2df460
54d3b9574682ab418e216. Unknown alias: System_WorkItem_ServiceRequest_Library

The command that I'm executing is:

$class = get-scsmclass System.WorkItem.ServiceRequest$
$MP = get-scsmmanagementpack ManagementPack.e62ae2df46054d3b9574682ab418e216 

$QN = "ServiceRequest - Priority 1"
$QD = "..."

new-scqueue -Name $QN -Description $QD -Class $class -ManagementPack $MP -Filter $filter -Verbose -WhatIf

I got the configuration from a queue that I had created in the console and the class is: CustomSystem_WorkItem_ServiceRequest_Library
Using the command Get-SCSMManagementPackReference -ManagementPack $MP i got the following result:
Alias                                           Name                                                           
-----                                           ----                                                           
RunbookActivity                                 ServiceManager.RunbookActivity.Library                         
EnterpriseManagement                            Microsoft.EnterpriseManagement.ServiceManager.UI.Console       
CustomSystem_Notifications_Library              System.Notifications.Library                                   
CustomSystem_WorkItem_Library                   System.WorkItem.Library                                        
CustomServiceManager_SLAManagement_Library      ServiceManager.SLAManagement.Library                           
ServiceCatalog1                                 ServiceManager.ServiceCatalog.Library                          
System_Calendar_Library                         System.Calendar.Library                                        
EnterpriseManagement1                           Microsoft.EnterpriseManagement.ServiceManager.UI.Authoring     
Microsoft_SystemCenter_ServiceDesigner_Library  Microsoft.SystemCenter.ServiceDesigner.Library                 
CustomServiceManager_IncidentManagement_Library ServiceManager.IncidentManagement.Library                      
CustomMicrosoft_Windows_Library                 Microsoft.Windows.Library                                      
ServiceCatalog                                  System.ServiceCatalog.Library                                  
CustomServiceManager_ServiceRequest_Library     ServiceManager.ServiceRequest.Library                          
CustomSystem_SupportingItem_Library             System.SupportingItem.Library                                  
ConfigurationManagement                         ServiceManager.ConfigurationManagement.Library                 
System_SLA_Library                              System.SLA.Library                                             
InstanceGroup                                   Microsoft.SystemCenter.InstanceGroup.Library                   
CustomSystem_WorkItem_ServiceRequest_Library    System.WorkItem.ServiceRequest.Library                         
CustomSystem_WorkItem_Activity_Library          System.WorkItem.Activity.Library                               
System_Library                                  System.Library                                                 
CustomMicrosoft_SystemCenter_Orchestrator       Microsoft.SystemCenter.Orchestrator                            
SystemCenter                                    Microsoft.SystemCenter.Library                                 
CustomSystem_WorkItem_Incident_Library          System.WorkItem.Incident.Library                               
SystemCenter1                                   Microsoft.SystemCenter.Subscriptions                           
EnterpriseManagement2                           Microsoft.EnterpriseManagement.ServiceManager.UI.Administration

Any help would be appreciated.
 
Thanks in advance.
Jun 27, 2012 at 1:37 PM

We are trying to add a queue aswell

If i create a new MP and the run the command new-scqueue i works,

But if the MP is already in the system we get the same error

 

Error 1:
Found error in 1|ManagementPack.3138166bd07549df910215aebee04528|1.0.0.0|WorkItemGroup.5835bda5be2b459da972db6f2b364211
.Discovery/GroupPopulationDataSource|| with message:
The configuration specified for Module GroupPopulationDataSource is not valid.
: Cannot resolve identifier System_WorkItem_Incident_Library!System.WorkItem.Incident in the context of management pack
 ManagementPack.3138166bd07549df910215aebee04528. Unknown alias: System_WorkItem_Incident_Library

Any help would be appreciated aswell

 

Jun 27, 2012 at 1:45 PM

One note more.

This Error only happens on MP´s created in the console.

If i add another queue to a MP created with Powershell I dont get the error