ThomasKur / M365Documentation

Automatic Microsoft 365 Documentation to simplify the life of admins and consultants.
Other
300 stars 45 forks source link

Write-M365DocWord : Cannot bind argument to parameter 'Data' because it is null. #17

Closed Perrinw closed 2 years ago

Perrinw commented 2 years ago

Getting error when running (same error when ran $doc | Write-M365DocWord -FullDocumentationPath "c:\temp\$($doc.CreationDate.ToString("yyyyMMddHHmm"))-WPNinjas-Doc.docx")

Connect-M365Doc $doc | Write-M365DocWord -FullDocumentationPath "c:\temp\WPNinjas-Doc.docx"

Write-M365DocWord : Cannot bind argument to parameter 'Data' because it is null. At line:2 char:8

Perrinw commented 2 years ago

resolved