Is there any way to assign Azure policy on subscription level to Add a tag to resources with email id of creator (who creates the resource whether its from portal, ARM template or PowerShell.)
Is there any way to assign Azure policy on subscription level to Add a tag to resources with email id of creator (who creates the resource whether its from portal, ARM template or PowerShell.)
For people who are looking for the same solution-
I was able to fulfil this requirement by following below document-
I got some issue as my account was Contributor and script in the document creating Identity for Azure Function with assigning Tag Creator and Reader role to the same.
So make sure your account have Owner rights on subscription, if not then once script completed successfully then ask Owner to add these 2 roles in Function's identity section.
@Amjadnagori-3172 Glad to see your issue is solved. Thanks for sharing your valuable insights for benefit of the community.
5 people are following this question.