Logic Apps connector outgoing ips incorrect

Michał Dębski 0 Reputation points
2024-10-23T08:23:10.71+00:00

Hi, I am trying to restrict access to a key vault to only ip addresses used by a logic app (we are using terraform to automate this, but it's irrelevant). My logic app is in polandcentral and key vault in westeurope which I think might be causing problems. If I check properties of the logic app for ips this is what I see

User's image

but when executing actions to access key vault I get a forbidden error. I enabled diagnostics logs in the key vault to see the errors and the caller ip is different than the above (or the indicated runtime ips)
User's image

Is this a bug? Do you know how I can restrict access only to the logic app network?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,544 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Deepanshu katara 16,565 Reputation points MVP Moderator
    2024-10-23T09:21:38.53+00:00

    hello , welcome to MS Q&A

    Yes, you can achieve this in Azure Key Vault. Simply go to the Networking section of your Key Vault and whitelist the public IP addresses of your Logic App by adding them. Follow the steps shown in the images below:

    1. Navigate to your Key Vault in the Azure portal.
    2. Select Networking from the menu.
    3. Under Firewall and virtual networks, add the public IP addresses associated with your Logic App.
    4. Save the changes to allow access from these specific IP addresses.

    This will ensure that only requests from the whitelisted Logic App IP addresses can access your Key Vault.

    Please check below Image and links -->https://learn.microsoft.com/en-us/azure/key-vault/general/network-security?WT.mc_id=Portal-Microsoft_Azure_KeyVault

    User's image

    User's image

    kindly accept answer if it helps

    Please let us know if any further questions

    Thanks

    Deepanshu


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.