Microsoft Teams archiving task is unable to archive items when it fails converting a .VCJ file into a .EML file.

book

Article ID: 100061294

calendar_today

Updated On:

Description

Error Message

In the DTrace of EvTeamsArchivingTask below is seen:

{EMLWriter.SaveEML} EMLWriter::SaveEML: Exception Details : System.IO.DirectoryNotFoundException: '\\SERVER\Holding Teams\TeamsConnectA\ConvertedChatHolding\20230911\BFEC383F\EMLs\Teams_Chat__2023_10_05__ADC\XXX\YYY_+8_Others_Others.eml' ??? ??? ?? ? ????.|   ??: System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)|   ??: System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)|   ??: System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)|   ??: MimeKit.MimeMessage.WriteTo(FormatOptions options, String fileName, CancellationToken cancellationToken)|   ??: EVTeamsChatJsonToEml.EMLWriter.SaveEML(Dictionary`2 attachmentMap)

and event id 41713 is generated as below:

Event ID: 41713 An error occurred while converting Teams chat data into .eml file.|Error Location: EVTeamsChatJsonToEml Converter, EMLWriter::SaveEML |Error Message: Exception in generating and saving .eml file. |Error Details: System.IO.DirectoryNotFoundException: '\\SERVER\Holding Teams\TeamsConnectA\ConvertedChatHolding\20230911\BFEC383F\EMLs\Teams_Chat__2023_10_05__ADC\XXX\YYY_+8_Others.eml' ??? ??? ?? ? ????.|   ??: System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)|   ??: System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)|   ??: System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)|   ??: MimeKit.MimeMessage.WriteTo(FormatOptions options, String fileName, CancellationToken cancellationToken)|   ??: EVTeamsChatJsonToEml.EMLWriter.SaveEML(Dictionary`2 attachmentMap) |

Cause

Microsoft Teams archiving task while converting a vcj file to an eml generates the name of the eml file based on the ‘Display Name’ of the user participants of the chat. If the display names have special characters such as ‘/’ or ‘*’, then when the archiving task attempts to create and save such an eml file (having special characters in its name) to the holding folder, it encounters a Windows I/O exception.

Resolution

Veritas Technologies LLC currently plans to address this issue by way of a patch or hotfix to the current version of the software. Please note that Veritas Technologies LLC reserves the right to remove any fix from the targeted release if it does not pass quality assurance tests.  Veritas’ plans are subject to change and any action taken by you based on the above information or your reliance upon the above information is made at your own risk.

Issue/Introduction

Microsoft Teams archiving task is unable to archive items when it fails converting a .VCJ file into a .EML file.

Additional Information

JIRA: CFT-5861