最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

azure - How to explain inconsistent API Management IP address of forwarded requests? - Stack Overflow

programmeradmin3浏览0评论

I have:

  • A Consumption Function App

  • An APIM API connected to the Function App backend - no additional customisations or policies

    • There is a static IP (Developer tier)

I turn on traffic rules for the Function App with the following rules:

  • <APIM static IP> - Allow

  • Default - Deny

The results of this:

  • From Postman I get a successful response from my Function App endpoint

  • From Power Automate using a HTTP action I get a 403 with an x-ms-forbidden-ip from the known Logic Apps address range

x-ms-forbidden-ip error header

After this I update the traffic rules on the Function App with a Service Tag:

  • LogicApps.<region> - Allow

This, of course, now allows that traffic from Power Automate HTTP actions.

My question is - what is APIM doing internally for the Function App to see a different IP for each request source?

I have tried reviewing documentation and like this and using different traffic rules, but cannot find any new information or documentation to explain the behaviour.

发布评论

评论列表(0)

  1. 暂无评论