This directory is shared by all VM extensions and individual extensions should not change its properties. This is affecting customers that have set a specific mode on the directory and it get reset every time extensions execute if OMS has been installed.
The OMS Agent is resetting the mode of /var/log/azure every time it is executed: https://github.com/Azure/azure-linux-extensions/blob/master/OmsAgent/omsagent.py#L182
This directory is shared by all VM extensions and individual extensions should not change its properties. This is affecting customers that have set a specific mode on the directory and it get reset every time extensions execute if OMS has been installed.