Dynatrace advanced a new built-in feature in the recent releases to facilitate post-deployment configuration instead of using oneagentctl or systemctl, ..etc
Simply:
- Navigate to Manage > Deployment status > Oneagents.
- Select the intended servers for customization.
- you have the option to remove the host tag assignment from the host or assign a new host tag.
- run the action > wait ~ 2 minutes, changes will take effect through the UI.


- Don't add prefix, it's added automatically.
- to remove host tag, proceed with the second option

⚡⚡🏷