I want to add tag to every new resource that gets created in my azure subscription automatically. I want that tag to be ------ id - "createdby" and value - "id of associate or name of that associate who is creatinf that resource"
Is that possible in microsoft azure?
It is possible in Azure, but for this requirement, it is not possible if you just use Azure policy. Here is a solution that could meet your requirement provided by Microsoft engineer which uses Azure Function and Azure policy. For details see this blog.