- Always write MigrationTable.json on export so imports can tell same-tenant from cross-tenant
- When there is no migration table, keep exported scope tag IDs that exist in the target tenant instead of falling back to Default
- Add "Scope tag instead of Default" setting for admins whose role excludes the Default scope tag
- Apply scope tag handling to Update and Replace imports
- Exclude MigrationTable.json from import and assignment file discovery
- MSALInfo.md: remove Application.Read.All and DeviceManagementManagedDevices.ReadWrite.All from the permission list
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Silent and batch runs can now sign in with a GitHub Actions OIDC token
instead of a client secret or certificate. With -Federated, the tool
requests the token and passes it to MSAL with WithClientAssertion.
The access token is reused until it is within five minutes of expiry, so
a bulk export signs in once rather than on every Graph request.
Secret and certificate sign-in are unchanged.
Contributed by @mattskare.
Brings in the fixes merged directly to master:
- #429 Fix silent bulk compare crash (op_Addition on PSObject)
- #424 Fix typo in permissions error message
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Start-MSALConsentPrompt built its own interactive request without the
WithUseEmbeddedWebView($false) that Connect-MSALUser applies when the setting is
on, so Request Consent opened the embedded window: no access to the browser
session (it asked for a new sign-in) and no passkey / FIDO2 support. It now
makes the same browser choice as the login.
Reported in discussion #439.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The commit for issue #428 re-saved both files with CRLF, so every line showed
as changed against master, which stores them with LF like the rest of the
repository. Content is untouched; only the line endings return to LF.
In Start-BulkCompareExportObjects the flat CSV row was built with
'$compValue +=' where $compValue is a single PSCustomObject element of
the result array. PowerShell has no op_Addition for PSObject, so every
silent batch compare using the 'Exported Files with Intune Objects (Id)'
provider threw 'Method invocation failed because [PSObject] does not
contain a method named op_Addition' before Save-BulkCompareResults ran,
and no CSV was produced.
All other compare providers assign the row object directly; this aligns
the export provider with them. Verified against a live tenant: the
silent BulkCompare job now completes and writes the result CSV.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Issue 378 - Fixed issue when "Sort Json Properties" is enabled. Arrays were broken e.g. empty array ended up as null and single item ended up as string. This broke export/import of Conditional Access policies.
Fixed issue with ADMX import and different enum format
Fixed issue with skipping Not Configured for Compliance Policies
Added support for documenting Compliance Policy V2 (Linux)