简体   繁体   中英

Excel Power Query - Is it possible to connect to Azure Blob Storage with SAS authentication or Azure AD account

I am accessing a container from a Azure Blob Storage with Excel, we connect through "New Query" but only gives the option to access with the Account Key.

在此处输入图片说明

After logging the permissions are saved in Data source setting with the Account Key.

To access that Azure Blob Storage from VBA is enough with the function from Power Query AzureStorage.Blobs ( https://docs.microsoft.com/en-us/powerquery-m/azurestorage-blobs ).

¿Is It possible to do the same with SAS (Shared Access Signature) Token or Azure AD account instead of using the Account Key? I've looking and found nothing at the moment

Yes, you could connect with sas, however it's not data from azure, in my test it could work with from web.

I generate the sas url with read,write permissions and use HTTP protocol, then in the excel paste the url and replace https to http . Then you will be able to get the data.

在此处输入图片说明

在此处输入图片说明

If use Power Query, choose New Source-> Other Sources-> Web then it's same with excel get data.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM