AKS flow run example

This won’t work with a remote agent because the Azure VM has no access to files on your local machine. You would need to use remote storage such as Azure blog storage.

And regarding your error message, check this page that provides a more detailed explanation of the issue: