0

Is there any way to see the IP restrictions on a Logic App? I would like the ability to verify that the apps running have appropriate IP restrictions. I know there's no command to configure the IP restrictions from powershell but is there anyway some how to see them via powershell? I'm able to view the via resource explorer but I wasn't sure if there's any way to see them via powershell.

1
  • The Azure Resource Explorer has a PowerShell tab, is that not populated for you when you view the part that shows IP restrictions? Commented Mar 26, 2018 at 22:03

2 Answers 2

1

The Ip restrictions is part of the Access Control. you can just query the azure resource directly:

# Don't forget to login with Login-AzureRMAccount

# Get the resource
$myLogicApp = Get-AzureRmResource -ResourceGroupName "rg-name" -ResourceType Microsoft.Logic/workflows -ResourceName my-logic-app-name -ApiVersion 2016-06-01

# Get the ip restrictions:
$myLogicApp.Properties.accessControl.allowedCallerIpAddresses
Sign up to request clarification or add additional context in comments.

Comments

0

$LogicAppConfig.Properties.accessControl.triggers.allowedCallerIpAddresses

1 Comment

Hi! Please take the tour. Thanks for contributing an answer, but can you also add an explanation of how your code solves the problem?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.