Microsoft Graph beta and Intune admin center behaviour that Setting Lens for Intune relies on, found by checking real tenants with read-only calls and by opening pages in the admin center. Graph beta changes without notice, so treat each note as “true when written”. Code comments point here by section anchor. Ids, names and values below are placeholders.
Device pages are hash routes on https://intune.microsoft.com/. Two forms open a managed device:
| Form | Hash | Where it comes from |
|---|---|---|
| Current | #view/Microsoft_Intune_ManagedDevices/ManagedDeviceMenu.MenuView/~/<section>/managedDeviceId/<guid> |
Clicking a device in “Windows devices” or “All devices” |
| Legacy | #view/Microsoft_Intune_Devices/DeviceSettingsMenuBlade/~/<section>/mdmDeviceId/<guid> |
Old links and bookmarks; still opens the device and the address stays in this form |
<section> follows the device menu (overview, deviceConfiguration, and so on); the device id stays in the address on every section.<guid> is the Intune managed device id (managedDevices/{id}) in both forms./(?:managedDeviceId|mdmDeviceId)\/([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/i on the hash.overview section.Navigation:
history.pushState. No hashchange fires; popstate and hashchange fire only for direct hash assignment or back and forward.chrome.tabs.onUpdated (changeInfo.url) sees every pushState change, so the panel’s own listener is enough; no message from the service worker is needed.sandbox-*.reactblade.portal.azure.net), and the portal’s Graph calls come from there. The extension never injects into or reads from the portal’s content.Behaviour in Microsoft Edge and Google Chrome is the same.
https://<extension id>.chromiumapp.org/ (chrome.identity.getRedirectURL() gives the same form in Edge and Chrome).loginRedirect with onRedirectNavigate returning false, the address handed to chrome.identity.launchWebAuthFlow({ interactive: true }), and the response passed to handleRedirectPromise({ hash, navigateToLoginRequestUrl: false }). Response mode is fragment with an auth code.chrome-extension://...) against an SPA registration works without a cross-origin error and without a host permission for login.microsoftonline.com.acquireTokenSilent with CacheLookupPolicy.RefreshToken gets a new token without UI.prompt=none through launchWebAuthFlow({ interactive: false }) gets a new code and token without any window.sessionStorage is per panel instance, so MSAL starts with no cached account. The panel goes straight to prompt=none; the “Sign in” button is only needed for an expired Entra session or missing consent.graph.microsoft.com only.The admin center’s “Add settings” picker:
BitLocker before BITS).Graph:
GET /deviceManagement/configurationCategories?$filter=platforms has 'windows10' and technologies has 'mdm' and parentCategoryId eq '00000000-0000-0000-0000-000000000000' returns the picker’s root categories.parentCategoryId set to the empty GUID; rootCategoryId points to the root at every level.displayName (case-insensitive) at each level.platforms and technologies are comma lists. Paging a filtered list needs the $skiptoken link; a filtered page may be empty while more pages follow.Category filters per platform:
| Platform | Filter | Notes |
|---|---|---|
| Windows | platforms has 'windows10' and technologies has 'mdm' |
|
| iOS, macOS | platforms has 'iOS' (or 'macOS') and (technologies has 'mdm' or technologies has 'appleRemoteManagement') |
Declarative categories carry appleRemoteManagement only; shared Apple categories carry platforms iOS,macOS. |
| Android | platforms has 'androidEnterprise' and technologies has 'android' |
Some categories carry androidEnterprise,aosp. |
| Linux | platforms has 'linux' and technologies has 'linuxMdm' |
Returns nothing, also with technologies eq 'linuxMdm', although the category “Linux Custom Configuration” exists and answers GET configurationCategories/<id>. Categories a filter misses are read one by one. platforms has 'linux' alone returns Defender (microsoftSense) categories only. |
The Settings Catalog has its own root called Administrative Templates (ADMX-backed Windows settings), so the branch for template profiles (groupPolicyConfigurations) is named Administrative Templates (template profiles) and sorts after the Catalog roots.
Report responses:
POST reports/getConfigurationPoliciesReportForDevice and POST reports/getConfigurationSettingsReport answer with content type text/plain; POST reports/getGroupPolicySettingsDeviceSettingsReport with application/octet-stream. All three bodies are the usual Schema and Values JSON, so responses are read with response.text() and JSON.parse, never by content type.skip and top (TotalRowCount tells how many rows there are). Columns may come back in another order than requested, and extra _loc columns come with their base columns.Device report (getConfigurationPoliciesReportForDevice):
PolicyBaseTypeName clause. The portal sends four base types, and no other appears on any platform: Microsoft.Management.Services.Api.DeviceConfiguration (Custom and legacy templates), DeviceManagementConfigurationPolicy (Settings Catalog), DeviceConfigurationAdmxPolicy (Administrative Templates), Microsoft.Management.Services.Api.DeviceManagementIntent (endpoint security intents).IntuneDeviceId, PolicyBaseTypeName, PolicyId, PolicyStatus, UPN, UserId, PspdpuLastModifiedTimeUtc, PolicyName, UnifiedPolicyType.UnifiedPolicyType values seen on iOS: Custom, DeviceFeatures, DeviceRestrictions, Email, ScepCertificate, SettingsCatalog, TrustedCertificate.Per-setting reports:
| Kind | Report | Select |
|---|---|---|
| Settings Catalog | getConfigurationSettingsReport |
SettingName, SettingStatus, ErrorCode, SettingId, SettingInstanceId; an unknown column answers 400 |
| Administrative Templates | getGroupPolicySettingsDeviceSettingsReport |
SettingName, SettingStatus, ErrorCode, SettingId; answers 500 without a select |
| Custom and legacy templates | getConfigurationSettingNoncomplianceReport (the portal’s “Profile Settings” blade) |
SettingName, SettingStatus, ErrorCode, SettingInstanceId, SettingInstancePath |
| Endpoint security intents | getDeviceManagementIntentSettingsReport (the portal’s “Policy Settings” blade) |
SettingName, SettingStatus, ErrorCode, SettingInstanceId, LocalizedSettingName, with search: "" |
(PolicyId eq '<id>') and (DeviceId eq '<id>') and (UserId eq '<id>'). UserId is the one on the profile’s row in the device report (a device row has the zero GUID); another user’s id returns no rows.SettingName set to the profile type and SettingInstancePath root\ccm\cimodels:CustomConfiguration.Key='<OMA-URI>',Type=<n>, with the OMA-URI as entered. Legacy template rows name <ODataTypeInPascalCase>.<PropertyInPascalCase>Backing with the CSP path in SettingInstancePath. Intent rows name the setting’s definitionId without its deviceConfiguration-- prefix, with the display name in LocalizedSettingName_loc. An iOS device features row named IOSDeviceFeaturesConfiguration.IOSSingleSignOnExtension.UnderlyingType with SettingInstancePath <policyId>/Type.false or left at "notConfigured" may have no row.managedDevices/{id}/deviceConfigurationStates answers 429, also when filtered to one profile, so it is not used.Status integers (PolicyStatus, SettingStatus, the same in every report): 1 Not applicable, 2 Succeeded, 5 Error. Empty means not reported.
getAssignmentFiltersStatusDetails answers 200 for profiles, apps and remediations, but may return empty evalutionSummaries (spelled that way) for a device, for example one that has not synced for a long time. The filter result is then unknown, and an assignment that depends on it resolves as Uncertain.Device operatingSystem values:
| Platform | operatingSystem |
Notes |
|---|---|---|
| Windows | Windows |
|
| iOS and iPadOS | iOS |
A user enrollment iPhone has deviceEnrollmentType userEnrollment, managementAgent mdm; device-scoped profiles report Not applicable on it. |
| macOS | macOS |
|
| Android | Android |
|
| Linux | Linux (<distribution>), for example Linux (ubuntu) |
Settings Catalog platforms and technologies:
| Platform | platforms |
technologies |
Other values |
|---|---|---|---|
| iOS | iOS |
mdm,appleRemoteManagement |
enrollment (enrollment profiles, not settings) |
| macOS | macOS |
mdm,appleRemoteManagement |
enrollment |
| Android | androidEnterprise (some androidEnterprise,aosp) |
android |
|
| Linux | linux |
linuxMdm |
Apple setting ids:
<PayloadType>_<Key>. Restrictions keys sit in a group collection per payload type, com.apple.applicationaccess_com.apple.applicationaccess, with each key a child such as com.apple.applicationaccess_allowcamera (name allowCamera, the payload key). The Catalog setting is a child of the payload group, not a top-level setting.<definitionId>_true and <definitionId>_false; the definition’s options carry optionValue "true" and "false" (strings). Some choices use numbers (..._0).ddm-latestsoftwareupdate_ddm-latestsoftwareupdate with ddm-latestsoftwareupdate_delayindays.com.apple.servicemanagement, privacy rules com.apple.TCC.configuration-profile-policy, com.apple.notificationsettings). PayloadEnabled is not a setting.Custom profile shapes:
| Type | Properties | Plain GET returns the file |
|---|---|---|
iosCustomConfiguration |
payload (base64 XML property list, CRLF line ends), payloadName, payloadFileName |
Yes |
macOSCustomConfiguration |
same, plus deploymentChannel (deviceChannel) |
Yes |
$select of a derived property on the base collection answers 400, and the cast segment /<id>/microsoft.graph.<type> has no route, so a candidate profile is read with a plain GET.
Android: a new template profile stores deviceDefault, none and allowAllExceptGoogleAccounts for settings left at the portal’s default; these count as not configured. A Wi-Fi template’s networkName is a generated id, not the network name the portal shows. Settings Catalog profiles for corporate-owned work profile devices are not reported for personally owned work profile devices.
Linux:
templateReference.templateFamily deviceConfigurationScripts, template “Custom Configuration” (92439f26-2b30-4503-8429-6d40f7e172dd_1). They are created under Devices > Scripts and remediations > Platform scripts; there is no Linux profile type under Devices > Configuration.linux_customconfig_script (string, base64), with siblings linux_customconfig_executioncontext (_user, _root), linux_customconfig_executionfrequency and linux_customconfig_executionretries. The extension shows the script’s size, never its body.Intent templates:
| Call | Properties |
|---|---|
GET /beta/deviceManagement/templates/<templateId> |
displayName, templateType (securityTemplate), templateSubtype, versionInfo, isDeprecated, platformType |
GET /beta/deviceManagement/templates/<templateId>/categories |
value[]: id, displayName, hasRequiredSetting |
GET /beta/deviceManagement/templates/<templateId>/categories/<categoryId>/settingDefinitions?$select=id,displayName |
value[]: id (equals the intent setting’s definitionId), displayName |
GET /beta/deviceManagement/intents/<id>/settings |
value[]: @odata.type, id, definitionId, valueJson, value; an unset string is "notConfigured" |
Newer pages:
| Page | Collection | Notes |
|---|---|---|
| Devices > Manage devices > Maintenance windows | configurationPolicies with templateReference/templateFamily eq 'maintenanceWindows' |
Configuration policies with their own template family. Their platforms and technologies are not recorded, so they are not collected yet. |
| Devices > Manage devices > Intune recovery > Configuration | Same with templateFamily eq 'windowsRecoveryAndRemediationConfiguration' |
Same shape. |
| Devices > Manage devices > Deployments (preview) | deployments?$filter=mode eq microsoft.graph.deviceAndAppManagementDeploymentMode'active' |
Ring rollouts of existing policies; no settings of their own. |
| Devices > Windows updates | windowsFeatureUpdateProfiles, windowsQualityUpdatePolicies, windowsDriverUpdateProfiles, each with $expand=assignments |
windowsQualityUpdateProfiles (expedite) is a separate collection. |
Assignments of the other kinds: deviceConfigurations/<id>/assignments, intents/<id>/assignments and configurationPolicies('<id>')/assignments.
Administrative Templates: Graph allows only one $expand level on groupPolicyConfigurations/{id}/definitionValues (400, “The maximum depth allowed is 1”). Definition values are read with $expand=definition, and their presentation values with one call per value. ADMX-backed Settings Catalog settings give a parent and its children the same OMA-URI, so the OMA-URI alone does not tell a parent setting from its children.
Custom (OMA-URI) string values come back encrypted; the extension shows *** for them.
All forms are hash routes under https://intune.microsoft.com/#view/. <name> is encodeURIComponent of the display name. A wrong policyType opens the wrong blade (an imported ADMX profile opened with policyType~/10 shows “No Name”, Android Enterprise, Custom), so a type without a recorded number gets no link.
Profiles:
| Kind | Form |
|---|---|
| Settings Catalog, Windows | Microsoft_Intune_Workflows/PolicySummaryBlade/policyId/<id>/isAssigned~/true/technology/mdm/templateId//platformName/windows10 |
| Settings Catalog, other platforms | the same with technology/<the policy's technologies> and platformName iOS, macOS, androidEnterprise |
| Linux script | the short Catalog form with technology/linuxMdm/templateId//platformName/linux |
| Administrative Templates, imported ADMX | Microsoft_Intune_DeviceSettings/PolicySummaryReportBlade/policyId/<id>/showReporting~/true/policyType~/71/isAssigned~/true/policyJourneyState~/7/policyName/<name> |
| Administrative Templates, built in | Microsoft_Intune_DeviceSettings/PolicySummaryReportBlade/policyId/<id>/policyName/<name>/policyJourneyState~/0/policyType~/10/isAssigned~/true (not checked) |
| Custom and legacy templates | Microsoft_Intune_DeviceSettings/PolicySummaryReportBlade/policyId/<id>/policyName/<name>/policyJourneyState~/0/policyType~/<n>/isAssigned~/true |
Update rings (windowsUpdateForBusinessConfiguration) |
Microsoft_Intune_DeviceSettings/SoftwareUpdatesConfigurationSummaryReportBlade/id/<id>/softwareUpdatesType/windows/configurationName/<name>/policyId/<id>/policyType/Windows10DesktopSoftwareUpdate/policyJourneyState/WindowsUpdates/policyName/<name> |
| Endpoint security intent | Microsoft_Intune_Workflows/IntentReportPerIntentMenu/~/overview/intentId/<id>/intentName/<name>/templateId/<templateId>/profileType/0/isDeprecated~/false/templateFamilyName/<template display name> |
| Feature update | Microsoft_Intune_DeviceSettings/WindowsFeatureUpdateProfileMenu/~/0/profileId/<id>/profileName/<name>/hasWufbEnabledLicense~/false |
The collector tells imported from built-in ADMX profiles by policyConfigurationIngestionType (custom is imported).
policyType per @odata.type (each checked against the opened page’s title):
@odata.type |
policyType |
|---|---|
windows10CustomConfiguration |
74 |
windowsHealthMonitoringConfiguration |
109 |
windowsKioskConfiguration |
80 |
windows81SCEPCertificateProfile |
93 |
windows81TrustedRootCertificate |
94 |
iosCustomConfiguration |
41 |
iosDeviceFeaturesConfiguration |
42 |
iosEasEmailProfileConfiguration |
45 |
iosGeneralDeviceConfiguration |
46 |
iosScepCertificateProfile |
50 |
iosTrustedRootCertificate |
51 |
macOSCustomConfiguration |
56 |
macOSDeviceFeaturesConfiguration |
58 |
macOSEndpointProtectionConfiguration |
59 |
macOSGeneralDeviceConfiguration |
61 |
androidWorkProfileGeneralDeviceConfiguration |
13 |
androidWorkProfileWiFiConfiguration |
19 |
Assignment items:
| Kind | Form |
|---|---|
| Compliance policy | Microsoft_Intune_DeviceSettings/CompliancePolicyOverview.ReactView/policyId/<id>/policyName/<name>/platform~/<n>/policyType~/<n>/policyJourneyState~/1, with platform~/policyType~ Windows 10 and later 8/35, iOS 3/33, macOS 4/34, Android Enterprise work profile 2/30, Android Enterprise fully managed 2/31 (its page adds configurationId/<id>, which the link leaves out), Linux Settings Catalog compliance 10/118 |
| App | Microsoft_Intune_Apps/SettingsMenu/~/0/appId/<id> |
| Remediation | Microsoft_Intune_Enrollment/UXAnalyticsScriptMenu/~/overview/id/<id>/scriptName/<name>/isFirstParty~/false |
| Windows platform script | Microsoft_Intune_DeviceSettings/ConfigureWMPolicyMenuBlade/~/overview/policyId/<id>/policyType~/0 |
| macOS shell script | the same with policyType~/1 |
| macOS custom attribute | Microsoft_Intune_DeviceSettings/ConfigureCustomAttributesPolicyMenuBladeViewModel/~/overview/id/<id>/displayName/<name> |
| Device limit restriction | Microsoft_Intune_Enrollment/RestrictionMenuBlade/~/overview/restrictionId/<id> |
| Device platform restriction, default device type restriction | Microsoft_Intune_Enrollment/RestrictionMenuBlade/~/overview/restrictionId/<id>/afwId//isSinglePlatform~/true |
| Apple enrollment type | Microsoft_Intune_Enrollment/UserInitiatedEnrollmentProfileMenuBlade/~/overview/profileId/<id> |
| Automated device enrollment profile | Microsoft_Intune_Enrollment/DepProfileMenuBlade/~/overview/depProfileId/<tokenId>_<profileId>/tokenId/<tokenId> (the Graph profile id is <tokenId>_<profileId>) |
| Enrollment status page | Microsoft_Intune_Enrollment/EnrollmentStatusPageMenuBlade/~/overview/profileId/<id> |
| Autopilot profile | Microsoft_Intune_Enrollment/AutopilotMenuBlade/~/overview/apProfileId/<id> |
| App protection | Microsoft_Intune_AppProtection/AppProtectionPolicy.MenuView/~/overview/policyId/<id>/policyOdataType/<url-encoded @odata.type>/policyName/<name> |
| App configuration, managed devices | https://intune.microsoft.com/#blade/Microsoft_Intune_Apps/AppConfigPolicySettingsMenu/appConfigPolicyId/<id> (a #blade form) |
| App configuration, managed apps | Microsoft_Intune/TargetedAppConfigInstanceBlade/~/fullscreensummary/id/<id>/odataType/0/scopeTags/%5B%220%22%5D (default scope tag) |
No link form recorded: quality and driver update profiles, maintenance windows, iosVpnConfiguration, macOSSoftwareUpdateConfiguration, macOSCustomAppConfiguration, the other Android templates and custom profiles, Android device administrator compliance, ADE profile ids with an ECV2_ prefix, and the built-in default compliance policy. Windows Hello for Business opens in a pane without an address of its own.
Links open in a background tab, so the panel keeps the device it shows.
Delegated, read-only scopes per section: DeviceManagementApps.Read.All (apps, app protection and app configuration), DeviceManagementScripts.Read.All (scripts and remediations), DeviceManagementServiceConfig.Read.All (enrollment), plus the configuration scopes. A primary user’s app states and app registrations answer without User.Read.All.
Compliance:
managedDevices/<id>/deviceCompliancePolicyStates: one state per policy, id equals the policy id; fields id, displayName, version, platformType, state (compliant, notApplicable, error), settingCount, userId, userPrincipalName, settingStates. settingStates is always empty.notApplicable).displayName “Default Device Compliance Policy”, platformType all; it is not in deviceCompliancePolicies.POST reports/getDevicePolicySettingsComplianceReport with (DeviceId eq '<id>') and (PolicyId eq '<id>'). Select base column names only (SettingName, SettingNm, SettingStatus, ErrorCode, SettingValue); the _loc columns come with them, and naming one answers 400. SettingNm_loc is the label; SettingStatus is 1 not applicable, 2 compliant, 5 error, with SettingStatus_loc. Works for the default policy./deviceManagement/compliancePolicies (Linux: platforms linux, technologies linuxMdm, no templateReference); the other platforms in deviceCompliancePolicies.Apps:
retrieveDeviceAppInstallationStatusReport is per app: it needs an ApplicationId filter and cannot filter on DeviceId, so it is not used.GET /users('<userId>')/mobileAppIntentAndStates('<managedDeviceId>'): one entity with mobileAppList[] of applicationId, displayName, mobileAppIntent (available, requiredInstall), displayVersion, installState (installed, failed, notInstalled, pendingInstall, unknown), supportedDeviceTypes. No error code. The list form /users/<id>/mobileAppIntentAndStates answers empty. Intune keeps these per user, so a device without a primary user has none.mobileApps/<id>/?$expand=categories,assignments and mobileApps/<id>/relationships?$filter=targetType eq microsoft.graph.mobileAppRelationshipType'child'.Scripts and remediations:
deviceManagementScripts, deviceShellScripts, deviceCustomAttributeShellScripts; their deviceRunStates?$filter=managedDevice/id eq '<id>'&$select=... answers.deviceHealthScripts: Microsoft’s global scripts have isGlobalScript true, no assignments and lastModifiedDateTime 0001-01-01. Assignments carry runRemediationScript and runSchedule.managedDevices/<id>/deviceHealthScriptStates (behind the device’s Remediations page) ignores $select and always returns script output and error fields, so it is never used.deviceHealthScripts/<id>/deviceRunStates?$select=id,detectionState,remediationState,lastStateUpdateDateTime honours $select. id is <scriptId>:<managedDeviceId>. $filter on managedDevice/id or id answers 400 and GET by key has no route, so the device’s row is found by paging and matching the id suffix. States: detectionState success, fail, notApplicable; remediationState skipped, unknown, and others.scriptContent, detectionScriptContent, remediationScriptContent, resultMessage, preRemediationDetectionScriptOutput, preRemediationDetectionScriptError, remediationScriptError, postRemediationDetectionScriptOutput, postRemediationDetectionScriptError.Enrollment:
deviceEnrollmentConfigurations?$expand=assignments answers; $select of platformType on the base type answers 400. Defaults have priority 0, ids <accountId>_DefaultLimit, _DefaultPlatformRestrictions, _DefaultWindowsHelloForBusiness, _DefaultWindows10EnrollmentCompletionPageConfiguration, _WindowsRestore, and target all devices. Created ones have priority 1 and up; the lowest number wins, and the default applies last. An assignment can carry the zero GUID as filter id with filter type none.appleUserInitiatedEnrollmentProfiles, with a default at priority 0.windowsAutopilotDeviceIdentities: any $select answers 500; $filter=contains(serialNumber,'<serial>') without $select works. The record has managedDeviceId. Its profile: GET windowsAutopilotDeviceIdentities/<id>?$expand=deploymentProfile,intendedDeploymentProfile; the navigation GET /<id>/deploymentProfile has no route (400). deploymentProfileAssignmentStatus reads assignedUnkownSyncState (spelled that way) in the list and the current state on the record read by id.importedAppleDeviceIdentities: $select answers 500, eq answers 400 (“Only ‘contains’ function is allowed”); $filter=contains(serialNumber,'<serial>') works. depOnboardingSettings?$select=id answers. enrollmentProfiles/<id>?$select=id,displayName answers; ids are <settingId>_<guid> or ECV2_<settingId>_<guid>, types depIOSEnrollmentProfile and depMacOSEnrollmentProfile.requestedEnrollmentProfileId is not always accepted as that key: a GET of depOnboardingSettings/<id>/enrollmentProfiles/<requestedEnrollmentProfileId> can answer 400 “Found invalid token id or profile identifier in the request”. The extension lists depOnboardingSettings/<id>/enrollmentProfiles instead and picks the profile whose id equals the requested id or holds it as one _-separated part (compared without case); the listed objects carry the profile settings.App protection and app configuration:
/users/<id>/managedAppRegistrations?$select=...&$expand=appliedPolicies($select=id) answers. A registration names the device by azureADDeviceId (also deviceName, deviceTag); appIdentifier is for example iosMobileAppIdentifier with bundleId. appliedPolicies ids equal the policy ids: app protection T_<guid>, managed app configuration A_<guid>.iosManagedAppProtections, androidManagedAppProtections and targetedManagedAppConfigurations with $expand=assignments answer; assignments are group targets. windowsManagedAppProtections is read the same way but has not been checked against a tenant.mobileAppConfigurations/<id>/deviceStatuses accepts only $top, $filter and $skipToken ($select answers 400). Fields id, deviceDisplayName, userName, deviceModel, platform, status, lastReportedDateTime, userPrincipalName. id is <accountId>_<configId>_<managedDeviceId>, so the device’s row is matched by the id suffix; device names repeat.<body>: fxs-mode-dark or fxs-mode-light, next to the color theme (fxs-theme-azure, fxs-theme-blue, fxs-theme-light, fxs-theme-dark) and fxs-mode-standardcontrast.prefers-color-scheme), so the panel’s Auto theme follows the admin center, not the browser.body { font-family: system-ui, sans-serif; font-size: 75% }, so the panel sets its root font size itself.Retry-After and otherwise backing off exponentially with the wait capped at 30 seconds. A 429 is retried up to 8 times. A 500 is not retried.