Azure-cli: Bypass firewall for Microsoft service option in 'az eventhubs namespace network-rule add'

Created on 7 Apr 2020  Â·  12Comments  Â·  Source: Azure/azure-cli

When I create an eventhub namespace and eventhub using Azure CLI, by default 'Allow trusted Microsoft services to bypass this firewall?' option is set to 'No' under 'Firewalls and virtual networks'.

I don't see any option to turn this to 'Yes' in 'az eventhubs namespace network-rule add' CLI command. Can't this option be turned to 'Yes' from CLI command?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Event Hubs Service Attention customer-reported

Most helpful comment

@jfggdl @dsouzaarun @v-Ajnava Hi, Its been a month now and I dont see any update on this issue. Can you please provide me some details on this?

All 12 comments

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jfggdl.

eventhubs

@jfggdl @yonzhan Hi Team, Any update on this?

eventhubs service can help update.

@jfggdl @dsouzaarun @v-Ajnava Hi, Its been a month now and I dont see any update on this issue. Can you please provide me some details on this?

+1 -- same issue. "network-policy add" does not work for this purpose either.

Is there any means via the az CLI to set the "defaultAction" in the resource below? I have only been able to change it manually via the online portal.

az eventhubs namespace network-rule list --resource-group {redacted} --namespace-name {redacted}

{ "defaultAction": "Deny", "id": "/subscriptions/{redacted}/resourceGroups/{redacted}/providers/Microsoft.EventHub/namespaces/{redacted}/networkRuleSets/default", "ipRules": [ ], "location": "East US", "name": "default", "resourceGroup": "{redacted}", "type": "Microsoft.EventHub/Namespaces/NetworkRuleSets", "virtualNetworkRules": [] }

Any updates on this feature yet? Everytime I update the settings, it redacts to "no" bit frustrating

We are investigating this issue and will share an update by 11/4/2020.

@samuelkoppes do you have any updates? I wanna introduce this option to TF provider

@samuelkoppes looks like that package eventhub = 2018-01-01-preview do not have the suitable option ...

Was this page helpful?
0 / 5 - 0 ratings