Could not assign profile because it is currently using Patch Management.

PROBLEM

 When assigning a profile to a new machine in Software management you receive an error : 

Could not assign profile because it is currently using Patch Management.

CAUSE

The referenced machines are not disabled from Patch management.

RESOLUTION

Disconnect from Patch management. 

disconn.jpg

If this step gives you the below error, you will have to remove the patch policies associated with it. 

This machine cannot be disconnected from patch management until the machine's organization and machine group are no longer referenced in a Patch Management Policy in Policy Management

This is found under Patch management> Patch Policy > Membership.

You can also run this sql query to find out the which patch management settings have been assigned to the machines.

declare @partitionId numeric(26,0) = 1
declare @agentGuid numeric(26,0) = XXX
declare @adminId int = 76524894
exec sm.spPatchManagementCheck @partitionId, @agentGuid, @adminId
 
 
Use this query to get the admin id :
select * from adminIdTab where adminName = 'yourlogonname'
 

 

Have more questions?

Contact us

Was this article helpful?
1 out of 4 found this helpful

Provide feedback for the Documentation team!

Browse this section