Forum Discussion
bellinghamlady
Jan 14, 2021Copper Contributor
Powershell API Calls to Create Tags Failing with no Error Message
I created a PowerShell script that calls the Security Center Defender for Endpoint api to create a machine tag. I am experiencing some irregular behavior. I will make the call, and it will return a...
bellinghamlady
Jan 17, 2021Copper Contributor
I do not see the tags even after waiting a day. They are really not there. The problem occurs both when adding and removing tags. I get a 200 response, indicating everything was OK, but then the tag was not added or removed as expected. I guess I could do another call to see if the tag is there, but it wastes a lot of API calls.
Thijs Lecomte
Jan 21, 2021Bronze Contributor
It should work. I would advise you to open a support case to check what's going on
- bellinghamladyJan 21, 2021Copper Contributor
Thijs Lecomte I will be opening a support case, thank you.