Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Upload file from SharePoint to Azure Blob

(0) ShareShare
ReportReport
Posted on by 51

I have a flow which runs whenever a new publishing page is created in the "Pages" library. I want to upload the PublishingPageImage to Azure Blob storage for use in PowerApps.

 

What I was thinking was, with an HTTP request I will fetch the PublishingPageImage image URL. Then store this file in OneDrive, get the file content and then store it in Azure Blob. But this requires a lot of slicing and dicing of strings and is quite confusing. I wish there could be a better way out. 

 

Any help would be appreciated.

  • sharepointguy Profile Picture
    sharepointguy 51 on at
    Re: Upload file from SharePoint to Azure Blob

    Hi @v-alzhan-msft,

     

    Yes. I did look at the Create Blob Action which takes Blob name and content. My issue is I have to do a lot of steps to get the file content. 

    1. I have to get the URL of the image stored in the SharePoint Publishing Images library (Requires multiple actions including HTTP requests, converting of HTML to text, appending my site collection URL)
    2. I then have to store the file in OneDrive intermittently (This requires a temporary file name)
    3. Then I have to get the contents of the file
    4. Use Create Blob with file content from Onerive to store the file in Blob Storage
    5. Delete the file from OneDrive

    I was hoping to get a shorter / easier way to accomplish the process.

  • Re: Upload file from SharePoint to Azure Blob

    Hi @sharepointguy ,

     

    Could you please share a screenshot of your flow that runs whenever a new publishing page is created in the "Pages" library?

    Have your take a try with the Create Blob action to upload the PublishingPageImage to Azure Blob storage?

     

    Best regards,

    Alice       

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,445

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,722

Leaderboard