Hello Chris,

I have a OneDrive shared sas dataset in

https://xxx-my.sharepoint.com/personal/name_lastname_rd_xxx_com/_layouts/15/onedrive.aspx?slrid=7dcd919e-a0c7-6000-69ec-8e5fd57eb620&id=%2fpersonal%2fname_lastname_rd_xxx_com%2fDocuments%2fSAS&FolderCTID=0x012000041A8B345AFCA749A74482ADEC067490/app.sas7bdat
I used the sas function urldecode and then replacing & by %str(&) and I get:
https://xxx-my.sharepoint.com/personal/name_lastname_rd_xxx_com/_layouts/15/onedrive.aspx?slrid=7dcd919e-a0c7-6000-69ec-8e5fd57eb620%str(&)id=/personal/name_lastname_rd_xxx_com/Documents/SAS%str(&)%str(&apm;)FolderCTID=0x012000041A8B345AFCA749A74482ADEC067490

when I launch the code :
filename _inbox "%sysfunc(getoption(work))/app.sas7bdat";
proc http method="get"
url="https://xxx-my.sharepoint.com/personal/name_lastname_rd_xxx_com/_layouts/15/onedrive.aspx?slrid=7dcd919e-a0c7-6000-69ec-8e5fd57eb620%str(&)id=/personal/name_lastname_rd_xxx_com/Documents/SAS%str(&)%str(&apm;)FolderCTID=0x012000041A8B345AFCA749A74482ADEC067490/app.sas7bdat"
out=_inbox;
run;

I get a warning:
WARNING: Apparent symbolic reference APM not resolved.

And Error:
ERROR: Error connecting to 13.107.136.9:443. (The connection has timed out.)
ERROR: Unable to establish connection to loreal-my.sharepoint.com.
ERROR: Unable to connect to Web server.

Can you help to understand what is wrong?
Thanks a lot