Hi
you can do this with Azure Policy, details here:
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings-policy
Hope this helps,
Thanks
Michael Durkan
- If the reply was helpful please upvote and/or accept as answer as this helps others in the community with similar questions. Thanks!