Before Intune, a lot of my troubleshooting started with the same command: gpresult /h report.html. One HTML file, every setting the machine got, and next to each setting the GPO that won. If that was not enough, rsop.msc showed the same thing as a tree. You looked for the setting, not for the policy.
When I started with Intune in 2018 and 2019, that view was gone. The Intune admin center thinks in profiles: open a device, open its configuration, pick a profile, look at its settings, go back, pick the next profile. That works when you know which profile to look at. It does not work when the question is about a setting and you have no idea where it comes from.
How MDMWinsOverGP Brought It Back
My recent troubleshooting in How Windows Autopatch Tattooed My Edge Settings was exactly that kind of question: where did MDMWinsOverGP come from? I had never configured it. To find the source, I wrote a Graph script that pulled every Settings Catalog policy, every security baseline and every custom OMA-URI profile in the tenant and searched them for MDMWinsOverGP|ControlPolicyConflict. The answer was two Windows Autopatch policies, one of each per ring.
The script worked, but it answered the question for the whole tenant, not for the device in front of me. It did not tell me which of those policies actually reached the device, through which group, or what else was set on it. What I wanted was the old gpresult view: by setting, not by profile.
The next question was where that view should live. Another script would again mean leaving the admin center, running something and reading the output somewhere else. I am not a developer, but I have already built several browser extensions with Claude. So the idea came quickly: why not put it in a side panel of the browser, right next to the device I already have open in the admin center?
That is how Setting Lens for Intune was born. I vibe coded it with Claude like the extensions before: I brought the idea, the Intune knowledge and the test devices, Claude wrote the code. Because of that, I kept a few rules from the start: the extension only reads, it uses your own app registration, it talks to nobody but Microsoft Graph, and the code is open on GitHub so you can check every line of it.

TL;DR
- Setting Lens for Intune is a side panel for Microsoft Edge and Google Chrome that sits next to the Intune admin center.
- Open a device, type part of a setting name, and see the setting’s value and every profile that sets it, with how each profile reaches the device. Conflicts are marked in red.
- It covers Windows, iOS/iPadOS, macOS, Android and Linux, plus everything else assigned to the device: compliance, updates, apps, scripts, enrollment and app protection.
- Export the result as HTML, Markdown, PDF or CSV. Example exports of a test device are online.
- Read-only Microsoft Graph, your own app registration, no server, no telemetry, MIT license.
- Install it from the Chrome Web Store (Edge Add-ons is in review), from the GitHub release, or build it yourself with your own extension ID.
- Roll it out with Intune: force-install it with the Settings Catalog and push the client ID and tenant ID with a ready-made remediation.
One Search Instead of a Script
Open a device in the Intune admin center, open the side panel and search. On my Autopatch device, typing mdm shows Control Policy Conflict > MDM Wins Over GP and the two Autopatch profiles that set it. Both set the same value, so it is not a conflict, and each profile shows the group that brings it to the device:

That is the answer my script gave me, but for this device, in one search, with the group it came through.
The search matches the setting names as the Settings Catalog shows them (MDM Wins Over GP), as well as values and profile names. The CSP name written as one word (MDMWinsOverGP) does not match.
For every setting the panel shows:
| Column | What you see |
|---|---|
| Value | The value on the device |
| Profiles | Every profile that sets the setting, each with its own value |
| Status | What Intune reports for the setting on this device (succeeded, error with error code, not applicable, not reported) |
| Assigned | How each profile reaches the device: group, user or device, include or exclude, assignment filter and its result |
When two profiles that reach the device set different values, the setting is marked as a conflict in red, with both values underneath. The counters at the top (Settings, Conflicts, Errors, Not reported, Gaps) and the filter chips take you straight to the problems.
The settings tree is sorted like the Settings Catalog picker. If you know rsop.msc: this is the same idea for Intune, a resultant set of settings for one device.
One thing Setting Lens does not show is the device’s own state. It shows what Intune assigns and reports. In the Autopatch case, searching for DefaultSearchProvider would have shown that no profile set those settings anymore, while edge://policy on the device still showed the old values. That gap was the tattoo. Setting Lens tells you what Intune intends; edge://policy, the registry and the MDM diagnostics report tell you what actually stuck.
Every Platform, Every Profile Kind
The device’s OS decides what the panel reads:
| Platform | What Setting Lens reads |
|---|---|
| Windows | Settings Catalog (including Endpoint Privilege Management), Administrative Templates, legacy templates, custom OMA-URI, older endpoint security templates, security baselines, update policies |
| iOS/iPadOS, macOS | Settings Catalog (including declarative settings), legacy templates, and the keys inside custom .mobileconfig profiles and macOS preference files |
| Android | Settings Catalog (Android Enterprise), legacy templates (work profile, fully managed and dedicated, device administrator, AOSP), custom OMA-URI |
| Linux | Settings Catalog, including custom configuration scripts (their run settings and size, never the script itself) |
The .mobileconfig part is the one I like most on macOS. A custom profile is usually a black box in the admin center. Setting Lens opens it: each payload type gets its own branch with its keys as settings, and a key that a Settings Catalog profile also sets shows up as one more source of that setting, so a conflict between the two becomes visible.

Android and Linux work the same way:


Not Only Settings: Every Assignment
Settings are only part of what a device gets. The Assignments tab lists everything assigned to the device, each with how it reaches the device and its state:
| Section | What it shows |
|---|---|
| Configuration | Configuration profiles reported for the device |
| Compliance | Compliance policies with their state, and the state of each of their settings |
| Updates | Update rings, feature, quality and driver updates, Apple software updates |
| Apps | Required, available and uninstall assignments with the install state, dependencies and supersedence |
| Scripts and remediations | Platform scripts, remediations, macOS shell scripts and custom attributes with their last result |
| Enrollment | Enrollment restrictions, device limits, enrollment status pages and Windows Hello with the winner by priority, the Autopilot profile, Apple enrollment profiles |
| App protection | App protection and app configuration policies |
Open an item and you see how it reaches the device and what it sets. Here the Autopatch Edge update policy shows its group, its state per user and system, and the three settings it brings, MDM Wins Over GP among them. Below it, a remediation is filtered out because the device does not match its assignment filter:

The settings of compliance policies, app protection policies, the winning enrollment status page, the Autopilot profile and the Apple automated device enrollment profile also show up in the Settings tab, under Assignment settings. So a search for a setting finds them too:


Apps and scripts can be large in big tenants, so those sections load only when you open them. The Issues tab collects conflicts, errors, settings Intune does not report, and gaps: profiles that Intune reports for the device although their assignments do not target it. Each entry names where it comes from and opens the setting or item when you select it:

Export: Take the Report With You
gpresult /h gave you a file you could attach to a ticket. Setting Lens does the same. The Export menu turns the device into one report, filtered the way the panel shows it, with the device, the counters, the settings with their sources, every assignment section and the issues:
| Export | What you get |
|---|---|
| Download HTML | A standalone page that looks like the panel: folding categories, Expand all and Collapse all, a search, the Conflicts, Errors and Not reported counters as filters, and light and dark mode |
| Download Markdown | One table per category and section, good for a wiki or a ticket |
| Save as PDF | The report on its own page with the browser’s print dialog; everything prints opened, and states print as text as well as color |
| Copy as Markdown | The same Markdown report on the clipboard |
| Copy settings as CSV | The filtered settings, ready for Excel |
To see what you get before you install anything, here are the exports of the synthetic Contoso test device:
- HTML export: the whole device as one page with search, folding and dark mode
- PDF export
- Markdown export, shown on GitHub, which renders the tables
Files are named SettingLens_<device>_<date> and go to your downloads folder. An export holds what the panel shows, including device, user, group and policy names, so treat it like any other report from your tenant. Secret values stay masked as ***, and script bodies are never in it.
Before You Start: The App Registration
Setting Lens has no shared multi-tenant app and no server in between. It signs in with your own app registration in your own tenant, and the panel talks only to Microsoft Graph and Entra sign-in. Tokens stay in the panel’s session storage and are gone when the panel closes.
The app registration is the same for every install option, with one exception: the redirect URI. A browser extension signs in through https://<extension id>.chromiumapp.org/, and every way of installing gives the extension a different ID. So the redirect URI depends on how you install it, and if you use more than one option, you add one redirect URI for each.
What every option needs:
- In the Entra admin center, open App registrations and create a new registration, single tenant.
- Add the platform Single-page application with the redirect URI of your install option (see the options below). The extension’s options page also shows the exact URI.
- Do not add a client secret or a certificate, and leave implicit grant off.
-
Under API permissions, add these Microsoft Graph delegated permissions and grant admin consent:
Permission Type Needed for DeviceManagementConfiguration.Read.AllDelegated Required DeviceManagementManagedDevices.Read.AllDelegated Required Device.Read.AllDelegated Required GroupMember.Read.AllDelegated Required User.Read.AllDelegated Required DeviceManagementApps.Read.AllDelegated Optional: Apps and App protection DeviceManagementScripts.Read.AllDelegated Optional: Scripts and remediations DeviceManagementServiceConfig.Read.AllDelegated Optional: Enrollment All of them are read-only. Without an optional permission, only its section shows “Needs permission”. You can also turn a section off in the options; then it needs no permission at all.
Here is my lab app registration with all three redirect URIs, one per install option:

Option A: The Stores
The easiest way. Setting Lens is in the Chrome Web Store. Microsoft Edge can install it from there too, once you allow extensions from other stores when Edge asks. The Microsoft Edge Add-ons listing is in review; I will add the link here once it is published.
Store installs update themselves and do not need developer mode.
| Store | Redirect URI for the app registration |
|---|---|
| Chrome Web Store (also when Edge installs from there) | https://laffggcndpfiefkcphfdmndahkibldab.chromiumapp.org/ |
| Microsoft Edge Add-ons (in review) | https://mgdllinncocoihfghcaeaegklackdjhj.chromiumapp.org/ |
For your admins’ devices, you can force-install the store version and push the client ID and tenant ID with Intune, see Rolling It Out With Intune below.
Option B: The Precompiled Build From GitHub
When a browser policy blocks store installs, or you want a release before it reaches the stores, use the build from GitHub Releases:
- Download
setting-lens-for-intune-<version>-unpacked.zipfrom the latest release. The-store.zipnext to it is only for store uploads. - Extract it into a folder you keep, for example
%LOCALAPPDATA%\SettingLens. The browser loads the extension from that folder every time it starts, so do not move or delete it. - Open
edge://extensions(orchrome://extensions), turn on Developer mode, select Load unpacked and pick the folder that holdsmanifest.json.
The GitHub build always has the same ID, ocmmcfgghgjollibdcoojhdioebpiobd, so the redirect URI is known in advance:
https://ocmmcfgghgjollibdcoojhdioebpiobd.chromiumapp.org/
A few things to know:
| Topic | What to expect |
|---|---|
| Updates | It does not update itself. Extract the next release’s zip over the same folder and select Reload on the extension’s card. The ID stays, so the app registration needs no change. |
| Developer mode | The browser may remind you about extensions in developer mode, and organizations can turn developer mode off by policy. For a fleet, use the store version. |
| Shared ID | Every copy of the GitHub build has the same ID, because its public key is in the repository. That is fine for most tenants: sign-in still only returns to the redirect URIs in your own app registration. |
If you want your own ID without building anything, the README has a PowerShell 7 snippet that writes a key of your own into the build’s manifest.json. You have to put that key back after every update, though. Building it yourself (Option C) is the cleaner way to an ID of your own.
Option C: Build It Yourself With Your Own ID
This is the option for you if you want to read the code before you run it, want an extension ID that belongs only to your organization, or want to keep two copies with two app registrations apart. Don’t worry, you do not need to be a developer for this. I am not one either.
What you need: Git and Node.js (the CI builds with Node.js 26).
-
Get the code and install its dependencies:
git clone https://github.com/SasStu/setting-lens-for-intune.git cd setting-lens-for-intune npm install -
Create your own key. This writes a new public key to
config/manifest-key.txtand its ID toconfig/extension-id.txt, and prints the redirect URI:npm run new-keynew extension id: <your id> redirect URI: https://<your id>.chromiumapp.org/Only the public key is kept. An unpacked extension needs nothing else, so there is no private key to protect.
-
Build the release version (minified, with your key):
npm run build:release -
Copy
dist\releaseto a folder you keep, then load that folder inedge://extensionswith Developer mode and Load unpacked. The extension’s card shows your new ID.
The app registration for this option is the same as above, with your own redirect URI under Single-page application:
https://<your id>.chromiumapp.org/
Nothing else changes: single tenant, no secret, no certificate, implicit grant off, the same delegated permissions.
To update: run git pull in the folder, then npm install and npm run build:release again, copy dist\release over your folder and select Reload. Your key in config/manifest-key.txt stays as long as you keep the file, so the ID and the app registration stay the same. Keep a copy of that file somewhere safe; it is your ID.
Rolling It Out With Intune
Typing the client ID and tenant ID into the options on every admin device gets old quickly. On Windows, Intune can do both parts: install the extension and fill in its settings.
Install the extension with the Settings Catalog:
| Browser and store | Settings Catalog setting | Value |
|---|---|---|
| Edge, from Edge Add-ons | Microsoft Edge > Extensions > Control which extensions are installed silently | mgdllinncocoihfghcaeaegklackdjhj |
| Edge, from the Chrome Web Store | Microsoft Edge > Extensions > Control which extensions are installed silently | laffggcndpfiefkcphfdmndahkibldab;https://clients2.google.com/service/update2/crx |
| Chrome | Google > Google Chrome > Extensions > Configure the list of force-installed apps and extensions | laffggcndpfiefkcphfdmndahkibldab |
Set the app registration with a remediation. The extension reads its client ID and tenant ID from the browser’s managed extension settings (the 3rdparty extension policy), and the Settings Catalog has no setting for those. So the repository now has a remediation that writes them to the registry for Edge and Chrome, under HKLM\SOFTWARE\Policies\Microsoft\Edge\3rdparty\extensions\<id>\policy and the matching Chrome key:
Detect-SettingLensSettings.ps1checks that the policy key of each browser and extension ID holds exactly the configured values.Remediate-SettingLensSettings.ps1rewrites the keys when they don’t.
Both scripts start with the same CONFIG block, and it has to be the same in both:
$Settings = [ordered]@{
clientId = '<application (client) id>'
tenantId = '<directory (tenant) id or verified domain>'
cacheHours = $null # for example 24
backgroundTabs = $null # $true or $false
sections = $null # for example @('apps', 'scripts', 'enrollment', 'appProtection'); @() for none
}
$ExtensionIds = @(
'laffggcndpfiefkcphfdmndahkibldab' # Chrome Web Store (also when Edge installs from there)
'mgdllinncocoihfghcaeaegklackdjhj' # Edge Add-ons
'ocmmcfgghgjollibdcoojhdioebpiobd' # GitHub build
)
clientId and tenantId are required. $null leaves a setting unmanaged, so users can still change it in the options. Remove the extension IDs you don’t use, and if you built your own (Option C), put your own ID in the list.
Then create the remediation under Devices > Scripts and remediations > Create, upload both scripts, set Run this script using the logged-on credentials to No and Run script in 64-bit PowerShell to Yes, and assign it to your Intune admins’ devices, for example daily. The browsers pick up the change within minutes; edge://policy with Reload policies shows it right away. Settings pushed this way show as locked in the options page, and the user only has to sign in.
The details are in the remediation README.
Setup in the Extension
Whichever option you chose, the last step is the same:
- Open the extension’s options.
- Enter the Application (client) ID and the Directory (tenant) ID or domain of your app registration, and select Save. If the remediation already pushed them, they show as locked and you can skip this step.
- Select Test connection.
- Under Sections, choose which optional sections you want. The status column shows whether your account has each permission, and Grant access asks Entra for the missing ones in one window (where your tenant allows user consent; otherwise an admin grants them on the app registration).
- Open a device in the Intune admin center and open the side panel.

Limits
This is version 0.9. Some parts depend on what Intune reports for a device: when Intune’s per-setting report has no row for a setting, the panel shows the profile’s status instead and marks it with a PROFILE badge. App install states come from the primary user’s view of the device. Some profile kinds have no Open in admin center link yet, and a few things have only been tested against test data, not on a real device. The full list is in the README.
Key Takeaways
- Since I moved from GPO to Intune, I missed the
gpresultview: by setting, not by profile. Setting Lens brings it back for one device, with one search, including how each profile reaches the device. - It shows what Intune assigns and reports. When the device disagrees, as with the Autopatch tattoo, the device itself is still where the truth is.
- Everything stays in your tenant: read-only Graph, your own app registration, no server.
- The app registration is the same for every install option, except for the redirect URI. Add one per option you use.
- For your admins’ devices, the Settings Catalog installs the extension and the remediation from the repository fills in the client ID and tenant ID, so nobody has to type them.
- The example exports show what you get before you install anything.
Try It and Tell Me What Breaks
I built Setting Lens because I needed it, and I hope many of you will try it in your own tenants. My lab can only show so much: your tenant has profile kinds, platforms and assignment setups that mine does not. If something looks wrong, a setting is missing, a conflict is not a real conflict, or you have an idea for what it should show next, please open an issue in the GitHub repository. Screenshots help, but please only share what you are allowed to share from your tenant.
References
- Setting Lens for Intune in the Chrome Web Store (Edge Add-ons in review)
- Website: settinglens.sastu-insights.com
- Code, releases and issues: github.com/SasStu/setting-lens-for-intune
- Example exports: HTML, PDF, Markdown
- Intune remediation for the managed extension settings
- How Windows Autopatch Tattooed My Edge Settings
- Policy CSP - ControlPolicyConflict
- gpresult
Setting Lens for Intune is an independent project and is not affiliated with or endorsed by Microsoft.