Skip to content
Microsoft Warns Stop using PowerShell Scripts for Intune Endpoint IPs and FQDNs

Microsoft Warns Stop using PowerShell Scripts for Intune Endpoint IPs and FQDNs

Written By Anoop C Nair
Last Updated November 26, 2025
Posted In Intune
SHARE

Microsoft Warns Stop using PowerShell Scripts for Intune Endpoint IPs and FQDNs. Many IT admins use PowerShell scripts to get Microsoft Intune IP addresses and FQDNs so they can set up firewalls and proxies. These scripts usually came from the Office 365 Endpoint service and made network setup easier.

But recently, Microsoft made changes that make these scripts unreliable. IP Addresses (IPs) are numerical addresses assigned to servers in Microsoft’s network. Devices use these to communicate with Intune. FQDNs are human readable names like endpoint.microsoft.com, that point to those servers.

If IT teams keep using PowerShell scripts to get Intune IP addresses and FQDNs, devices may stop connecting properly to Intune. This can prevent them from receiving updates, apps, and security policies, which can cause disruptions for employees and slow down work.

Using outdated IPs and FQDNs can also lead to wrong firewall or proxy settings. IT admins may spend extra time fixing connection problems, and devices might miss important updates, creating security risks for the organization.

Patch My PC
Microsoft Warns Stop using PowerShell Scripts for Intune Endpoint IPs and FQDNs - Fig.1
Microsoft Warns Stop using PowerShell Scripts for Intune Endpoint IPs and FQDNs – Fig.1

Microsoft Warns Stop using PowerShell Scripts for Intune Endpoint IPs and FQDNs

Microsoft has updated their documentation with a critical warning that the old PowerShell scripts no longer return accurate data for Intune endpoints. The IP addresses and FQDNs provided by these scripts may be outdated, incomplete, or even incorrect.

  • Continuing to use these old scripts or endpoint lists can cause problems for modern Intune deployments:
    • Devices may fail to connect to Intune services.
    • Updates and apps may not reach the devices.
    • Remote management tasks could stop working.
    • Firewall and proxy rules may be applied incorrectly.
Microsoft Warns Stop using PowerShell Scripts for Intune Endpoint IPs and FQDNs - Fig.2
Microsoft Warns Stop using PowerShell Scripts for Intune Endpoint IPs and FQDNs – Fig.2

Use Official Intune Service Endpoints Guidance

Instead of using old PowerShell scripts, Microsoft recommends using the official Intune service endpoints guidance. Always check the latest documentation or endpoint URLs provided by Microsoft and update your network configurations.

Warning Message from MS – The previously available PowerShell scripts for retrieving Microsoft Intune endpoint IP addresses and FQDNs no longer return accurate data from the Office 365 Endpoint service. Instead, use the consolidated list provided in the MS article. Using the original scripts or endpoint lists from the Office 365 Endpoint service is insufficient and may lead to incorrect configurations.

RecommendationDetailsBenefit
Use official Intune endpointsFollow Microsoft’s latest documentation and URLsEnsures devices connect properly to Intune services
Update firewall & proxy rulesApply rules based on the official endpointsPrevents blocked connections and misconfigurations
Avoid old scriptsDo not use outdated PowerShell scripts for IPs/FQDNsHelps you to Reduces errors and security risks
Regularly check updatesMicrosoft may change endpoints over timeKeeps network configuration accurate and reliable
Microsoft Warns Stop using PowerShell Scripts for Intune Endpoint IPs and FQDNs – Table 1

Microsoft Docs with warning – https://lnkd.in/g2CzjQyy

Need Further Assistance or Have Technical Questions?

Join the LinkedIn Page and Telegram group to get the latest step-by-step guides and news updates. Join our Meetup Page to participate in User group meetings. Also, Join the WhatsApp Community to get the latest news on Microsoft Technologies. We are there on Reddit as well.

Author

Anoop C Nair has been Microsoft MVP from 2015 onwards for 10 consecutive years! He is a Workplace Solution Architect with more than 22+ years of experience in Workplace technologies. He is also a Blogger, Speaker, and Local User Group Community leader. His primary focus is on Device Management technologies like SCCM and Intune. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security, Career, etc.

Written by

Anoop C Nair is Workplace Technology solution architect with 25+ years of experience in global enterprise organizations such as JP Morgan, Capgemini, etc. Microsoft Certified Trainer. Microsoft MVP from 2015 onwards for consecutive 11+ years! He also conducts Intune and modern workplace tech training for enterprise organizations. He is Blogger, Speaker, and Founder of HTMD Community and HTMD Conference. His main focus is on Device Management technologies like Intune, Windows, Cloud PC. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security.

Discussion

Join the discussion

Your email address will not be published. Required fields are marked *

Related guides

Intune

Simplify Windows Devices to Run Only the Required Applications using Intune

Key Takeaways Hey, let’s learn about Simplify Windows Devices to Run Only the Required Applications using Intune. This policy lets administrators replace the default windows shell with a custom or lightweight shell. it improves performance by using system resources and is useful for devices that run a dedicated application. If the policy is disabled or […]

AC Anoop C Nair 8 min read
Intune

Enhance macOS Compliance with Custom Security and Compliance Checks to Improve Device Security using Microsoft Intune

Key Takeaways In this post we are discussing about Enhance macOS Compliance with Custom Security and Compliance Checks to Improve Device Security using Microsoft Intune. Microsoft has announced the general availability of Custom Compliance Settings for macOS in Microsoft Intune. The feature helps organizations strengthen security controls while supporting many types of macOS management scenarios. […]

AC Anoop C Nair 4 min read
Intune

Manage Samsung Galaxy Firmware Versions to Improve Security and Compliance using Microsoft Intune

Key Takeaways In this post we are discussing Manage Samsung Galaxy Firmware Versions to Improve Security and Compliance using Microsoft Intune. Microsoft Intune has received a new update that expands firmware management capabilities for Samsung Galaxy devices through Firmware Versionsintegration. This enhancement gives IT administrators more control over firmware and operating system updates, helping them […]

AC Anoop C Nair 4 min read
Intune

MS Intune Adds Windows Registry Data Collection to Device Inventory for Single Values All Key Values and Subkeys

Key Takeaways Microsoft Intune 2607 introduces Windows Registry Data collection in Device Inventory, allowing IT admins to verify actual device configurations without relying on custom discovery or remediation scripts. Using the Properties Catalog, admins can collect registry information through Single Value, All Values Under a Key (Non-Recursive), or Same Value Across Subkeys. MS Intune Adds […]

AC Anoop C Nair 5 min read