Skip to content

WebApp:Remove-AzWebAppAccessRestrictionRule.md in AzureDevOps Services #13553

Closed
@ktdixit

Description

@ktdixit

I want to use below 3 commands in AzureDevOps Services. Please guide how to use this:

I am installing Powershell Module as a 1st Task: Install-Module -Name Az -AllowClobber -Force -Scope CurrentUser

#1: Removing existing IPRule

Remove-AzWebAppAccessRestrictionRule -ResourceGroupName $AzureResourceGroupName -WebAppName $AzureFunctionAppName -Name MultipleIpRule

#2: Removing the ServiceTag

Remove-AzWebAppAccessRestrictionRule -ResourceGroupName $AzureResourceGroupName -WebAppName $AzureFunctionAppName -Name ServiceTagRule -ServiceTag AzureCloud

#3: Removing the Subnet & VirtualNetwork name

Remove-AzWebAppAccessRestrictionRule -ResourceGroupName $AzureResourceGroupName -WebAppName $AzureFunctionAppName -Name SubnetRule -Priority 100 -Action Allow -SubnetName default -VirtualNetworkName abc-def-vnet

Error Message:
##[error]Unable to deserialize the response.
##[error]PowerShell exited with code '1'.

Metadata

Metadata

Assignees

Labels

App Servicesaka WebSitesService AttentionThis issue is responsible by Azure service team.customer-reportedquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions