如何查找用于白名单的Azure Function App IP [英] How to find Azure Function App IP for white-listing

查看:107
本文介绍了如何查找用于白名单的Azure Function App IP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了一个PowerShell脚本,每天使用MX记录DNS将邮件发送给指定的用户.邮件已成功传递,但所有邮件都将进入垃圾邮件"文件夹.

I have developed a PowerShell script to send mail to specified users using MX record DNS once in a day. Mails are delivered successfully but all mails are going in to Junk folder.

Exchange小组分析了邮件头,并答复说发件人IP地址需要列入白名单.

Exchange team have analyzed the message header and responded that sender IP addresses needs to be white-listed.

在我为Function App使用消费计划时,如何查找Azure Function IP或IP范围.

How to find Azure Function IP or IP range as I am using Consumption plan for my Function App.

关于, 森希尔拉詹(K Senthilrajan)

Regards, K Senthilrajan

推荐答案

Azure功能背后的后台是一个Azure应用服务.那么,如何找到它使用的IP地址?

In the background behind an Azure Function is an Azure App Service. So, how do you find the IP addresses it use?

应用服务设置"页面中包含" 当前 出站IP地址"部分,请参见

There is the section containing current outbound IP addresses in the App Service settings page, see

但是请记住,由于该平台是PaaS服务,因此它可能会在没有任何通知的情况下迁移到其他硬件,并获得完全不同的出站IP地址集.

But keep in mind, since the platform is a PaaS service, it might, without any notice, move to other hardware and get a totally different set of outbound IP addresses.

有关与Azure支持的详细信息,请参见 Twitter对话.讨论的结论是IP范围不是静态的,并且可能会发生变化.

See this twitter conversation with Azure Support, for more details. Conclusion of the discussion is the IP range is not static and may change.

了解Azure功能可能使用的IP的唯一肯定方法是引用Microsoft Azure发布的包含

The only surefire way to know what IP's an Azure Function may be using, is to refer to the XML document published by Microsoft Azure that contain the entire IP range of all data centers, making this task a little difficult to implement.

这篇关于如何查找用于白名单的Azure Function App IP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆