From 9ca756bfedd83cc4e402d0cdfa75dfc7908747a1 Mon Sep 17 00:00:00 2001 From: Mikael Karlsson <43226266+Micke-K@users.noreply.github.com> Date: Sun, 7 Dec 2025 21:23:01 +1100 Subject: [PATCH] 3.10.1.13 Issue 383 - Fixed issue with document bool values in App Config with XML settings. --- .gitignore | 1 + Extensions/DocumentationCustom.psm1 | 13 ++++++++- Extensions/MSGraph.psm1 | 2 +- ReleaseNotes.md | 23 +++++++++++++++ Xaml/DocumentationJsonOptions.xaml | 44 +++++++++++++++++++++++++++++ 5 files changed, 81 insertions(+), 2 deletions(-) create mode 100644 Xaml/DocumentationJsonOptions.xaml diff --git a/.gitignore b/.gitignore index 433f260..c33ff82 100644 --- a/.gitignore +++ b/.gitignore @@ -8,5 +8,6 @@ /*.new /*.old /Extensions/*.zip +Extensions_dev/ .gitignore CloudAPIPowerShellManagement.log diff --git a/Extensions/DocumentationCustom.psm1 b/Extensions/DocumentationCustom.psm1 index 5377d78..00933cb 100644 --- a/Extensions/DocumentationCustom.psm1 +++ b/Extensions/DocumentationCustom.psm1 @@ -2033,11 +2033,22 @@ function Invoke-CDDocumentMobileAppConfiguration { $name = $xml.dict.ChildNodes[$i].'#text' $i++ - $value = $xml.dict.ChildNodes[$i].'#text' + + if($xml.dict.ChildNodes[$i].Name -eq "true" -or $xml.dict.ChildNodes[$i].Name -eq "false") + { + $value = $xml.dict.ChildNodes[$i].Name + $type = "boolean" + } + else + { + $value = $xml.dict.ChildNodes[$i].'#text' + $type = $xml.dict.ChildNodes[$i].Name + } Add-CustomSettingObject ([PSCustomObject]@{ Name = $name Value = $value + ValueType = $type EntityKey = $name Category = $category }) diff --git a/Extensions/MSGraph.psm1 b/Extensions/MSGraph.psm1 index bf70568..1e2ba08 100644 --- a/Extensions/MSGraph.psm1 +++ b/Extensions/MSGraph.psm1 @@ -4563,7 +4563,7 @@ function Save-GraphObjectToFile { param($obj, $fileName) - if(((Get-SettingValue "SortJsonProperties") -eq "True")) { + if(((Get-SettingValue "SortJsonProperties") -eq $true)) { $json = $obj | ConvertTo-JsonSortedGraph -Depth 50 } else { diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 0879141..c3cf92b 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,4 +1,27 @@ # Release Notes +## 3.10.2 - 2025-10-14 + +**Fixes** + +- **Generic**
+ - Paging
+ Paging was introduce in 3.10 but was missed in the release notes and caused a lot of issues
+ Turns out that far from all APIs supports paging
+ Looks like Settings Catalog has a very weird paging solution where it returs the wrong number of objects
+ Sometimes it reports it has more pages even if there are not objects to load e.g. I set page size to 5 and tried to load Android OEM Config
+ Default page size is set to 100
+ Note: Set API Page size in settings to Graph API Default to skip paging
+ Based on [Issue 364](https://github.com/Micke-K/IntuneManagement/issues/364)
+ - Entra Group Creation + Entra groups will now be created with random mailNickname to match the Entra portal. + +- **Authentication**
+ - Login with App in UI
+ This was enabled before but Tenant ID was added to Settings to allow App Id login to a single tenant
+ Based on [Issue 367](https://github.com/Micke-K/IntuneManagement/issues/367)
+ Note:This is NOT recommended except for testing App permissions etc. The secret is stored in clear text + + ## 3.10.1 - 2025-09-14
diff --git a/Xaml/DocumentationJsonOptions.xaml b/Xaml/DocumentationJsonOptions.xaml new file mode 100644 index 0000000..e25b417 --- /dev/null +++ b/Xaml/DocumentationJsonOptions.xaml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file