Skip to content
How to Handle Unexpected Domains in Intune URL Script Output Cortana iTunes and LinkedIn in Default Category

How to Handle Unexpected Domains in Intune URL Script Output Cortana iTunes and LinkedIn in Default Category

Written By Anoop C Nair
Last Updated May 12, 2025
Posted In Intune
SHARE

Let’s discuss how to handle unexpected Domains in Intune URL Script Output Cortana iTunes and LinkedIn in Default Category. IT admins have noticed that PowerShell scripts designed to collect Intune URLs and IP ranges sometimes include unexpected domains like Cortana.ai, itunes.apple.com, virtualearth.net, and platform.linkedin.com.

These domains are not related to Intune’s core functionality and can cause confusion when configuring network settings. These domains show up under the Default category, even though they are not directly related to Intune.

This has caused confusion and concerns about whether the scripts are accurate and if firewall rules are too broad. In this post, you’ll find all the details about an issue where the Intune URLs list, specifically the Default category, includes non-applicable domains.

IT admins have observed that PowerShell scripts meant to gather the necessary URLs and IP ranges for Intune often return unexpected domains like Cortana.ai, itunes.apple.com, and platform.linkedin.com. These domains are not directly related to Intune’s core functionality.

Patch My PC
How to Handle Unexpected Domains in Intune URL Script Output Cortana iTunes and LinkedIn in Default Category - Fig.1
How to Handle Unexpected Domains in Intune URL Script Output Cortana iTunes and LinkedIn in Default Category – Fig.1

How to Handle Unexpected Domains in Intune URL Script Output

The below PowerShell command is used to retrieve a list of network endpoints related to Microsoft Intune. It makes a request to Microsoft’s public API, specifically asking for the “WorldWide” endpoints that belong to the Intune service.

  • Sign in to the Microsoft Intune admin center.
  • Select Devices > Scripts and remediations > Platform scripts > Add > Windows 10 and later.
(invoke-restmethod -Uri ("https://endpoints.office.com/endpoints/WorldWide?ServiceAreas=MEM`&`clientrequestid=" + ([GUID]::NewGuid()).Guid)) | ?{$_.ServiceArea -eq "MEM" -and $_.urls}
How to Handle Unexpected Domains in Intune URL Script Output Cortana iTunes and LinkedIn in Default Category - Fig.2
How to Handle Unexpected Domains in Intune URL Script Output Cortana iTunes and LinkedIn in Default Category – Fig.2

Monitoring IP Changes Not URLs

The main concern when configuring network settings for Intune is the frequent change of IP addresses associated with the service URLs, rather than the URLs themselves. While the URLs for Intune services remain stable, the IP ranges can change more regularly, which is what impacts your firewall and network configurations.

To manage this, it’s important to focus on monitoring the IP ranges rather than the URLs. Since the Microsoft endpoint list includes both URLs and IP ranges, you can track the IP ranges over time to ensure your network settings remain accurate.

Automating IP Range Updates with Scripts

To manage the frequent changes in IP addresses, automate the process of fetching the most up-to-date list of IP ranges associated with Intune endpoints. By using a script, you can regularly pull updated IP ranges from the published Microsoft Intune endpoints API or the official list.

To implement this, modify the existing PowerShell script to focus on updating IP ranges rather than tracking URL changes. This will help ensure that your firewall and network configurations stay accurate and up-to-date, eliminating the need for manual checks every time the IP ranges change.

How to Handle Unexpected Domains in Intune URL Script Output Cortana iTunes and LinkedIn in Default Category - Fig.3
How to Handle Unexpected Domains in Intune URL Script Output Cortana iTunes and LinkedIn in Default Category – Fig.3

Using the Official Published List

The official Microsoft Intune endpoints list, available in the documentation, generally covers all the network requirements for setting up firewalls and network configurations. Since URLs rarely change, you can primarily rely on this list for your network setup, while periodically checking for updates to the IP ranges.

Read more – Network endpoints for Microsoft Intune | Microsoft Learn

Practical Approach

To manage your network more easily, use dynamic filtering by IP range and rely on the official Microsoft IP range data for Intune, Exchange, and O365. This lets you focus on monitoring IP changes instead of worrying about URL updates.

Set up a recurring task to automatically fetch and update the IP ranges for these services, ensuring your firewall or network perimeter stays current without needing manual changes when URLs change.

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.

Resources

Intune URLs – Default Category Seems to Include Non-Applicable URLs | Microsoft Community Hub

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