web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unable to access Blob ...
Power Automate
Unanswered

Unable to access Blob using REST API

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi everyone, 

 

Context:

I am currently working on a project where I need to access a variety of different Blobs, because each Blob stores client information that needs to be separate from each other. Furthermore, the amount of Blobs is expected to be relatively large, and is expected to expand with time.

 

For this reason, the Blob connectors that are available in power automate did not suit the needs of the project (you need to configure each individual connector, which doesn't scale well if hypothetically every day you need to add a new Blob). 

 

The issue:

To replace the connector we have decided to access the Blobs using the html request connector:

https://docs.microsoft.com/en-us/rest/api/storageservices/put-blob

 

However, after trying to configure it for some time, I have been stuck with a "Forbidden" error (even though the credentials should be fine). Here is how I configured the request:

 

{
"uri": "https://*accname*.blob.core.windows.net/*blobname*/test.xlsx",
"method": "PUT",
"headers": {
"Authorization": "SharedKey *accname*:*authkey*",
"x-ms-blob-type": "BlockBlob",
"x-ms-date": "Mon, 28 Feb 2022 08:44:43 UTC",
"x-ms-version": "2019-12-12",
"Content-Length": "3010",
"Content-Type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
},
}

 

Where *accname*, *blobname* and *auth* have obviously been anonymized.

 

This returns a "Forbidden", even though the given key (*auth*) has been tested to be correct.

 

Does anyone have any idea of why this might be the case? Or does anyone have an alternative solution to the requisites of being able to dynamically connect to different Blobs without explicitly specifying each Blob in the connector settings?

 

Thanks in advance,

 

Javier 

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard