In the agent managed server, we have the following event :
Event Type: Warning
Event Source: OpsMgr Connector
Event Category: None
Event ID: 21034
Time: 8:41:00 PM
The Management Group XXXXX has no configured parents and most monitoring tasks cannot be performed. This can happen if a management group in Active Directory does not have any server SCPs or if the agent does not have access to any server SCPs.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Before going further, be sure to have a good backup of your SCOM DBs. Log on to the OperationsDB database server and run the following query :
SELECT * FROM dbo.[BasemanagedEntity] where FullName Like ‘%Windows.Computer%’ and Name Like ‘%AGENTMANAGEDSERVERFQDN%‘
if the IsDeleted value is set to 0, run the following query :
UPDATE dbo.[BasemanagedEntity] SET IsDeleted = 1 where FullName Like ‘%Windows.Computer%’ and Name Like ‘%AGENTMANAGEDSERVERFQDN%‘
You could now close the Microsoft SQL console, and go back to the Agent Managed server and stop the System Center Management service.