cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
stapes
Post Prodigy
Post Prodigy

AzureBlobStorage.GetFileContentByPath shows error: the specified resource name contains invalid characters

I am trying to retrieve some image files save using AzureBlobStorage.

I am using this command:

AzureBlobStorage.GetFileContentByPath("path to image")

the path value looks like this:

https://storageaccountname.blob.core.windows.net/blobcontainername/00d16885-7d34-4c52-9f4e-33617e30b8f9.jpg

I am getting a response: the specified resource name contains invalid characters.

What am I doing wrong?

1 ACCEPTED SOLUTION

Accepted Solutions

Then how will it know which blob container to look in? I tried "blobcontainername/" & filename - this works!

View solution in original post

2 REPLIES 2
Jcook
Super User III
Super User III

Hello @stapes 

 

Try only passing in the file name with extension.

AzureBlobStorage.GetFileContentByPath("00d16885-7d34-4c52-9f4e-33617e30b8f9.jpg")

 


Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





Then how will it know which blob container to look in? I tried "blobcontainername/" & filename - this works!

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,127)