From ce92b3d6f7b88f495d06efa38f23b77df2e5e707 Mon Sep 17 00:00:00 2001 From: Maxime Guillemin | Cloudflow Date: Wed, 17 Jul 2024 19:15:53 +0200 Subject: [PATCH 1/3] Bug Fix Settings Catalog assignment issue --- Scripts/AddAssignmentButton.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Scripts/AddAssignmentButton.ps1 b/Scripts/AddAssignmentButton.ps1 index fec430f..99e4ad1 100644 --- a/Scripts/AddAssignmentButton.ps1 +++ b/Scripts/AddAssignmentButton.ps1 @@ -52,6 +52,9 @@ $AddAssignmentButton.Add_Click({ if ($global:CurrentPolicyType -eq "mobileApps" -or $global:CurrentPolicyType -eq "mobileAppConfigurations") { $urlGetAssignments = "https://graph.microsoft.com/beta/deviceAppManagement/$($global:CurrentPolicyType)('$($selectedPolicy.PolicyId)')/assignments" $assignments = (Invoke-MgGraphRequest -Uri $urlGetAssignments -Method GET).value + } elseif($global:CurrentPolicyType -eq "configurationPolicies"){ + $urlGetAssignments = "https://graph.microsoft.com/beta/deviceManagement/$($global:CurrentPolicyType)('$($selectedPolicy.PolicyId)')/assignments" + $assignments = (Invoke-MgGraphRequest -Uri $urlGetAssignments -Method GET).value } else { $urlGetAssignments = "https://graph.microsoft.com/beta/deviceManagement/$($global:CurrentPolicyType)('$($selectedPolicy.PolicyId)')?`$expand=assignments" $assignments = (Invoke-MgGraphRequest -Uri $urlGetAssignments -Method GET).assignments From 3de861d270682b50235c5fdd7a7bb08e53f58c83 Mon Sep 17 00:00:00 2001 From: Maxime Guillemin | Cloudflow Date: Wed, 17 Jul 2024 19:17:53 +0200 Subject: [PATCH 2/3] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e8302f3..69a23c4 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,10 @@ The Intune Toolkit is a PowerShell-based solution designed to simplify the manag - **Logging:** Detailed logging for all major actions and error handling. ## Release Notes +# v0.2.1-alpha +- **Bug Fixes** + - Assignment Issue with Device confiuration poilicy (Settings Catalog) + # v0.2.0-alpha - **Features** - Mac OS Scripts @@ -46,11 +50,7 @@ The Intune Toolkit is a PowerShell-based solution designed to simplify the manag - Basic Version Check to latest Release Version on Github - **Bug Fixes** - Build in safety when no filters Exists ( Second Attempt ;-) ) -# v0.1.1-alpha -======= -- **Logging:** Detailed logging for all major actions and error handling. -## Release Notes ### v0.1.1-alpha - **Features** - Platform scripts From b6bb55d1649fd5ded93208983e3b6ca94d6710c3 Mon Sep 17 00:00:00 2001 From: Maxime Guillemin | Cloudflow Date: Wed, 17 Jul 2024 19:20:02 +0200 Subject: [PATCH 3/3] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 69a23c4..9cffa8a 100644 --- a/README.md +++ b/README.md @@ -36,11 +36,11 @@ The Intune Toolkit is a PowerShell-based solution designed to simplify the manag - **Logging:** Detailed logging for all major actions and error handling. ## Release Notes -# v0.2.1-alpha +### v0.2.1-alpha - **Bug Fixes** - Assignment Issue with Device confiuration poilicy (Settings Catalog) -# v0.2.0-alpha +### v0.2.0-alpha - **Features** - Mac OS Scripts - App Configuration Policies