tyconsulting / azurepolicy

MIT License
146 stars 132 forks source link

diagnostic settings API version not supported #12

Closed ehrnst closed 2 years ago

ehrnst commented 4 years ago

I tried using 2018-06-01 but got this error. image

Looking at in the API docs diagnosticSettings is only mentioned in 2017-05-01-preview. Am I the only one having this issue?

jonathan-vella commented 4 years ago

I have the same issue. Have you managed to find a solution?

ehrnst commented 4 years ago

i am running with 2017-05-01-preview again

AzureStackNinja commented 4 years ago

I have the same problem.

madforchili commented 2 years ago

did 2017-05-01-preview worked? 2016-09-01 was getting different error

"Path: '/subscriptions/xxxxxxxxxxxxxxxx/resourcegroups/af-rg-uat/providers/Microsoft.Network/networkInterfaces/af-ep-kv-uat.nic.xxxxxxxxxxxxxxxx/providers/Microsoft.Insights/diagnosticSettings/setByPolicy' is not supported"

tyconsulting commented 2 years ago

updated API version