Let's POWER Automate

From no-code to low-code

Menu
  • Expressions
  • Filters
  • General
  • Application specific solutions
    • Dataverse
    • Excel
    • Forms
    • Outlook
    • Planner
    • Power Apps
    • SharePoint
    • Teams
  • Triggers
  • Ready to use solutions
    • Approval Process Solution
    • Task Delegation App
    • The Ultimate Power Automate expressions cheat sheet
    • Power Automate HTTP requests to SharePoint cheat sheet
    • Power Automate HTTP requests to Graph API cheat sheet
  • ABOUT ME
  • Get help with your flow
  • POWER PLATFORM SERVICES
Menu

Fixing the PowerApps BlobNotFound documents error

Posted on February 23, 2025February 24, 2025 by Tom

“I can’t download file from the PowerApps attachments control, instead of downloading the files it keeps telling me BlobNotFound!”


If you work with files in a PowerApps app, the attachments control from ‘Edit form’ might to be the most common approach. Add the ‘Edit form’ to your app, link it to a SharePoint list, add the Attachments column, and copy/paste it outside of the form. You get a control that’ll allow you to add, remove, and download files, all without much extra effort.

But for some time by now this control seems to have problems when downloading the files. You click on the attachment, new browser tab will open, and you’ll see an error message instead of the file – BlobNotFound. “The specified blob does not exist”.

PowerApps blobnotfound

Why, and how do you make it work again?

What’s the problem?

The problem seems to be related to a new formula bar. In the past the attachments control allowed you to define what it will display and what’s behind it. Show the file name and when you click on it download the file using path.

Now it sets the ‘on click’ value to Id instead of the file uri.

That’s not really something you can download, hence the error message.

UPDATED: Fixing the PowerApps BlobNotFound

The original solution recommended using the Legacy formula bar where you could easily switch the Value, but the feature was retired. Meaning there’s a need for a different workaround!

Since you can’t change what columns from the attachments collection will the control use, you’ll have to adjust the input collection.

Files attached to SharePoint item

If you check the collection with SharePoint item attachments, you’ll see it has 4 columns, e.g.

LookUp(
    ColumnsQueryList,
    ID = 9
).Attachments

AbsoluteUri to the file, DisplayName, Id and Value. By default the Attachments control uses the DisplayName and Value (which is mapped to the Id). You need to “remap” it, to add the link to the item into the Value column.

To give the control no other choice, drop the default Id and Value columns from the input collection, e.g.

DropColumns(
    <item>.Attachments,
    Value,
    Id
)

Now add a new column called Value with the link to the file. This column will work in a way that every time users click on the attachment, it’ll call the url in this column. As we’re talking about SharePoint attachments, let’s build a direct download link as explained in a previous article.

AddColumns(
    DropColumns(
        <item>.Attachments,
        Value,
        Id
    ),
    Value,
 $"https://<SPtenant>.sharepoint.com/sites/<siteName>/_layouts/download.aspx?SourceUrl={AbsoluteUri}"
)
PowerApps blobnotfound SharePoint item

If you need the attachment id for any reason, you can remove it from the Drop(…) function after this. It seems that if you drop it at least for a while the attachments control will stop referencing it.

Files store in SharePoint document library

The solution is very similar when working with a SharePoint document library – you must still work with the DisplayName and the Value columns. There’s a small difference though as the document libraries don’t have DisplayName and Value columns.

However, you can add such columns if you want with a single function.

There’s no need to remove anything, just adding. Add the DisplayName that’ll contain the file name with extension, and a Value column with a download link, e.g.

AddColumns(
    <library/collectionWithFiles>,
    DisplayName,
    'File name with extension',
    Value,
$"https://<SPtenant>.sharepoint.com/sites/<siteName>/_layouts/download.aspx?SourceUrl={'Full Path'}"
)
PowerApps blobnotfound SharePoint library

Click on the file and it will download, problem fixed. Publish the app and the attachments will be usable again. And if it doesn’t help you can always replace the attachments view mode with a gallery.

Files store in Dataverse file column

Very similar approach as for a SharePoint library can be used also for files stored in the Dataverse, the only difference being the download link.

Matthew Devaney explained the process of building such link a his blog post. Build the link for your environment and use it for the Value column. Add also the DisplayName column to show the file name.

AddColumns(
    <table/collectionWithFiles>,,
    Value,
    $"https://<environmentUrl>/api/data/v9.2/<tableName>(<recordId>)/<columName>/$value",
    DisplayName,
    <columnName>.FileName
)
PowerApps blobnotfound dataverse

Summary

The PowerApps BlobNotFound is an annoying one as it’s something that you’d expect to work, that should work, but it doesn’t. You need a workaround. The previous one is not accessible anymore, but with a bit of data transformation you can still fix it.

If you can’t change the control settings, change the control input. Remove the default columns (if needed) and add your own columns – columns the control expects will be there and is ready to use. Or you can replace the control view mode with a gallery. Add a gallery, build the link to each of the files, and download it from their using a custom clickable control.


🚀 Master Power Automate

Join 2,100+ professionals getting actionable Power Automate tutorials, solutions, cheat sheets & tips every week.

No spam. Unsubscribe anytime.

23 thoughts on “Fixing the PowerApps BlobNotFound documents error”

  1. vinay says:
    December 6, 2024 at 4:25 pm

    You save my day. Enabling of Legacy formula bar no one refers that.

    Reply
  2. Eric Tague says:
    December 9, 2024 at 11:55 pm

    For those wanting to continue using the attachment control outside of a form, just surround it in it’s own mini form. Just have to run FormUpdate on both forms prior to patching your datasource.

    Reply
    1. Jayendran Subramaniam says:
      February 26, 2025 at 6:06 am

      Hi Eric, Thankyou, Your solution helped.

      We experienced this same problem(401 error) when another user attempted to download the file. As a solution, we created a popup that displays a form(Display form) containing only an attachment card without any other fields. We then pass the specific record to this popup form’s Item, which has successfully allowed other users to download the file.

      Reply
      1. Tom says:
        March 11, 2025 at 6:57 pm

        Hello Jayendran,
        if it’s only to display the attachments and to download them I prefer to use a gallery with download links: https://tomriha.com/download-sharepoint-files-directly-from-power-apps-no-flow/. The attachments control is so unreliable that I prefer to avoid it unless there’s no other way (meaning only to upload files).

        Reply
  3. J says:
    December 11, 2024 at 9:49 am

    Hi thanks this helped a lot, one thing you can do is change to Legacy formula bar, make the setting changes then revert back to the new legacy formula bar and the setting changes should still work

    Reply
  4. Sanjay says:
    January 14, 2025 at 3:16 pm

    Hi, I encountered with the same issue, and I tried the solution mentioned in this article, unfortunately that did not work.

    Then I user Form, then Data Card and issue got fixed. Don’t use Data card separately, it should be the part of form.

    Reply
  5. Yaswini Elangkovan says:
    February 6, 2025 at 4:01 am

    Just to let most readers this legacy formula bar cannot be found in the retired section anymore most probably it got removed, i hope there is another solution for this

    Reply
    1. Tom says:
      February 23, 2025 at 12:13 am

      Hello Yaswini,
      I just updated the article with an updated solution.

      Reply
  6. Phanee says:
    February 6, 2025 at 11:38 am

    This is no more There in Retired 🙁

    Reply
    1. Tom says:
      February 23, 2025 at 12:14 am

      Hello Phanee,
      I just updated the article with an updated solution.

      Reply
  7. M says:
    February 6, 2025 at 4:31 pm

    Hi, as some others mentioned, Legacy bar is no longer available in the retired updates settings

    Reply
    1. Tom says:
      February 23, 2025 at 12:14 am

      Hello M,
      I just updated the article with an updated solution.

      Reply
  8. perez says:
    February 18, 2025 at 7:18 pm

    This is one of the many reasons that Power Apps and Power Automate are horrible tools!

    Reply
  9. DavidJ says:
    March 13, 2025 at 5:08 pm

    If I make the attachment mandatory then I get ‘Id is required’ when I try to upload, is that expected?

    Reply
    1. Tom says:
      April 5, 2025 at 8:49 am

      Hello David,
      I didn’t try it this way, but if that’s the case I’d do the validation in the PowerApp – if the attachments control doesn’t contain anything, show an error message.

      Reply
  10. JemmaG says:
    March 18, 2025 at 6:44 am

    Is there a solution for new forms? I have some that use collections to change the displayname of files to be appended prior to saving and this is now not working in new forms. I am getting an error stating Field ‘Id’ is required

    Reply
    1. Tom says:
      April 5, 2025 at 8:56 am

      Hello Jemma,
      I don’t know what you mean by new forms, if the attachments are used as part of a Form component they should work fine.

      Reply
  11. Aaron Knox says:
    March 28, 2025 at 9:51 pm

    Thanks Tom! I had to remove the path, just leaving {AbsoluteUri}:
    AddColumns(
    DropColumns(
    ThisItem.Attachments,
    Value,
    Id
    ),
    Value,
    $”{AbsoluteUri}”
    )

    Reply
    1. Jimisayo Monebi says:
      April 1, 2025 at 2:57 pm

      The below code worked for me:

      AddColumns(DropColumns(
      ThisItem.Attachments,
      Value,
      Id
      ),
      Value,
      $”{AbsoluteUri}”,Name,$”{DisplayName}”
      )

      Reply
      1. Tom says:
        April 5, 2025 at 8:57 am

        Hello Jimisayo,
        thank you for sharing!

        Reply
    2. Tom says:
      April 5, 2025 at 8:57 am

      Hello Aaron,
      thank you for sharing!

      Reply
  12. Suki Yaki says:
    April 11, 2025 at 8:10 pm

    The attachment control from the edit form no longer works. As in, when you remove the attachment control from inside the form or data card, it no longer shows the attachment icon which allows you to pick files you wanna upload as attachments. Any solutions to this?

    Reply
  13. Gusonela says:
    May 3, 2025 at 12:29 am

    I still have issue while using power apps with microsof team

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

🚀 Master Power Automate

Join 2,100+ professionals getting actionable Power Automate tutorials, solutions, cheat sheets & tips every week.

No spam. Unsubscribe anytime.

Still exchanging emails to get things approved?

Get the Approval Process solution and the Task Delegation App to skip the hard part and deploy an automated, fully functional approval solution on a SharePoint list in minutes! And then the next one, and the next one...

Approval Template Preview ✨ Learn more ✨

Turn ideas into flows with ease!

Grab the complete Power Automate Cheat Sheet Bundle—everything you need to master expressions, SharePoint HTTP calls, and Graph API in Power Automate.

Cheat Sheet Bundle Preview ✨ Get the Cheat Sheets

Didn't find what you were looking for?
Need to adjust a solution to fit your needs?
Or would you just like to get an assistance from somebody with thousands of hours of experience with Power Automate?

Power Automate blogs worth visiting

Damien Bird
Dennis (Expiscornovus)
Paul Murana

©2025 Let's POWER Automate | Theme by SuperbThemes