Share via

Executing command Get-SCOMClassInstance results in error

Anonymous
2021-11-12T09:26:05.82+00:00

Hello,

executing the following command "Get-SCOMClassInstance" on our SCOM 2019 system results in the following error:

Get-SCOMClassInstance : An object of class ManagementPackClass with ID 00000000-0000-0000-0000-000000000000 was not found.
At line:1 char:2

  • Get-SCOMClassInstance
  • ~~~~~~~~~~~~~~~~~~~~~
  • CategoryInfo : InvalidOperation: (Microsoft.Syste...InstanceCommand:GetSCClassInstanceCommand) [Get-SCOMClassInstance], Ob
    jectNotFoundException
  • FullyQualifiedErrorId : ExecutionError,Microsoft.SystemCenter.OperationsManagerV10.Commands.GetSCClassInstanceCommand

Any ideas how to solve this?

System Center Operations Manager
System Center Operations Manager

A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Kåre Rude Andersen 1 Reputation point
    2021-11-16T15:54:14.95+00:00

    I have a customer with the exact same errormessage, runnning Get-SCOMClass -name 'System.Computer' | Get-SCOMInstance. This means the Agent initiated Maintenance Mode does NOT work since MS is using the faulty command internally.

    Was this answer helpful?


  2. Anonymous
    2021-11-16T06:53:12.29+00:00

    Hi Alex,

    I already tried that, but I was not able to find the ID 00000000-0000-0000-0000-000000000000 in the output file of "get-scomoverride".

    Was this answer helpful?

    0 comments No comments

  3. AlexZhu-MSFT 6,601 Reputation points Moderator
    2021-11-15T00:48:23.08+00:00

    Hi,

    Please try the steps in below article to see if we can locate the problematic management pack and remove it.
    https://social.technet.microsoft.com/Forums/en-US/37357a26-8f00-4bf7-a546-21e8c27775a6/an-object-of-class-managementpackclass-with-id-b9e5abad44cc959187ff5f7bf938d66c-was-not-found?forum=operationsmanagergeneral

    Alex
    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    0 comments No comments

Your answer

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