Azure function app IP restriction

pjkais2003 20 Reputation points
2023-01-27T14:24:57.5033333+00:00

Hello, is it possible to apply the IP address list in the Networking/inbound traffic/access restriction part of a Function App using Azure policy?

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
788 questions
0 comments No comments
{count} votes

Accepted answer
  1. Luke Murray 10,526 Reputation points MVP
    2023-01-28T05:13:52.3333333+00:00

    Yes, you can.

    Here is a base policy; you can edit the IPAddress, and Name fields to match your environment.

    Source: https://gist.githubusercontent.com/rcabr/2830eda6e1192431198e376fa13ddbc6/raw/a157196b95767266e0e878205908463a14150604/WebApp-default-IP-restrictions-deploy.json

    User's image


0 additional answers

Sort by: Most helpful