cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Mson
Level: Powered On

how to upload to blob container via sas url

It looks like there is a way to get a SAS URI for Blob Storage.  What is the action is use that URI to upload files to the container?

1 ACCEPTED SOLUTION

Accepted Solutions
Mson
Level: Powered On

Re: how to upload to blob container via sas url

Actually. I figured out a way to do this.

After getting the SAS Uri for a blob container then one can use the http action and create a put request with
A) the appropriate x-ms headers, and
B) have the body be the content
C) split the SAS Uri into two parts on ? with the split function, then have the url used for the PUT request be split[0] / [filename] ? split[1]

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: how to upload to blob container via sas url

Hi @Mson,

 

We could use the action Create SAS URl by path to create a SAS link for the blob using the path. To upload files to the container, we could use the action Create blob, but it seems that there is no action can be used to upload files using the SAS URl.

 

Please check this doc for more details:

https://docs.microsoft.com/en-us/connectors/azureblob/

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Mson
Level: Powered On

Re: how to upload to blob container via sas url

Actually. I figured out a way to do this.

After getting the SAS Uri for a blob container then one can use the http action and create a put request with
A) the appropriate x-ms headers, and
B) have the body be the content
C) split the SAS Uri into two parts on ? with the split function, then have the url used for the PUT request be split[0] / [filename] ? split[1]

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,706)