Forum Discussion
Bhavpreet Bains
May 28, 2018Iron Contributor
Trusted IPs list and Powershell
Hello,
I am trying to get all Trusted IPs in a powershell script. Does anyone know if there is some Powershell cmdlets or Graph API to fetch them?
Thank you.
2 Replies
- Prashant DivakaranBrass Contributor
Hello Bhavpreet,
Microsoft Maintains their IP addressing on this XML file : https://support.content.office.net/en-us/static/O365IPAddresses.xml
You can either write your own powershell to parse this XML or use this one which already does it for you
https://gallery.technet.microsoft.com/office/Get-Office-365-IP-v4-562987d5
- Bhavpreet BainsIron Contributor
Thank you, Prashant.
This is Microsoft maintained IP list. However, I looking for one's that we register in Azure MFA.