[Microsoft.Web/connections]: parameterValueType property not supported for system assigned managed identities
Opened this issue · 1 comments
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
- I have read the troubleshooting guide and looked for duplicates.
@macux Thanks for reporting this. So I don't have to :)