Using UiPath.Azure activity package, we are trying to access the list of Blobs in a container without using an Azure Scope.

Getting the below MissingMethodException even when there are no other dependencies. Any guidance on how to resolve this?

Tried both versions 1.2 and 1.3-preview and getting the error.
1.1.8 works but we need to use 1.2 so that we can use CopyBlob outside of Azure Scope (not available in <= 1.1.8)

Full error:

Source: For Each Blob in Container

Message: Method not found: 'System.Threading.Tasks.ValueTask`1<Boolean> System.Collections.Generic.IAsyncEnumerator`1.MoveNextAsync()'.

Exception Type: System.MissingMethodException

RemoteException wrapping System.MissingMethodException: Method not found: 'System.Threading.Tasks.ValueTask`1<Boolean> System.Collections.Generic.IAsyncEnumerator`1.MoveNextAsync()'. 
   at UiPath.Azure.Activities.AzureForEachBlob.<GetNextValue>d__14.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at UiPath.Azure.Activities.AzureForEachBlob.GetNextValue(NativeActivityContext context)
   at UiPath.Azure.Activities.AzureForEachScopeInvariant`1.GetNextValue(NativeActivityContext context, IAzureClientProvider clientProvider)
   at UiPath.Azure.Activities.AzureForEach`1.<>c__DisplayClass27_0.<InternalExecute>b__0(IAzureClientProvider clientProvider)
   at UiPath.Azure.Core.AzureCmd.Run[T](Func`2 func)
   at UiPath.Azure.Activities.AzureForEach`1.InternalExecute(NativeActivityContext context, AzureCmd azureCmd)
   at UiPath.Azure.Activities.AzureForEach`1.<ExecuteAsync>d__23.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at UiPath.Shared.Activities.AsyncTaskNativeImplementation.BookmarkResumptionCallback(NativeActivityContext context, Object value)
   at UiPath.Shared.Activities.AsyncTaskNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
   at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
   at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)```
1 Like

Hey @cshan

This exception occurs when you run the process or ?


Hi @cshan

kindly refer below link

hope this helps

Yes, it is a Runtime Exception

1 Like

Thanks Nikhil, but as you can see in my screenshot, there are no other dependencies added to the project other than the UiPath.Azure activities.

There’s definitely no libraries being used, so I don’t think that link suggesting a republish of library will help me here :frowning:

Hey @cshan

If you can share the project file please ?


Hey mate, sure, I am attaching it to this message. I needed to redact all my settings information but if you have an Azure Storage Account, you can substitute your own :slight_smile:
BlobTest.zip (2.1 KB)

1 Like