One of the biggest pain points of many companies is the documentation of their infrastructure. With the fast changing products/features it’s more important to have an accurate documentation. The Automatic Microsoft 365 Documentation is the successor of the Automatic Intune Documentation which provides many advantages. It’s no longer a simple script and you can interact with the collected data.
Install-Module MSAL.PS Install-Module PSWriteWord Install-Module M365Documentation
# Connect to your tenant Connect-M365Doc # Collect information for component Intune as an example $doc = Get-M365Doc -Components Intune -ExcludeSections "MobileAppDetailed" # Output the documentation to a Word file $doc | Write-M365DocWord -FullDocumentationPath "c:\temp\$($doc.CreationDate.ToString("yyyyMMddHHmm"))-WPNinjas-Doc.docx"
Another example: detect deviations
From the community I got back many feedbacks for new features to allow them to fulfill their requirements. Some of them were also pretty useful for me and therefore I would like to highlight one of them directly in this blog.
From time to time you would like to see if something has changed in your environment. The Azure/Microsoft 365 Audit logs provide not always all information to fully understand the changes. Here the documentation module can help with the option to backup the whole configuration to a json file. These json files can be compared with a webservice like http://www.jsondiff.com/.
You can collect all information like normal, but then use the Write-M365DocJson Cmdlet to save the configuration in a comparable format:
# Connect to your tenant Connect-M365Doc # Collect information for component Intune as an example $doc = Get-M365Doc -Components Intune -ExcludeSections "MobileAppDetailed" # Output the documentation to a Word file $doc | Write-M365DocJson -FullDocumentationPath "c:\temp\$($doc.CreationDate.ToString("yyyyMMddHHmm"))-WPNinjas-Doc.json"
The result looks pretty good:
Support translation process
Tto simplify the translation process I added a UI which is able to show and submit your contribution to the project. A step by step guide is available on the project page.
- Build better pilot rings for Updates with MEM Intune - June 13, 2021
- Automatic Intune Documentation evolves to Automatic Microsoft 365 Documentation - May 25, 2021
- Build better pilot rings for Updates with MEMCM - March 14, 2021