Configuring Outbound Access Restrictions for Azure AI Service

Mithila Lishan 111 Reputation points
2025-01-07T11:12:44.41+00:00

I have created an Azure AI service and need to restrict its outbound access. According to the documentation, the following Azure CLI command must be executed

az rest -m patch -u /subscriptions/{subscription ID}/resourceGroups/{resource group}/providers/Microsoft.CognitiveServices/accounts/{account name}?api-version=2021-04-30 -b '{"properties": { "restrictOutboundNetworkAccess": true, "allowedFqdnList": [ "microsoft.com" ] }}'

Instead of using the CLI command, is it possible to configure the same settings through the Azure portal user interface?

Additionally, if I only want to restrict outbound traffic for app services, should I use "azurewebsites.net" instead of "microsoft.com" in the configuration?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,143 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,040 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.