Forum Discussion

pleeman's avatar
pleeman
Copper Contributor
May 06, 2025
Solved

Intune URLs - Default Category Seems to Include Non-Applicable URLs

I've run a PowerShell script that returns the URLs and IP ranges required by Intune but it seems to return URLs that should not be required such as Cortana.ai, itunes.apple.com, virtualearth.net, assets-yammer.com, platform.linkedin.com and many others.  Those listed are in the default category.  Does anyone know of a script I can use that just returns URLs and IP ranges essential for Intune, or what I can do to modify the code I am using to do the same.  Below is the code I use to collect the IPs\URLs.

(invoke-restmethod -Uri ("https://endpoints.office.com/endpoints/WorldWide?ServiceAreas=MEM`&`clientrequestid=" + ([GUID]::NewGuid()).Guid)) | ?{$_.ServiceArea -eq "MEM" -and $_.urls}

 

Regards,

Pete.

  • True, but in my experience, the URLs rarely change. It is the IPs associated with the URLs that change regularly. 

4 Replies

Resources

OSZAR »