Skip to content

joshbasquez/intune-admx-policy-export

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 

Repository files navigation

Microsoft Intune admx policies export

This is a fork of the repo github.com/sandytsang/MSIntune. Some updates for modern authentication using delegated permissions and a deviceCode for obtaining admin accesstoken.

credits: SandyTsang, SCConfigMgr.com/MSEndpointmgr.com, @powers-hell and @onpremcloudguy

Pre-requisites:
-app registration must have delegated permission: Microsoft Graph\DeviceManagementConfiguration.Readwrite.all
-intune displayname of the policy must not contain any special characters (export creates a folder with the displayname of the policy)


Microsoft learn - Intune - Replace existing admx files:
https://learn.microsoft.com/en-us/intune/intune-service/configuration/administrative-templates-import-custom#replace-existing-admx-files



This script is experimental and for learning purposes only. Use at your own risk. Document any policies prior to deleting them in your own production environment.

TODO:
-Add support for authentication via client/secret and certAuth
-add support for exporting/importing groupAssignments

About

script to export or import an intune configuration policy based on admx administrative templates. Forked from sandytsang with references to scconfigmgr.com, powers-hell, and onpremcloudguy.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PowerShell 100.0%