Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING Error When Trying to Delete Administrative User

  • Thread starter Thread starter MLewisQMU
  • Start date Start date
  • Replies Replies 2
  • Views Views 2K

MLewisQMU

New Member
Messages
3
Reaction score
0
Points
1
Hello all,

I am unable to delete an old user who has 'Full Administrator' Security Role. When doing so I am presented with the following error:

The account I'm using to delete the user is also a Full Admin.

Has anybody encountered this before?

Thanks,

Mark
------------------------------------------------------
ConfigMgr Error Object:
instance of SMS_ExtendedStatus
{
Description = "CSspRbacAdminClass: RBAC_ADMIN_CANNOT_DELETE_SELF : User can not delete self.";
ErrorCode = 1078462247;
File = "..\\ssprbac.cpp";
Line = 4795;
ObjectInfo = "16777228";
Operation = "DeleteInstance";
ParameterInfo = "SMS_Admin.AdminID=16777228";
ProviderName = "WinMgmt";
StatusCode = 2147749889;
};

-------------------------------
Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryException
Failure deleting management object


Stack Trace:
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Delete(ReportProgress progressReport)
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Delete()
at Microsoft.ConfigurationManagement.AdminConsole.Rbac.User.Utilities.DeleteUser(Object sender, ScopeNode scopeNode, ActionDescription action, IResultObject resultObject, PropertyDataUpdated updateDelegate, Status status)

-------------------------------

System.Management.ManagementException
Generic failure


Stack Trace:
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Delete(ReportProgress progressReport)
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Delete()
at Microsoft.ConfigurationManagement.AdminConsole.Rbac.User.Utilities.DeleteUser(Object sender, ScopeNode scopeNode, ActionDescription action, IResultObject resultObject, PropertyDataUpdated updateDelegate, Status status)

-------------------------------
 
The error says you are trying to delete yourself. Use a different account to delete the account.
 
The error says you are trying to delete yourself. Use a different account to delete the account.
Hi Garth,

Thanks for the response.

Yes, I noticed that myself in the error. However, I can confirm that I am not trying to remove my own account! This happens with each account I'm trying to remove (as I'm attempting to remove users who no longer work here). I'm confused as to why I would receive this error when trying to delete accounts that aren't my own.

Yesterday I made myself admin via the SQL query detailed in the Technet article here (as the admin permission was applied to a user who is no longer working here): https://social.technet.microsoft.co...-adminquot-deleted?forum=configmanagergeneral

I wonder if this has had an adverse affect?
 
Back
Top