Great article, one thing I'd like some clarity on is message size limit that can be submitted for text extraction.
Fails for a Large MSG (>15 MB) with a cryptic error in EXO :
> $content = Test-TextExtraction -FileData ([System.IO.File]::ReadAllBytes("Large.msg"))
Write-Error: A server side error has occurred because of which the operation could not be completed. Please try again after some time. If the problem still persists, please reach out to MS support.
OnPrem Exchange throws a warning about Size Limit:
> $content = Test-ProdTextExtraction -FileData ([System.IO.File]::ReadAllBytes("Large.msg"))
WARNING: Text to scan is '21940224' bytes long. Text scan limit is '15728640' bytes.
Is it safe to assume that the same limit applies for Exchange Online, or should we have different expectations?
Trying a smaller size MSG, below the warning limit of Exchange OnPrem works in EXO and generates the expected output.