I have created an azure function to upload a file from local to SharePoint online site.
I created one console application that takes input file from local path and get its content too. Then I am calling the azure function from this console application(with passing file data as parameter) and this azure function creating client context to connect to SP online site and upload this file to library.
I am using certificate authentication to connect to SP online site.
It works fine when I debug this in local(file uploaded to library) but didn't work for remote. I try to debug this for remote but couldn't hit break points.
Any help will be much appreciated.
Thanks & Regards,