Try using with Tag names
Parameter block of an Azure Policy, defining Tag Name and Tag Value
Azure lock resources and Use tags to organize your Azure resources
Please don’t forget to Accept the answer
and up-vote
wherever the information provided helps you, this can be beneficial to other community members.