Facing the issue on Upload files of Microsoft 365 Scope?

@yedukondaluaregala Thanks for the reply

I am facing issue, When i use Directory.GetFiles(“Path”).Select(function(x) LocalResource.FromPath(x)).ToArray


Please guide me. Thanks