You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wire onboarding telemetry hooks into AzureActiveDirectoryWebViewClient, Fixes AB#3462876 (#3121)
**C3** in the onboarding telemetry feature series (follows merged #3088
/ #3111 / #3117).
Adds optional onboarding-telemetry instrumentation to
`AzureActiveDirectoryWebViewClient` so the WebView page-transition flow
can populate the onboarding blob.
**What this adds:**
- `setOnboardingTelemetryRecorder(recorder)` setter on
`AzureActiveDirectoryWebViewClient` — host fragment/activity attaches
the recorder once a seed JSON arrives.
- Step emissions at the existing URL-dispatch sites (no behavior change
to those paths):
- `processInstallRequest` / `processPlayStoreURL` /
`processIntentToInstallBrokerApp` → `STEP_BROKER_INSTALL_PROMPTED`
- `processDeviceCaRequest` → `STEP_MDM_ENROLLMENT_STARTED`
- `launchCompanyPortal` / `processWebCpRequest` →
`STEP_COMPANY_PORTAL_LAUNCHED`
- `processWebCpEnrollmentUrl` → `STEP_WEB_CP_ENROLLMENT_STARTED`
- `openGoogleEnrollmentUrl` → `STEP_GOOGLE_ENROLLMENT_STARTED`
- `processAuthAppMFAUrl` → `STEP_AUTHENTICATOR_MFA_LINKING_STARTED`
- `onPageFinished` captures the host of the final loaded URL into
`last_loaded_domain`.
**Safety:** Recorder is `@Nullable` — when not attached (every existing
caller, today), this is a no-op.
**Tests:** `AzureActiveDirectoryWebViewClientTest` covers all setter +
emission paths.
Fixes
[AB#3462876](https://identitydivision.visualstudio.com/fac9d424-53d2-45c0-91b5-ef6ba7a6bf26/_workitems/edit/3462876)
Copy file name to clipboardExpand all lines: changelog.txt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ vNext
3
3
- [PATCH] Emit ipc_strategy telemetry attribute for successful device registration IPC strategy and refactor execute flow to pack protocol request once before strategy retries (#3124)
4
4
- [PATCH] Fix Edge browser selection on devices where Microsoft Edge is the default browser: add the rotated Edge signing certificate hash to the Edge BrowserDescriptor and accept multi-signer browsers when any signature intersects the safelist, instead of requiring strict set-equality (resolves MSAL #2414)
5
5
- [MINOR] Refactor Auth Tab integration to use provider-based strategy selection. Adds AuthTabStrategyProvider and BrowserLaunchStrategy with Custom Tabs fallback. Compatible with androidx.browser:browser:1.7.0.
6
+
- [MINOR] Wire onboarding telemetry hooks into AzureActiveDirectoryWebViewClient for page-transition step capture (broker install, MDM enrollment, Company Portal launch, MFA linking) and last-loaded-domain tracking (#3121)
6
7
- [MINOR] Add provisionResourceAccountCredentials API to DeviceRegistrationClientApplication with V0 protocol params/response and add IPPhone to AppRegistry (#3086)
7
8
- [PATCH] Extend filter-then-clone optimization to deleteAccessTokensWithIntersectingScopes and add telemetry attributes (#3114)
8
9
- [PATCH] Wire ClientDataInfo through AcquireTokenResult, exceptions (#3109)
Copy file name to clipboardExpand all lines: common/src/main/java/com/microsoft/identity/common/internal/ui/webview/AzureActiveDirectoryWebViewClient.java
Copy file name to clipboardExpand all lines: common/src/test/java/com/microsoft/identity/common/internal/ui/webview/AzureActiveDirectoryWebViewClientTest.java
+103Lines changed: 103 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -183,6 +183,12 @@ public void onPageLoaded(final String url) {
0 commit comments