Forum Discussion

bellinghamlady's avatar
bellinghamlady
Copper Contributor
Mar 17, 2021

Cannot remove tags

I have a few tags appearing Microsoft Defender Security Center.  I cannot remove them either in the UI or using the Add/Remove tag API.  I don't see them in the registry key either.  These tags appear in grey versus the usual blue color.  I cannot find any information on this problem.  Has anyone ever seen this and know a fix?  I have added a screen shot showing the problem.

  • bellinghamlady's avatar
    bellinghamlady
    Copper Contributor
    I also get this message from the API:

    "error":{"code":"InvalidInput","message":"The Tag ExampleTag is a device tag and cannot be removed from the API","target":"dxxxx....
  • Hello,

    On my Defender Portal, I am able to "manage tags" do you have the right permissions? how are you authenticating to Defender API?
    Can you find this "manage tags" on a device? and see if you can remove it manually?

    https://imgur.com/rxzhg59
    • bellinghamlady's avatar
      bellinghamlady
      Copper Contributor
      Yes, I can see and add/remove most tags. I have just found two tags that have that grey color and I cannot seem to remove. I will pursue the Jamf and mdatp suggestions.
      • bellinghamlady's avatar
        bellinghamlady
        Copper Contributor
        The issue was the "ExampleTag" was deployed via Jamf. Thank you akakak!

Resources