IntuneManagement icon indicating copy to clipboard operation
IntuneManagement copied to clipboard

add replace Assignments option

Open Mykhailo-Roit opened this issue 11 months ago • 3 comments

I need the ability to replace Assignments with the import type "Replace" like during the "Always import" type it can be resolved with 2 variants:

  • by adding a new import type "Replace include assignments"
  • by adding new import options next to "Import Assignments" e.g. "Replace Assignments"

image

Mykhailo-Roit avatar Jan 08 '25 15:01 Mykhailo-Roit

prepared PR https://github.com/Micke-K/IntuneManagement/pull/296 - add a new import type "Replace include assignments"

Mykhailo-Roit avatar Jan 08 '25 16:01 Mykhailo-Roit

Hello,

Thank you for this!

Can you change line 2360? Just to make sure original path would be 100% the same.

if ($global:cbImportType.SelectedValue -eq "replace"){

to

if ($global:cbImportType.SelectedValue -ne "replace_with_assignments"){

Cheers!

Micke-K avatar Jan 09 '25 11:01 Micke-K

@Micke-K done

Mykhailo-Roit avatar Jan 09 '25 13:01 Mykhailo-Roit