Skip to content

call4cloud-code/Intune-ASU-Finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intune Enrollment ASU Discovery

Intune Enrollment ASU Discovery is a Windows desktop tool that identifies the Microsoft Intune enrollment routing stamp returned for a tenant.

Enter a tenant domain such as patchmypc.com. The tool automatically creates a synthetic discovery UPN such as foouser@patchmypc.com, sends a SOAP discovery request to the public Microsoft MDM discovery service, and extracts the enrollment front end hostname and ASU stamp from the response.

The tool can also map known ASU aliases to the corresponding Microsoft Intune backend region on a world map.

What the tool shows

Field Example
Tenant domain contoso.com
Discovery UPN foouser@contoso.com
ASU stamp AMSUA0702
Enrollment hostname fef.amsua0702.manage.microsoft.com
Mapped region East US 2
Mapped location United States / Virginia
Authentication policy Federated
Enrollment version 4.0
Activity ID Correlation identifier returned by the service
Response time Request latency in milliseconds
IP addresses DNS resolution of the returned enrollment host

Features

  1. Query one or more tenant domains
  2. Automatically convert domains into foouser@domain
  3. Send the Windows MDM discovery SOAP request
  4. Extract the enrollment policy and enrollment service URLs
  5. Extract the ASU routing stamp from the returned hostname
  6. Resolve the enrollment hostname through DNS
  7. Map known ASU aliases to a Microsoft Intune backend region
  8. Open a full size world map for the selected result
  9. Export results to CSV or JSON
  10. View the raw SOAP response
  11. Copy the ASU stamp or enrollment hostname
  12. No Microsoft Graph permissions required
  13. No tenant sign in required
  14. No Windows App Runtime dependency

How it works

Tenant domain
    ↓
foouser@tenantdomain
    ↓
POST to the Microsoft MDM discovery service
    ↓
DiscoverResult
    ↓
EnrollmentServiceUrl
    ↓
fef.<asu>.manage.microsoft.com
    ↓
Extract ASU stamp
    ↓
Map known alias to region

The discovery request is sent to:

https://enrollment.manage.microsoft.com/enrollmentserver/discovery.svc

The response normally contains values such as:

AuthPolicy
AuthenticationServiceUrl
EnrollmentPolicyServiceUrl
EnrollmentServiceUrl
EnrollmentVersion
ActivityId

The ASU stamp is extracted from the enrollment service hostname.

Example:

https://fef.amsub0102.manage.microsoft.com/StatelessEnrollmentService/DeviceEnrollment.svc

Becomes:

Service role: fef
ASU stamp: AMSUB0102
Mapped region: West Europe
Mapped location: Netherlands / Amsterdam

What the result means

The result identifies the enrollment front end routing stamp returned by the public MDM discovery service for the supplied tenant domain.

A result such as AMSUB0102 means that the discovery service returned an enrollment endpoint hosted at:

fef.amsub0102.manage.microsoft.com

This is useful when comparing tenant routing during an Intune incident, checking whether several tenants resolve to the same enrollment stamp, or documenting how a tenant is routed during enrollment discovery.

What the result does not prove

The tool does not prove where every Intune workload for the tenant is physically hosted.

The tool does not list every tenant assigned to an ASU.

The tool does not authenticate to the tenant.

The tool does not enroll a device.

The tool does not request an MDM certificate.

The tool does not call Microsoft Graph.

The world map uses a maintained alias table. If Microsoft returns a new or unknown ASU alias, the tool still shows the discovered ASU and hostname, but the map may show that the alias is not mapped yet.

Requirements

Requirement Value
Operating system Windows 10 or Windows 11
Framework .NET Framework 4.8
Build environment Visual Studio 2022 or Visual Studio Build Tools
Visual Studio workload .NET desktop development
Administrator rights Not required
Tenant credentials Not required
Internet access Required

Privacy and security

The tool sends the supplied tenant domain to the public Microsoft MDM discovery endpoint as part of a synthetic UPN.

The tool does not collect passwords, access tokens, refresh tokens, or tenant credentials.

The tool does not upload results to any third party service.

Exports are written only to the location selected by the user.

Disclaimer

This project is an independent diagnostic and research tool. It is not an official Microsoft product.

Microsoft Intune, Microsoft Entra, Windows, and Microsoft Graph are trademarks of Microsoft Corporation.

The internal meaning and lifecycle of ASU aliases are not publicly documented as a stable API contract. Microsoft can change endpoint names, routing behavior, SOAP responses, or backend locations without notice.

License

Add the license that matches how you want the project to be used. MIT is a common option for an open source diagnostic utility.

About

No description, website, or topics provided.

Resources

License

Stars

6 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors