1

Trying to onboard my Azure subscription in Cortex Cloud, I execute the bash script in Azure bash CLI. After fixing some role issues, I now get the following error:

The limit of 5 diagnostic settings was reached. To create new setting 'CortexMonitorAadDiagnosticSettings-m-o-45741-fukl4vdzmw', delete an existing one.

Full error:

ERROR: {"status":"Failed","error":{"code":"DeploymentFailed","target":"/providers/Microsoft.Management/managementGroups/<mgmt-group-id>/providers/Microsoft.Resources/deployments/cortex-policy-m-o-123456789","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"Conflict","target":"/providers/microsoft.aadiam/diagnosticSettings/CortexMonitorAadDiagnosticSettings-m-o-45741-fukl4vdzmw","message":"{\r\n  \"code\": \"Conflict\",\r\n  \"message\": \"The limit of 5 diagnostic settings was reached. To create new setting 'CortexMonitorAadDiagnosticSettings-m-o-45741-fukl4vdzmw', delete an existing one.\"\r\n}"}]}}

When looking for diagnostic settings in the Azure dashboard, I only see the diagnostic settings generated by the script:

Screenshot of the diagnostic settings showing 5 items

So how could I avoid reaching the limit of 5 diagnostic settings? How to increase the limit of 5? is this really the issue?

New contributor
Adrien W is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.