Need assistance in Copying Azure tag

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.

Hi, welcome to the forum :wave:

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.