knowledgecenter-breadcrum

Knowledge Center

13 Jul, 2020

How to create SAS URI to access file from Azure Blob Storage using Microsoft Power Automate (Flow)?

Posted on 13 Jul, 2020 by Admin, Posted in Power Automate

How to create SAS URI to access file from Azure Blob Storage using Microsoft Power Automate (Flow)? Blogs

How to create SAS URI to access file from Azure Blob Storage using Microsoft Power Automate (Flow)?

Introduction

In this blog, I have explained how to create SAS URI to access file from Azure Blob Storage using Microsoft Power Automate (Flow).

Solution

To access or download file from Azure blob storage, we must create a SAS URI. To trigger the flow, we are going to create a HTTP POST request so that, we can call it in any programming language using HTTP request. You can use any other trigger as per your requirement.

Step by Step

  1. Go to https://flow.microsoft.com and login with your credentials.
  2. Click on My Flows > New > Instant–from Blank.
  3. If you are shown list of triggers, click on Skip.
  4. Search “HTTP request” in search box and select “When an HTTP request is received”
  5. Then write a JSON object which will contain 1 variable for path. Example for the path : if file location is this “https://azureblob.windows.net/xyz/files/filename.png” then path is like this “xyz/files/filename.png”.
  6. In flow you will find lot of azure blob storage action. Here, we are creating SAS URI for a file from azure blob storage, then you must add next step as a “Create SAS URI by path” action.
  7. But to add this action you need to create a connection with “Azure Blob Storage” by providing necessary credentials.
  8. Set “Blob path” field as below.
  9. Here we have created SAS URI.
  10. Now you must add new step to send response. To do that, click on new step, search for “Request”, click on “Request” and select “Response” action.
  11. In response action, in Body filed select “Web Uri” variable which is an output variable of “Create SAS URI by path” step. Please search for “Web Uri” in dynamic content if you don’t see Web Uri variable directly.
  12. SAS URI to access file from Azure Blob Storage using MS Flow

Comment

This is a Required Field

Loading

Recent Updates

Thumbnail Image of ROI
Blogs
17 Jun, 2025

Maximizing ROI with Power Apps: The Role of Expert Consulting Services

Maximizing ROI with Power Apps: The Role of Expert Consulting Services Explore how skilled professionals can get you the best…

READ MORE
Digital transformation thumbnail
Blogs
12 Jun, 2025

How Microsoft 365 Consulting Can Drive Digital Transformation for Your Organization

How Microsoft 365 Consulting Can Drive Digital Transformation for Your Organization Digital transformation boasts way more than just shifting from…

READ MORE
Blogs
12 May, 2025

How to create an Autonomous Agent in Copilot Studio

What Are Autonomous Agents in Copilot Studio? Autonomous agents are AI-driven entities that operate independently within Copilot Studio. They go…

READ MORE