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
Copilot Code Reviews for Azure Repos
Over the last several years, we have encouraged customers to move their repositories from Azure Repos to GitHub to take advantage of the lates...
Enterprise Live Migrations: Moving from Azure DevOps Repo to GitHub with minimal disruption
Over the last several years, we’ve encouraged customers to move their repositories from Azure Repos to GitHub to take advantage of the latest ...
Enterprise Live Migrations: Moving from Azure DevOps Repo to GitHub with minimal disruption
Over the last several years, we’ve encouraged customers to move their repositories from Azure Repos to GitHub to take advantage of the latest ...
Introducing Azure HorizonDB - PostgreSQL
Run enterprise Postgres workloads on Azure HorizonDB with around 3x the throughput of self-managed deployments — zone-resilient by default, no...
Azure DevOps and GitHub: Journeying into the AI Era
AI is changing how software gets planned, built, and reviewed. As teams adopt agentic development, the platform underneath those workflows mat...