BookmarkSubscribeRSS Feed
jnogueira
Calcite | Level 5

Hi,

 

I'd like to know if any of you have tips on how to upload data from SAS to Azure blob through a SAS code. I've tried to use PROC HTTP and REST API calls to authenticate and upload files to a blob container in my Azure account, but I did not manage to authenticate my access. I've followed the documentation (see https://docs.microsoft.com/en-us/rest/api/storageservices/put-blob) and tried to write my SAS code, but it's not clear how to properly incorporate the required parameters and headers to authorize my access and how to use the authorization key to access my blob container and upload files. They have sample codes that make quite straightforward to do so in other languages (in Python, for instance, https://docs.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-python), but I'd like to know if it is possible to program it in SAS. Does anyone would have a sample code or tips/material that could help me?

 

Thanks a lot!

1 REPLY 1
alexsbeck1
Calcite | Level 5

Hello.  I wanted to see if you were ever able to figure out a solution for connecting to Azure Blob storage from SAS?

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1665 views
  • 1 like
  • 2 in conversation