From 74a8596e9a8665ca789bb460b665a22d31110a97 Mon Sep 17 00:00:00 2001 From: Raphael Buechi Date: Fri, 13 Sep 2024 18:39:07 +0200 Subject: [PATCH] BPA LAPS switched from JSON to Bool --- Config/AXE-TENANT-INTUNE.BPATemplate.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Config/AXE-TENANT-INTUNE.BPATemplate.json b/Config/AXE-TENANT-INTUNE.BPATemplate.json index a7a7f2d97fbc..9a696d66722c 100644 --- a/Config/AXE-TENANT-INTUNE.BPATemplate.json +++ b/Config/AXE-TENANT-INTUNE.BPATemplate.json @@ -39,18 +39,19 @@ ] }, { - "name": "LAPS", + "name": "LAPSEnabled", "API": "Graph", "URL": "https://graph.microsoft.com/v1.0/policies/deviceRegistrationPolicy?$select=localAdminPassword", "ExtractFields": [ "localAdminPassword" ], - "StoreAs": "JSON", + "where": "$_.localAdminPassword.isEnabled -eq $true", + "StoreAs": "bool", "FrontendFields": [ { "name": "LAPS enabled", "desc": "Check if Local Admin Password Solution is enabled", - "value": "LAPS.IsEnabled", + "value": "LAPSEnabled", "formatter": "bool" } ]