~ Brian McDermott
If you were using the Operations Manager command shell to automate Run As Account Administration then you may encounter the error below following an upgrade from System Center 2012 Operations Manager to System Center 2012 R2 Operations Manager.
PS C:\> Set-SCOMRunAsProfile -Action "Add" -Profile $Profile -Account $Account -Group $Group
Set-SCOMRunAsProfile : An object of class ManagementPack with name Microsoft.SystemCenter.SecureReferenceOverride was not found.
At line:1 char:1
+ Set-SCOMRunAsProfile -Action "Add" -Profile $Profile -Account $Account -Group $G ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (Microsoft.Syste...sProfileCommand:UpdateSCRunAsProfileCommand) [Set-SCOMRunAsProfile], ObjectNotFoundException
+ FullyQualifiedErrorId : ExecutionError,Microsoft.SystemCenter.OperationsManagerV10.Commands.UpdateSCRunAsProfile
Command
As the error suggests, it is failing to locate the Microsoft.SystemCenter.SecureReferenceOverride Management Pack, however when you check the console you can see it is there.
However, if you look closely at the version you may notice that the version still displays the OpsMgr 2012 version (7.0.8560), and this is why the cmdlet cannot find it. It is looking for a version of the SecureReferenceOverrides that matches the version of the Management Group. So if you were to look at the Help > About menu to see the version you will see it displays the OpsMgr 2012 R2 version of 7.1.10226.0.
The fix is thankfully very simple. Go into the console and update the version number of the MP to match the version of the management group.
Brian McDermott | Escalation Engineer | Microsoft CTS Management and Security Division
Get the latest System Center news on Facebook and Twitter :
System Center All Up:
http://blogs.technet.com/b/systemcenter/
System Center – Configuration Manager Support Team blog:
http://blogs.technet.com/configurationmgr/
System Center – Data Protection Manager Team blog:
http://blogs.technet.com/dpm/
System Center – Orchestrator Support Team blog:
http://blogs.technet.com/b/orchestrator/
System Center – Operations Manager Team blog:
http://blogs.technet.com/momteam/
System Center – Service Manager Team blog:
http://blogs.technet.com/b/servicemanager
System Center – Virtual Machine Manager Team blog:
http://blogs.technet.com/scvmm
Windows Intune:
http://blogs.technet.com/b/windowsintune/
WSUS Support Team blog:
http://blogs.technet.com/sus/
The AD RMS blog:
http://blogs.technet.com/b/rmssupp/
The Forefront Endpoint Protection blog :
http://blogs.technet.com/b/clientsecurity/
The Forefront Identity Manager blog :
http://blogs.msdn.com/b/ms-identity-support/
The Forefront TMG blog:
http://blogs.technet.com/b/isablog/
The Forefront UAG blog:
http://blogs.technet.com/b/edgeaccessblog/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.