I get the same error if Mirosoft Scope is ‘empty’ or if I use for example the ‘Get mail’ activitie.
I’m not sure how to get the full stack of the error….
But from the Execution log I get this:
08:54:30.4978 Info {“message”:“BlankProcess1 execution started”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2026-02-26T08:54:30.4945869+01:00”,“fingerprint”:“478669e9-f787-485e-a5d8-3ea00209e8cf”,“windowsIdentity”:“DSVTRANSPORT\mrs”,“machineName”:“LAPTOP-MRS-0524”,“fileName”:“Main”,“initiatedBy”:“Assistant”,“jobId”:“182e254a-df2d-4f00-8664-097bf94f1513”,“robotName”:“DSVTRANSPORT\MRS”,“machineId”:0,“processName”:“BlankProcess1”,“processVersion”:“1.0.2”}
08:54:30.6258 Error {“message”:“Microsoft 365 Scope: Value cannot be null. (Parameter ‘g’)\r\nin Main.xaml\r\n at Office365ApplicationScope “Microsoft 365 Scope”\r\n at Sequence “Main Sequence”\r\n at Main “Main”\r\n”,“level”:“Error”,“logType”:“Default”,“timeStamp”:“2026-02-26T08:54:30.625499+01:00”,“fingerprint”:“53413f8d-bf10-4671-a051-396e3a65c6a9”,“windowsIdentity”:“DSVTRANSPORT\mrs”,“machineName”:“LAPTOP-MRS-0524”,“fileName”:“Main”,“jobId”:“182e254a-df2d-4f00-8664-097bf94f1513”,“robotName”:“DSVTRANSPORT\MRS”,“machineId”:0,“processName”:“BlankProcess1”,“processVersion”:“1.0.2”}
08:54:30.6496 Info {“message”:“BlankProcess1 execution ended”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2026-02-26T08:54:30.6482664+01:00”,“fingerprint”:“c271040c-e127-4729-8736-83ebe92951d8”,“windowsIdentity”:“DSVTRANSPORT\mrs”,“machineName”:“LAPTOP-MRS-0524”,“fileName”:“Main”,“totalExecutionTimeInSeconds”:0,“totalExecutionTime”:“00:00:00”,“jobId”:“182e254a-df2d-4f00-8664-097bf94f1513”,“robotName”:“DSVTRANSPORT\MRS”,“machineId”:0,“processName”:“BlankProcess1”,“processVersion”:“1.0.2”}
and if copy error details from Assistant I get this:
Value cannot be null. (Parameter ‘g’)
at System.ArgumentNullException.Throw(String paramName)
at System.Guid..ctor(String g)
at UiPath.Plugin.Activities.Tracing.ActivityTraceClient.AddJobContext(TraceSpan arg)
at UiPath.Plugin.Activities.Tracing.ActivityTraceClient.Send(TraceSpan traceSpan)
at UiPath.Plugin.Activities.Tracing.ActivityTraceClient.SubmitSpan(TraceSpan span, StatusEnum status, Nullable1 endTime) at UiPath.Productivity.Diagnostics.ActivityTracingService.Trace(String message, String parentId, TraceEventType level, String type, Dictionary2 attributes)
at UiPath.Productivity.Activities.Diagnostics.Trace.BeginActivityScope[T](Activity actv, ActivityContext context)
at UiPath.MicrosoftOffice365.Diagnostics.Trace.BeginActivityScope(Activity actv, ActivityContext context)
at UiPath.MicrosoftOffice365.Activities.Office365ApplicationScope.ExecuteAsync(NativeActivityContext context, CancellationToken cancellationToken)
at UiPath.Shared.Activities.AsyncTaskNativeImplementation.BookmarkResumptionCallback(NativeActivityContext context, Object value)
at UiPath.Shared.Activities.AsyncTaskNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at UiPath.Shared.Activities.ContinuableAsyncNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)