How to update a set of tags on an Azure subscription or resource using PowerShell cmdlets.
Written by Titus Manohar, IT security team, ManageEngine Updated on September 2025
Description:
Executing the Update-AzTag cmdlet allows you to selectively update a set of tags specified by a ResourceId on an Azure resource or subscription. The Update-AzTag cmdlet can be used to selectively merge, replace or delete tags on the specified resource or subscription.
Syntax:
Example:
| Id | : {Id} |
| Name | : {Name} |
| Type | : {Type} |
| Properties | : |
| Name | Values |
|---|---|
| key1 | V1 |
| key2 | V2 |
| key3 | V3 |
This example shows how Update-AzTag cmdlet is used to update the set of tags on the subscription specified by its subId with merge operation.
About ADAudit Plus
ADAudit Plus is a real time change auditing software that helps keep your Active Directory, Azure AD, Windows file servers, NetApp filers, EMC file systems, Synology file systems, Windows member servers, and workstations secure and compliant. With ADAudit Plus, you can get visibility into:
- Authorized and unauthorized AD management changes
- User logons, logoffs, and account lockouts
- GPO changes
- Group attribute and membership changes
- OU changes
- Privileged access and permission changes among other things.
There are more than 200 event-specific reports, and you can configure instant email alerts. You can also export the reports to XLS, HTML, PDF and CSV formats to assist in interpretation and forensics. For more information on ADAudit Plus, visit: https://www.manageengine.com/active-directory-audit/.
Explore Active Directory auditing and reporting with ADAudit Plus.
- Related Products
- ADManager Plus Active Directory Management & Reporting
- ADAudit Plus Real-time Active Directory Auditing and UBA
- EventLog Analyzer Real-time Log Analysis & Reporting
- ADSelfService Plus Self-Service Password Management
- AD360 Integrated Identity & Access Management
- Log360 (On-Premise | Cloud) Comprehensive SIEM and UEBA
- AD Free Tools Active Directory FREE Tools
