Azure / azure-monitor-baseline-alerts

Azure Monitor Baseline Alerts
MIT License
153 stars 223 forks source link

[Question/Feedback]: Deployment template validation fails when selecting Yes to Bring Your Own User Assigned Managed Identity #336

Open john-joyner opened 1 week ago

john-joyner commented 1 week ago

Check for previous/existing GitHub issues

Description

Using the "Deploy to Azure" button in the blog article https://techcommunity.microsoft.com/t5/azure-governance-and-management/enhancements-to-azure-monitor-baseline-alerts-for-azure-landing/ba-p/4231710.

Validation of the deployment fails when electing to use a Custom User Assigned Managed Identity (UAMI). See attached screenshots:

  1. When not selected a Custom UAMI, the Management Subscription Id field is present.
  2. When selecting a Custom UAMI, the Management Subscription Id field is removed.
  3. The template validation fails due to missing 'managementSubscriptionId'

AMBA-Deployment-WithoutCustomUAMI AMBA-Deployment-WithCustomUAMI AMBA-Deployment-WithCustomUAMI-Failure

arjenhuitema commented 6 days ago

Hi @john-joyner, we appreciate you bringing this to our attention. We will look into the issue and respond accordingly.

@tagolovina could you please review this?