ThomasKur/M365Documentation
ThomasKur/M365Documentation has 638 GitHub stars and 83 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-16 04:34 UTC. Last push 2026-10-09.
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
Automatic Microsoft 365 Documentation to simplify the life of admins and consultants.
Developer ToolsREADME.md
OriginalAutomatic Microsoft 365 Documentation
Automatic Microsoft 365 Documentation to simplify the life of admins and consultants. You can automatically document systems like:
- Microsoft Intune
- Microsoft Entra ID (Azure AD)
- Microsoft Cloud Print
- Microsoft Information protection
- Windows 365 (CloudPC)
This list will expand in the near future.
This is the successor to the IntuneDocumentation module and has much more options like:
- Output to Json
- Backup your configuration and create documentation later
- Compare your configuration over time, for example with JSON Diff or JSONViewerTool JSON Compare
- Output to CSV
- Output to Markdown/MD
- Output to HTML
- Flexible Authentication with MSAL.PS
- Support for Certificate and Secret based Authentication
Through the new architecture much other features will follow in the near future.
Usage
Installation
The required modules are fully available in the PowerShell Gallery and therefore simple to install.
Install-Module MSAL.PS
Install-Module PSWriteOffice -MinimumVersion 1.0.2
Install-Module M365Documentation
PowerShell 7 is required.
Word export requires PSWriteOffice 1.0.2 or later. Older PSWriteOffice releases (including 0.2.0) are no longer supported. After updating PSWriteOffice, start a new PowerShell session so the new assemblies are loaded. Word export has been tested with PSWriteOffice 1.0.2 and 3.0.8.
Basic Usage to create docx
This section covers basic functionality for interactive usage. Advanced use cases like creating your own app registration is covered in the advanced usage section.
# Connect to your tenant
Connect-M365Doc
# Collect information
$Selection = Get-M365DocValidSection | Out-GridView -OutputMode Multiple
$Sections = $Selection | Select-Object -ExpandProperty SectionName
$Components = $Selection | Select-Object -ExpandProperty Component -Unique
$doc = Get-M365Doc -Components $Components -IncludeSections $Sections
# Output the documentation to a Word file
$doc | Write-M365DocWord -FullDocumentationPath "c:\temp\$($doc.CreationDate.ToString("yyyyMMddHHmm"))-WPNinjas-Doc.docx"
Sections which you can choose from
You can now use the Get-M365DocValidSection -Components Intune command to list the complete list of valid sections.
Component: AzureAD AADAdministrativeUnit AADAuthMethod AADBranding AADConditionalAccess AADConditionalAccessSplit AADDirectoryPimRole AADDirectoryRole AADDomain AADIdentityProvider AADOrganization AADPolicy AADSubscription
Component: CloudPrint CPConnector CPPrinter
InformationProtection MIPLabel
Intune MdmAdmxConfigurationProfile MdmAppleConfiguration MdmAutopilotProfile MdmCompliancePolicy MdmConfigurationPolicy MdmConfigurationProfile MdmDeviceAssignmentFilter MdmDeviceCategory MdmEnrollmentConfiguration MdmExchangeConnector MdmPartner MdmPowerShellScript MdmRole MdmShellScript MdmSecurityBaseline MdmTermsAndCondition MdmWindowsUpdate MobileApp MobileAppConfiguration MobileAppDetailed MobileAppManagement ... Use the Get-M365DocValidSection command to get a complete list.
Windows365 W365Image W365OnPremConnection W365ProvisionProfile W365UserSetting
Supported Components
Microsoft Endpoint Manager / Intune
The following entities are documented:
- Configuration Policies
- Compliance Policies
- Device Enrollment Restrictions
- Terms and Conditions
- Applications (Only Assigned)
- Application Protection Policies
- AutoPilot Configuration
- Enrollment Page Configuration
- Apple Push Certificate
- Apple VPP
- Device Categories
- Exchange Connector
- Application Configuration
- PowerShell Scripts
- ADMX backed Configuration Profiles
- Security Baseline
- Custom Roles
Azure AD
The following entities are documented:
- Azure AD Conditional Access Policies
- Translate referenced IDs to real object names (users, groups, roles and applications)
- Domains
- Feature Rollout Policy
- Authentication policies
- Role Assignments & PIM Roles
- Mobile Device Management Policies
- Subscriptions / SKU
- Organizational Settings
- Administrative Units
Cloud Print
The following entities are documented:
- Printers
- Connectors
- Printer Shares
Microsoft Information Protection
The following entities are documented:
- Labels
Windows 365 (CloudPC)
- Device Images
- Provisioning Profiles
- User Settings
- On-premises Connections
Issues / Feedback
For any issues or feedback related to this module, please register for GitHub, and post your inquiry to this project's issue tracker.
Thanks to
@NicoSchmidtbauer for all the contributions around HTML output and other fixes and improvements
@MEM_MVP for the continuous feedback and 10000 translations!!!! Thank you!
@Microsoftgraph for the PowerShell Examples: https://github.com/microsoftgraph/powershell-intune-samples
@PrzemyslawKlys for the PSWriteWord Module, which enables the creation of the Word file. https://github.com/EvotecIT/PSWriteOffice
@MScholtes for the Transponse-Object example https://github.com/MScholtes/TechNet-Gallery
@ylepine for the contribution to support Intune Settings catalog
@johofer contribution to remove base64 encoded images from the documentation.
