Facing the issue on Upload files of Microsoft 365 Scope?

@TJamuna

in upload files activity try to give your input with below syntax

LocalResource.FromPath(CurrentIEnumeratorOFText)

or

when getting your files from directory use
use below syntax in Assign activity

Directory.GetFiles(“Path”).Select(function(x) LocalResource.FromPath(x)).ToArray

delete existing for each take one new for each then give new array variable,
then you can directly use currentitem without above syntax

happy Automation