Commit Graph
90 Commits
Author SHA1 Message Date
Mikael KarlssonandClaude Opus 5.5 b579d55e58 Keep scope tags on import when the source tenant is unknown (#401)
- 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>
2026-11-22 21:25:26 +11:00
mattskare 2f16133572 Add -Federated switch for GitHub Actions federated credential auth (#440)
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.
2026-10-25 14:19:35 +11:00
Mikael KarlssonandClaude Opus 5.5 8a0f96a81d Merge master into Development
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>
2026-10-25 14:18:28 +11:00
Mikael KarlssonandClaude Opus 5.5 75c28c83e5 Consent prompt: honour "Use System Browser for login"
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>
2026-10-10 12:42:44 +11:00
Mikael Karlsson 1bd2151358 Merge Development for 3.11.0 2026-09-23 19:53:35 +10:00
Mikael Karlsson fb819949f5 Restore LF line endings in Core.psm1 and EndpointManager.psm1
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.
2026-09-23 19:53:35 +10:00
Mikael Karlsson 0492b784a1 Added support for System Broswer login 2026-08-14 21:56:06 +10:00
Mikael Karlsson 65ef411e20 Fixed Issue #428 2026-08-14 21:40:48 +10:00
Mikael Karlsson ed45693344 Merge pull request #429 from McKenzieCo/fix/silent-bulk-compare-op-addition
Fix silent bulk compare crash: op_Addition on PSObject
2026-08-06 21:30:15 +10:00
Mikael Karlsson f036c64d74 Refactor comparison logic to use compResultValue 2026-07-23 19:41:47 +10:00
McKenzieCoandClaude Fable 5 51e5966fa7 Fix silent bulk compare crash: op_Addition on PSObject
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>
2026-07-21 18:02:23 -04:00
BuggyAl 7cd93038da Fix typo in permissions error message 2026-06-30 13:49:04 -05:00
Mikael Karlsson bd84a61522 3.10.3 2026-05-12 19:39:29 +10:00
Mikael Karlsson e09b3f71fa 3.10.1.19
Added support for importing Win32 app with Install/Uninstall script.
2026-04-11 15:09:39 +10:00
Mikael Karlsson 836c8a0c2e 3.10.1.18
Fixed issues: 402, 403 and 404
Added support for Install/Uninstall Script on Win32 apps
Rebuilt Strings
2026-03-07 14:01:52 +11:00
Mikael Karlsson b6c94e78d5 3.10.1.17
Issue 400 - Country names when documenting named locations
2026-02-22 20:40:45 +11:00
Mikael Karlsson e242865ef4 3.10.1.16
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.
2026-01-26 22:08:24 +11:00
Mikael Karlsson f7043ae4a2 3.10.1.15
Issue 306 - Add additional support for clearing cache during Export/Import
2025-12-14 19:15:17 +11:00
Mikael Karlsson 71bb111a00 3.10.1.14
Issue 387 - Add support for Windows Update Profiles
2025-12-13 17:06:17 +11:00
Mikael Karlsson 9ca756bfed 3.10.1.13
Issue 383 - Fixed issue with document bool values in App Config with XML settings.
2025-12-07 21:23:01 +11:00
Mikael Karlsson 7b87325776 3.10.1.10
Issue 380 - ADMX Import / Reg Values fails because of XML format.
2025-11-24 21:56:42 +11:00
Mikael Karlsson 7657fac645 3.10.1.9
Issue 378 - Add support for sorting exported json files.
2025-11-23 17:08:27 +11:00
Mikael Karlsson 37700847b5 3.10.1.8
Issue 381 - Fix issue with Device Categories and Expand Assignments enabled.
2025-11-20 22:32:54 +11:00
Mikael Karlsson e37a44dd87 3.10.1.7
Issue 375 - Additional error handling in the Word output provider.
2025-11-13 20:24:03 +11:00
Mikael Karlsson cd26450a10 3.10.1.6
Issues 375 - Add support for Strict Open XML document
2025-11-11 18:59:35 +11:00
Mikael Karlsson 03b27b1775 3.10.1.4
Issue 364 - Paging issues
Issue 367 - Login with App in UI
2025-10-11 13:40:24 +11:00
Mikael Karlsson 9bb966015e 3.10.1.3
Issue 364 - Conditional Access policies does not support paging.
2025-09-28 14:20:28 +10:00
Mikael Karlsson 286f238fde 3.10.1.1
Issue 364 - Failed to create group caused by wrong mailNickname
2025-09-23 20:18:22 +10:00
Mikael Karlsson 8368af379f 3.10.1.1
Fix Issue 364 - Conditional Access does not return Next page. Fall back to default for now.
2025-09-14 18:57:39 +10:00
Mikael Karlsson 485a9de855 3.10.1 2025-09-14 14:15:15 +10:00
Mikael Karlsson 951b583dd2 3.10.0.11
Added full support for BIOS Config polices eg export and edit file + documentation
2025-08-09 13:30:51 +10:00
Mikael Karlsson f27175d543 3.10.0.10
Added support for BIOS Confiuration policies
2025-08-06 20:19:13 +10:00
Mikael Karlsson 1ab13bf2dd 3.10.0.9
Fixed issue with Not Configured for Custom Compliance script.
Added option to skip date when generating MD document.
2025-08-03 20:42:46 +10:00
Mikael Karlsson 8952e2894a 3.10.0.8
Fix renaming Settings Catalog policies
2025-08-03 20:12:34 +10:00
Mikael Karlsson a0bac61ba4 Merge pull request #339 from MrR0bert/FixExportDirectoryNaming
Add Trim() to sanitize the organization displayName property
2025-08-03 19:12:08 +10:00
Frank 6f6eba6959 Fix content upload at powershell 7.4+ 2025-07-29 21:08:56 +02:00
Mikael Karlsson b69cc227a4 3.10.0.7
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)
2025-07-28 21:11:17 +10:00
Mikael Karlsson 4253901249 3.10.0.6
Fixed import order for Compliance Scripts
2025-07-16 04:23:32 +10:00
Robert Kooistra cfb0e5f6e4 Moved trim of org displayName to the moment it is loaded instead of where it's used 2025-06-24 10:07:17 +02:00
MrR0b3rt 125d2e2b44 Forgot brackets before calling Trim() 2025-06-23 15:10:33 +02:00
MrR0b3rt 95c38a2b3d Add Trim() to sanitize the organization displayName property 2025-06-23 14:29:07 +02:00
Mikael Karlsson 9586ffb3fa 3.10.0.5
Removed deviceStates property for Conditional Access policy import. The property is depricated
2025-06-17 02:04:35 +10:00
Mikael Karlsson 5984acfca0 3.10.0.4
Fixed issue with Word Interop not loading
Added support for PDF output
2025-05-25 21:07:57 +10:00
Mikael Karlsson e1328ac7dd 3.10.0.3
Added documenting for file content eg MacOS Custom Settings
2025-05-03 15:42:03 +10:00
Mikael Karlsson 968fb4866c 3.10.0.2
Fixed issue with importing Security Baseline 24H2.
2025-04-19 14:53:57 +10:00
Mikael Karlsson 2169e91c9c 3.10.0
Fixed bad trimming
2025-03-16 20:59:19 +11:00
Mikael Karlsson 9232769d5b Fixed Compare Issues
Fixed issues with Compare and Settings Catalog
2025-03-09 19:57:41 +11:00
Mikael Karlsson 06ab2c2023 Paging issues
Device settings does not return next page so get top 500
Found a rare issue where Settings Catalog could return next page after all items were returned. This caused the app to crash when scrolling the list.
2025-03-01 12:08:16 +11:00
Mikael Karlsson 8601a5b38e Initial 3.10.0 upload 2025-02-22 21:52:13 +11:00
Mykhailo-Roit 381967c8cf fix conditions 2025-01-09 15:40:21 +02:00