Azure / Azure/bicep-types-az

[Microsoft.OperationalInsights/workspaces]: Warning BCP187 on system assigned identity

Open
#1,885 1 comment 0 reactions 0 assignees View on GitHub
Operational Insights Service Attention
Dominant language
TypeScript
Stars
108
Forks
44
Avg merge
18h 53m
Merged PRs (30d)
29

Description

### Resource Type

Microsoft.OperationalInsights/workspaces

### Api Version

2020-08-01

### Issue Type

Other

### Other Notes

Creating a logAnalyticsWorkspace in bicep with a system assigned identity issues a Warning BCP187, while specified in documentation @ https://learn.microsoft.com/en-us/azure/templates/microsoft.operationalinsights/workspaces?pivots=deployment-language-bicep

### Bicep Repro

``` bicep
resource logAnalyticsWorkspace 'Microsoft.OperationalInsights/workspaces@2020-08-01' = {
name: 'MyLogAnalyticsWorkspace'
location: resourceGroupLocation
identity: {
type: 'SystemAssigned'
}
properties: {
sku: {
name: 'pergb2018'
}
}
}
```

### Confirm

- [X] I have read the troubleshooting guide and looked for duplicates.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the provided Bicep repro for Microsoft.OperationalInsights/workspaces@2020-08-01 and compare it with the linked Azure template documentation. Reproduce the BCP187 warning for the system-assigned identity; done means the documented identity configuration no longer produces that warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.