I’ve been having this problem for a few days and I’m stuck. I’ve been looking into it, but I’m not exactly sure what this error is. I’m migrating my processes to a virtual machine running Windows 11, and when the process runs in the orchestrator, I get the following message. " Could not load file or assembly 'System.Text.Json, Version=5.0.0.2, Culture=neutral, or one of its dependencies. The system cannot find the file specified. File name: 'System.Text.Json, Version=5.0.0.2, Culture=neutral, at UiPath.Shared.Authentication.Microsoft.Models.OAuthDataOptions.Serialize(Object obj) at UiPath.Shared.Authentication.Microsoft.Models.OAuthDataOptions.GetKey() at UiPath.Productivity.Services.Resolver.ServiceResolver.Register[TService,TKey](Func`1 func, TKey key) at UiPath.MicrosoftOffice365.Extensions.IServiceResolverExtensions.RegisterGraphService(IServiceResolver resolver, OAuthDataOptions connection) at UiPath.MicrosoftOffice365.Activities.Office365ApplicationScope" I’ve been running my process locally, but I don’t see that message on my local machine.
Double-check if downgrading or upgrading the UiPath.MicrosoftOffice365.Activities package in your project helps, as I think you have some incompatiblity issues especially due to System.Text.Json sub-dependency.
Hi @Luisrow,
Welcome to the community.
Could you confirm whether the process was developed and tested on your local machine and then deployed to the client VM?
If yes, ideally the process should be developed and tested in the DEV environment and then deployed to PROD. Since it works locally but fails on the VM, this may indicate an package, or dependency mismatch between the two environments.
Thanks
Hi @iampnkz The process was tested in dev to next to PRE environment and finally y PRO environment and only in Pro (Client vm ) had this issue and we have the same version of the process
How i could check if we have incompatibility in the Client VM?
The Studio and Robot version needs to be the same.