How to connect to azure blob container from BizTalk using only SAS-Token

Natalia Gawrychowska 0 Reputation points
2023-11-13T13:01:07.8633333+00:00

Hello,

I was provided with SAS-Token to azure storage blob container, I'm now rying to connect to that container from BizTalk in order to send files. I'm getting error message that says "Public access is not permitted on this storage accout", how am I supposed to fix this issue?

Thanks in advance.

Microsoft BizTalk Server
Microsoft BizTalk Server
A family of Microsoft server products that support large-scale implementation management of enterprise application integration processes.
349 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,468 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Luis Arias 5,126 Reputation points
    2023-11-13T17:19:15.07+00:00

    Hi @Natalia Gawrychowska ,

    You need to add a public IP to network access list on storage account .

    User's image

    More information about network configuration on storage account:

    https://learn.microsoft.com/en-us/azure/storage/common/storage-network-security?tabs=azure-portal

    Let me know if its's working for you.

    Cheers,

    Luis Arias


    If the information helped address your question, please Accept the answer.


  2. Anand Prakash Yadav 6,235 Reputation points Microsoft Vendor
    2023-11-14T11:27:12.02+00:00

    Hello Natalia Gawrychowska,

    Thank you for posting your query here!

    I understand you are getting the error message "Public access is not permitted on this storage account" when trying to connect to an Azure Storage Blob container from BizTalk using a SAS token.

    This indicates that the storage account has been configured to disallow public access, which is a good security practice.

    Since your Blob Storage is configured to be private, you typically cannot configure the firewall and virtual networks to allow access from all networks. In private storage, access to the storage account is restricted by default, and you need to explicitly specify which networks or IP addresses are allowed.

    User's image

    Refer to page for more details about how to make these settings: https://docs.microsoft.com/en-us/azure/storage/common/storage-network-security?tabs=azure-portal

    Also, please confirm that the SAS token you are using has not expired and has the necessary permissions for the operations you are trying to perform (e.g., write permissions for sending files).

    Kindly let us know if you have any further queries. I’m happy to assist you further.


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


  3. Natalia Gawrychowska 0 Reputation points
    2023-11-15T09:32:13.5766667+00:00

    Hi,

    I do add IP address when I create SAS Token, I also allow public access from all networks. I can try do it like you show on the picture but since I allow public access from all networks I shoud not be getting error "public access is not permitted", or am I wrong?

    0 comments No comments