SOLVED
Home

Documenting Intune Settings

%3CLINGO-SUB%20id%3D%22lingo-sub-207484%22%20slang%3D%22en-US%22%3EDocumenting%20Intune%20Settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-207484%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EDoes%20anyone%20have%20any%20suggestions%20about%20how%20I%20could%20create%20a%20report%20that%20shows%20all%20of%20the%20Intune%20settings%3F%20I'd%20like%20to%20create%20a%20document%20that%20shows%20the%20current%20configuration%20so%20that%20the%20settings%20can%20easily%20be%20reviewed%20by%20various%20people%20in%20an%20organization.%20%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-207484%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-277059%22%20slang%3D%22en-US%22%3ERe%3A%20Documenting%20Intune%20Settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-277059%22%20slang%3D%22en-US%22%3EHey%2C%20is%20your%20PoSh%20session%20running%20under%20the%20same%20user%20context%20as%20the%20credential%20you%20use%20to%20connect%20to%20MSOL%3F%20This%20was%20an%20issue%20for%20me%20when%20trying%20to%20connect%20to%20MSTeams%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-271937%22%20slang%3D%22en-US%22%3ERe%3A%20Documenting%20Intune%20Settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-271937%22%20slang%3D%22en-US%22%3E%3CP%3Ehaving%20the%20same%20issue%20here.%3C%2FP%3E%3CP%3Emight%20be%20related%20to%20a%20missing%20email-address%20in%20your%20admin-account..%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-271126%22%20slang%3D%22en-US%22%3ERe%3A%20Documenting%20Intune%20Settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-271126%22%20slang%3D%22en-US%22%3EAs%20you%20also%20posted%20this%20issue%20on%20Github%2C%20I've%20replied%20there%20(cannot%20reproduce%2C%20works%20here)%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-271087%22%20slang%3D%22en-US%22%3ERe%3A%20Documenting%20Intune%20Settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-271087%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20running%20DocumentIntune.ps1%20-%20I%20always%20get%20the%20error%20%22Failed%20to%20retrieve%20access%20token%20from%20Azure%22.%3C%2FP%3E%3CP%3EPlease%20assist.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-216874%22%20slang%3D%22en-US%22%3ERe%3A%20Documenting%20Intune%20Settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-216874%22%20slang%3D%22en-US%22%3Eupdate%3A%20current%20version%20works%20again%20%3A)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-208000%22%20slang%3D%22en-US%22%3ERe%3A%20Documenting%20Intune%20Settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-208000%22%20slang%3D%22en-US%22%3E%3CP%3EThomas%20Kur%20wrote%20a%20nice%20script%20for%20that%2C%20I%20ran%20into%20it%20recently.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FThomasKur%2FIntuneDocumentation%2Fblob%2Fmaster%2FDocumentIntune.ps1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FThomasKur%2FIntuneDocumentation%2Fblob%2Fmaster%2FDocumentIntune.ps1%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENote%3A%20the%20current%20version%20is%20broken%2C%20but%20I%20added%20some%20fixes%20to%20my%20fork%20of%20it%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fjflieben%2FIntuneDocumentation%2Fblob%2Fmaster%2FDocumentIntune.ps1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fjflieben%2FIntuneDocumentation%2Fblob%2Fmaster%2FDocumentIntune.ps1%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Dean Gross
Respected Contributor

Does anyone have any suggestions about how I could create a report that shows all of the Intune settings? I'd like to create a document that shows the current configuration so that the settings can easily be reviewed by various people in an organization.

6 Replies
Highlighted
Solution

Thomas Kur wrote a nice script for that, I ran into it recently.

https://github.com/ThomasKur/IntuneDocumentation/blob/master/DocumentIntune.ps1

 

Note: the current version is broken, but I added some fixes to my fork of it:

https://github.com/jflieben/IntuneDocumentation/blob/master/DocumentIntune.ps1

 

Highlighted
update: current version works again :)
Highlighted

Hi,

 

When running DocumentIntune.ps1 - I always get the error "Failed to retrieve access token from Azure".

Please assist.

 

Thanks

Highlighted
As you also posted this issue on Github, I've replied there (cannot reproduce, works here)

having the same issue here.

might be related to a missing email-address in your admin-account..

 

Highlighted
Hey, is your PoSh session running under the same user context as the credential you use to connect to MSOL? This was an issue for me when trying to connect to MSTeams
Related Conversations
New feature in Edge canary | Default browser
HotCakeX in Discussions on
0 Replies
Ophaned Channel
michaelchester in Microsoft Teams on
3 Replies
Suggestion for improved Planner Integration
Clayton12S in Microsoft Teams on
1 Replies
How to deal with pre installed iOS app
Koos Duijvenbode in Microsoft Intune on
0 Replies
Unable to get IE mode working through Intune
kblack1091 in Enterprise on
0 Replies