[Microsoft.Web/connections]: parameterValueType property not supported for system assigned managed identities
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 44
- Avg merge
- 18h 53m
- Merged PRs (30d)
- 29
Description
### Resource Type
Microsoft.Web/connections
### Api Version
2016-06-01
### Issue Type
Missing property(s)
### Other Notes
After creating a logic app with a system assigned managed identity and an API connector to azure container instances I received the error:
> The workflow connection parameter '' is not valid. The API connection '' is not configured to support managed identity.
In order to use a system assigned managed identity the `parameterValueType` property is required on the api connection:
```
resource connection 'Microsoft.Web/connections@2016-06-01' = {
...
properties: {
...
parameterValueType: 'Alternative'
api: {
id: ...
}
}
}
```
However the following warning is reported:
> The property "parameterValueType" is not allowed on objects of type "ApiConnectionDefinitionProperties"
This can then be used as a parameter on a `Microsoft.Logic/workflows` resource using a managed identity in its `connectionProperties`:
```
parameters: {
'$connections': {
value: {
myConnection: {
id: ...
connectionId: ...
connectionProperties: {
authentication: {
type: '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
Start with the Microsoft.Web/connections type definition for API version 2016-06-01 and trace how ApiConnectionDefinitionProperties is represented. Add support for parameterValueType so the shown managed-identity connection is accepted without a warning, then run the relevant type-validation checks if available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, typescript
- Domain
- cloud, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100