Azure / Azure/bicep-types-az

Microsoft.Web/staticSites: The property "type" expected a value of type "'None' | 'SystemAssigned' | 'SystemAssigned, UserAssigned' | 'UserAssigned' | null" but the provided value is of type "'None' | 'SystemAssigned' | 'SystemAssigned,UserAssigned' | 'UserAssigned'".

Open
#1,972 0 comments 0 reactions 0 assignees View on GitHub
No RP Github RP: Microsoft.Web
Dominant language
TypeScript
Stars
108
Forks
44
Avg merge
18h 53m
Merged PRs (30d)
29

Description

### Resource Type

Microsoft.Web/staticSites

### Api Version

2022-09-01

### Issue Type

Inaccurate property type(s)

### Other Notes

The property "type" expected a value of type "'None' | 'SystemAssigned' | 'SystemAssigned, UserAssigned' | 'UserAssigned' | null" but the provided value is of type "'None' | 'SystemAssigned' | 'SystemAssigned,UserAssigned' | 'UserAssigned'".

documentation says: 'None''SystemAssigned''SystemAssigned, UserAssigned''UserAssigned'

https://learn.microsoft.com/en-us/azure/templates/microsoft.web/staticsites?pivots=deployment-language-bicep#managedserviceidentity

### Bicep Repro

_No response_

### Confirm

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect the Microsoft.Web staticSites type definition for API version 2022-09-01 and compare its managed identity `type` union with the linked Azure documentation. Done means the generated definition accepts the documented `SystemAssigned, UserAssigned` value and null consistently with the expected type.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript
Domain
cloud, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.