Microsoft 365 Scope - Get mail messages: Method 'DisposeAsync' in type 'System.Text.Json.Utf8JsonWriter' from assembly 'System.Text.Json, Version=6.0.0.9, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' does not have an implementation

Hi @EvelineL
Checked with UiPath. Its a known issue and will be fixed in next update of O365 package.
Below are details for your reference.

Reason\Cause: There are 2 dependencies to System.Text.Json under UiPath.MicrosoftOffice365.Activities 1.14.1. One depends on 4.6.0 or larger, and another one on 5.0.2 or larger. Due to the second requirement, we think 5.0.2 is probably applied for a function call that expects 4.6.0. System.Text.Json.Utf8JsonWriter.DisposeAsync exists in 4.6.0 but it does not in 5.0.2.

It was right now with Development team for fix and currently there is no ETA.

Resolution: We would recommend you to proceed with one of the below workarounds

  1. The Microsoft Office 365 activity package 1.14.1 has UiPath Platform 22.4.0 as a dependency, meaning that in order to properly work, you would need to upgrade to Studio/Robot 22.4.
    Please find the screenshot below
    image

  2. If you do not want to proceed with upgrade and continue to use the 21.10.4 version (as mentioned in the case details), you would need to use the Microsoft Office 365 activity Package version 1.11.1.please downgrade the package to 1.11.1 Version.

Hope this will help all.
Thanks,
Sandeep Panchal

6 Likes