CmdID / az / az webapp / az webapp config / az webapp config access-restriction
az webapp config access-restriction remove
Removes an Access Restriction from the webapp. Azure CLI reference
3 examples 9 options Its page in the Azure CLI reference
Examples
Remove Access Restriction named developers from the main site.
az webapp config access-restriction remove -g ResourceGroup -n AppName --rule-name developersIdentify-gName of resource group.-nname of the web app.--rule-nameName of the access restriction to removeRemove Access Restriction named internal_agents from the scm site.
az webapp config access-restriction remove -g ResourceGroup -n AppName --rule-name internal_agents --scm-site trueIdentify-gName of resource group.-nname of the web app.--rule-nameName of the access restriction to remove--scm-siteTrue if access restriction should be removed from scm siteRemove Access Restriction with service tag AzureFrontDoor.Backend from the main site.
az webapp config access-restriction remove -g ResourceGroup -n AppName --service-tag AzureFrontDoor.BackendIdentify-gName of resource group.-nname of the web app.--service-tagService Tag (optional comma separated list of up to 8 tags)Options
--actionAllow or deny access--ip-addressIP address or CIDR range (optional comma separated list of up to 8 ranges)--name--rule-name, -rName of the access restriction to remove--scm-siteTrue if access restriction should be removed from scm site--service-tagService Tag (optional comma separated list of up to 8 tags)--skip-service-tag-validation, -kSkip validating public service tags--subnetSubnet name (requires vNet name) or subnet resource id--vnet-namevNet name