Skip to content

Commit

Permalink
add AppProtection type
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDuprey committed Feb 24, 2025
1 parent 9533228 commit 0563f63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Modules/CIPPCore/Public/Tools/Import-CommunityTemplate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ function Import-CommunityTemplate {
'*DriverUpdateProfiles*' { 'windowsDriverUpdateProfiles' }
'*SettingsCatalog*' { 'Catalog' }
'*configurationPolicies*' { 'Catalog' }
'*managedAppPolicies*' { 'AppProtection' }
}
$id = $Template.id
$RawJson = $Template | Select-Object * -ExcludeProperty id, lastModifiedDateTime, 'assignments', '#microsoft*', '*@odata.navigationLink', '*@odata.associationLink', '*@odata.context', 'ScopeTagIds', 'supportsScopeTags', 'createdDateTime', '@odata.id', '@odata.editLink', '[email protected]', '[email protected]', createdDateTime, '[email protected]'
Expand Down

0 comments on commit 0563f63

Please sign in to comment.