Hi HemanthB-9452,
The problem is your file path.
I suggest you find the file path by following steps:
Go to One Drive on the web and right-click on the file that we want and select Embed. Τhen on the right we see the info window to integrate our file into a page. Inside the iframe is the source of the file. Then we have to replace the word embed with the word download and that's it.
string myWebUrlFile = "https://onedrive.live.com/download?cid=63959A1D954EE80F&resid=63959A1D954EE80F%2110492&authkey=ABQoKVOGlCY54Gk&em=2";
Best Regards,
Daniel Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
email-notifications.htmlElba-3401