Skip to content

Commit 45ee854

Browse files
fix: add SecurityControl Ignore tag to Event Hub namespace to allow local auth
1 parent 0110aff commit 45ee854

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

infra/main.bicep

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ var allTags = union(
102102
tags
103103
)
104104

105+
var eventHubTags = union(allTags, {
106+
SecurityControl: 'Ignore' // Required to override MSFT subscription policy controls that enforce disableLocalAuth; local auth needed for Fabric SAS connection
107+
})
108+
105109
resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
106110
name: 'default'
107111
properties: {
@@ -142,6 +146,7 @@ module eventHubNamespaceModule 'br/public:avm/res/event-hub/namespace:0.13.0' =
142146
skuName: 'Standard'
143147
skuCapacity: 1
144148
disableLocalAuth: false // NOTE: local auth is currently needed in order to create connection with Fabric via SAS token
149+
tags: eventHubTags
145150
eventhubs: [
146151
{
147152
name: eventHubName

0 commit comments

Comments
 (0)