microsoftfeedback / aci-issues

Issue reporting and tracking for the Azure Container Instances service
Creative Commons Attribution 4.0 International
7 stars 0 forks source link

Credentials for Log Analytics Workspace are not validated #43

Open magnus-longva-bouvet opened 3 years ago

magnus-longva-bouvet commented 3 years ago

Observed behaviour: I'm deploying ACI container groups with ARM template. The attributes Microsoft.ContainerInstance/containerGroups/diagnostics.logAnalytics.workspaceId and Microsoft.ContainerInstance/containerGroups/diagnostics.logAnalytics.workspaceKey to not appear to be validated upon deployment. I can enter any workspaceId, e.g. "thisisnotavalidID", and I can enter the wrong workspaceKey for a valid workspaceId, but the container group is still deployed, and log collection by Log Analytics Workspace fails silently.

Expected behaviour: If I try to deploy a container group with invalid Log Analytics Workspace credentials, the deployment should fail. Any combination of workspaceId and workspaceKey which do not correspond to an existing workspace where workspaceKey is a valid key, should fail.