From 8d4f7ea0f9130fb7af08f1d1873a28211a2849da Mon Sep 17 00:00:00 2001 From: Oliver Kieselbach Date: Fri, 31 Jul 2026 20:17:54 +0200 Subject: [PATCH] fix(web): app-homing funnel banner - prominent card with permission hint + docs link The plain info box was easy to overlook. Upgrade to a bordered gradient card with icon and heading, state that admin consent needs a tenant-wide-consent role (Global Administrator / Privileged Role Administrator), and link the portal-setup docs article describing the required permissions. Co-Authored-By: Claude Fable 5 --- .../sections/SectionAutopilotValidation.tsx | 41 ++++++++++++++++--- 1 file changed, 36 insertions(+), 5 deletions(-) diff --git a/src/Web/autopilot-monitor-web/app/settings/tenant/sections/SectionAutopilotValidation.tsx b/src/Web/autopilot-monitor-web/app/settings/tenant/sections/SectionAutopilotValidation.tsx index 3a8c4292..68a60f82 100644 --- a/src/Web/autopilot-monitor-web/app/settings/tenant/sections/SectionAutopilotValidation.tsx +++ b/src/Web/autopilot-monitor-web/app/settings/tenant/sections/SectionAutopilotValidation.tsx @@ -2,6 +2,7 @@ import { useAuth } from "@/contexts/AuthContext"; import { legacyConfigured, switchAuthApp } from "@/lib/authApp"; +import { DOCS_URL } from "@/utils/config"; import { useTenantConfig } from "../../TenantConfigContext"; import { TenantNotifications } from "../../TenantNotifications"; import AutopilotValidationSection from "../../components/AutopilotValidationSection"; @@ -61,11 +62,41 @@ export function SectionAutopilotValidation() { ) : appHomingFunnelActive ? ( -
- Autopilot device validation currently runs on the previous Autopilot Monitor app - registration. Granting consent below (or running "Detect existing access") - approves the new app registration and switches your tenant over - automatically — current sessions keep working, and new sign-ins use the new app. +
+
+ + + +
+

+ Please switch to the new Autopilot Monitor app registration +

+

+ Your tenant still runs on the previous app registration. Granting consent below (or + running "Detect existing access") approves the new app and + switches your tenant over automatically — current sessions keep working, and new + sign-ins use the new app. It's a one-time step and takes about a minute. +

+

+ Note: granting admin consent requires an Entra ID account that can + consent tenant-wide (e.g. Global Administrator or{" "} + Privileged Role Administrator). The consented permission stays the + same read-only Graph permission as before + (DeviceManagementServiceConfig.Read.All). +

+ + See the documentation for details on the required permissions + + + + +
+
) : homedOnLegacyApp ? (