PowerShell Script to disable Public Network Access for Azure Relay

Scenario: PowerShell script to disable Public Network access for Azure Relay
In today’s azure world, it is always better to do automations rather than do a Manual work. It becomes a headache for all of us to navigate to Azure Portal
Here is the simple way to disable Public Network access by using PowerShell script.
Solution:
Please find below steps on how to run the PowerShell script to disable Public Network access for Azure Relay.
Step 1: Login to Azure portal
Step 2: Open Azure PowerShell terminal and connect to your Azure account using any of options mentioned in Authentication Methods
Step 3: Just add the Resource Group name and Subscription Id and Relay namespace.
Step 4: Run the above commands to enable Public Network access for Azure Relay
Reference Links: -
Network security for Azure Relay - Azure Relay | Microsoft Learn
Happy Learning
Published on:
Learn moreRelated posts
Azure SDK Release (February 2025)
Azure SDK releases every month. In this post, you find this month's highlights and release notes. The post Azure SDK Release (February 2025) a...
Announcing the Public Preview of the Azure Cosmos DB SDK for Rust!
We’re excited to announce the public preview of the Azure Cosmos DB SDK for Rust, a native Rust SDK that enables developers to interact with A...
Migrating data from DynamoDB to Azure Cosmos DB
Co-authors: RK Iyer, Mangal Dutta Migrating stateful systems, such as databases, is a complex process. A frequent requirement for customers is...
New Azure Cosmos DB Design Patterns Video Series – Learn, Implement, and Contribute!
We’re excited to introduce the Azure Cosmos DB Design Patterns video series—your go-to resource for learning how to design scalable, efficient...