# Need assistance in Copying Azure tag

**URL:** <https://forums.powershell.org/t/need-assistance-in-copying-azure-tag/17819>\
**Category:** PowerShell Help\
**Created:** [October 27, 2021, 3:39am UTC](https://forums.powershell.org/t/need-assistance-in-copying-azure-tag/17819 "2021-10-27T03:39:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bala](https://avatars.discourse-cdn.com/v4/letter/b/94ad74/32.png) [@Bala](https://forums.powershell.org/u/Bala)\
**Post date:** [October 27, 2021, 3:39am UTC](https://forums.powershell.org/t/need-assistance-in-copying-azure-tag/17819/1 "2021-10-27T03:39:56Z")

</div>

Need to copy the tags from one of the Azure resource to other & have assigned the existing tags to a variable using Get-Aztag but then when I try to use that variable while creating a new resource it fails.

Please let us know if someone has experienced this issue or any input on this is highly appreciated.

---

<div class="post-metadata">

**Author:** ![matt-bloomfield](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@matt-bloomfield](https://forums.powershell.org/u/matt-bloomfield)\
**Post date:** [October 27, 2021, 9:00pm UTC](https://forums.powershell.org/t/need-assistance-in-copying-azure-tag/17819/2 "2021-10-27T21:00:37Z")

</div>

Hi, welcome to the forum 👋

Please can you share your code and any error messages you receive.  
When posting the code and error messages, please use the \</\> button and paste your code into the section as shown.

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:20pm UTC](https://forums.powershell.org/t/need-assistance-in-copying-azure-tag/17819/3 "2024-05-16T20:20:38Z")

</div>


