Forum Discussion
slundy99
Sep 14, 2020Copper Contributor
Clear all Device tags in ATP Portal
Is there a way to clear all tags in the ATP portal? Right now I only see ways of doing it device by device (in portal and via API). We're instituting new tags and need to remove the old ones.
5 Replies
Sort By
- alexandertuvstromCopper Contributor
You can use Microsoft Flow to talk to the APIs, but you can get similar results with other tools like Logic Apps to automate machine tagging as well.
Blog post from the Defender ATP team:
- slundy99Copper Contributor
alexandertuvstrom Love the idea, but the advanced hunting requires premium access. I can do the free trial, but w/o being very knowledgeable in this I worry I'd waste the week just figuring out how to do what is required for what I need. I'll have to figure out the script option. Is there an api reference for ATP anywhere I can look at? I'll search but wanted to ask here as well.
- alexandertuvstromCopper Contributor
I found a good script example from anthonws on GitHub:
https://github.com/anthonws/MDATP_PoSh_Scripts/blob/master/API/API_Tag_Sample.ps1
- Thijs LecomteBronze ContributorThere is no quick way to do this through the portal.
You could script this through the API though.
You can write a script which retrieves the current tags and deletes them one by one