In reply to samir.

I don't think you should use the URLDECODE function with this URL before you pass it in PROC HTTP. To avoid warnings though, you can escape the & in the URL with %str(). I'd do that as a last step after everything else is working.

BUT, I think a bigger problem is that your SAS session might not be able to get to this OneDrive location without authentication. We use OneDrive here at SAS, and I know that only authenticated users can get to OneDrive -- there is no concept of "public" links like you might have on DropBox or Box.com. I'll have to play around with this a bit to see what it takes.