Home

Exporting / backing up Intune configuration

%3CLINGO-SUB%20id%3D%22lingo-sub-222066%22%20slang%3D%22en-US%22%3EExporting%20%2F%20backing%20up%20Intune%20configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-222066%22%20slang%3D%22en-US%22%3E%3CP%3EHow%20are%20you%20all%20backing%20up%20your%20Intune%20configuration%20(including%20details%20such%20as%20assigments%2C%20etc.)%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20found%20some%20Powershell%20scripts%20such%20as%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoftgraph%2Fpowershell-intune-samples%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fmicrosoftgraph%2Fpowershell-intune-samples%3C%2FA%3E%20but%20they%20only%20seem%20to%20get%20me%20a%20percentage%20of%20the%20way.%26nbsp%3B%20Ideally%20I'd%20like%20something%20I%20can%20run%20on%20a%20schedule%20so%20that%20if%20someone%2C%20for%20example%2C%20went%20it%20and%20deleted%20a%20policy%20it%20would%20be%20trivial%20to%20restore%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELuke%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-222066%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-222454%22%20slang%3D%22en-US%22%3ERe%3A%20Exporting%20%2F%20backing%20up%20Intune%20configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-222454%22%20slang%3D%22en-US%22%3E%3CP%3ECheers%20for%20that%2C%20I've%20been%20playing%20with%20that%20script%20a%20bit%20and%20it%20does%20seem%20to%20capture%20a%20lot%20of%20data%20(although%20I'm%20having%20some%20fun%20getting%20it%20to%20play%20nice%20with%20enforced%20MFA).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnything%20else%20that%20anyone's%20found%20on%20their%20travels%20to%20supplement%20the%20information%20that%20Thomas'%20script%20exports%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-222069%22%20slang%3D%22en-US%22%3ERe%3A%20Exporting%20%2F%20backing%20up%20Intune%20configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-222069%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20Luke%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ehave%20a%20look%20here%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FThomasKur%2FIntuneDocumentation%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FThomasKur%2FIntuneDocumentation%3C%2FA%3E%3C%2FP%3E%3CP%3EThis%20PowerShell%20script%20documents%20the%20Intune%20tenant.%20I%20think%20this%20might%20fulfill%20your%20needs.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ebest%2C%3C%2FP%3E%3CP%3EOliver%3C%2FP%3E%3C%2FLINGO-BODY%3E
Luke Whitworth
New Contributor

How are you all backing up your Intune configuration (including details such as assigments, etc.)?

 

I've found some Powershell scripts such as https://github.com/microsoftgraph/powershell-intune-samples but they only seem to get me a percentage of the way.  Ideally I'd like something I can run on a schedule so that if someone, for example, went it and deleted a policy it would be trivial to restore it.

 

Cheers,

 

Luke

2 Replies

Hey Luke,

 

have a look here:

https://github.com/ThomasKur/IntuneDocumentation

This PowerShell script documents the Intune tenant. I think this might fulfill your needs.

 

best,

Oliver

Cheers for that, I've been playing with that script a bit and it does seem to capture a lot of data (although I'm having some fun getting it to play nice with enforced MFA).

 

Anything else that anyone's found on their travels to supplement the information that Thomas' script exports?

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies