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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Issue with User Permis...
Power Apps
Unanswered

Issue with User Permissions for Downloading Dataverse Attachments in Power Apps

(1) ShareShare
ReportReport
Posted on by 4

Hi everyone,

I have developed a Power Apps application that utilizes Dataverse tables as its data source. These tables include a column for storing attachment files, which are displayed in the app. Users should be able to download these files. To implement the download functionality, I followed the approach outlined in this article: https://www.matthewdevaney.com/power-apps-download-file-from-dataverse-file-column/

 

Issue Encountered: 
My colleagues and I, who have the 'System Administrator' security role within the environment, can download the attachments without any issues. However, during the User Acceptance Testing (UAT) phase, I shared the app with some test users who have the 'Basic User' and 'App User' security roles, and they are unable to download the attachments.

When these test users attempt to download a file by clicking on the URL, a new browser tab opens displaying an HTTP 404 error message, which I believe indicates an authorization issue.

I am attaching screenshots of the application and the error that appears when a user clicks on the download URL.

Steps Taken So Far:

  1. I duplicated the 'Basic User' and 'App User' security roles, added full access permissions (write, read, and edit) for the custom Dataverse entities, and assigned these updated roles to the test users.
  2. I included the 'Notes' (Annotations) entity in the security role, as I've read that attachments in Dataverse are stored within this entity.
  3. I set the [environmentvariabledefinitions] to 'Read Only' within the security role, as this is necessary for constructing the download URL within the app.

Are there any other entities or miscellaneous privileges that I should add to the modified security roles to enable access to the Dataverse attachments for these users?

Thank you for your assistance.

I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,335 Super User 2025 Season 2 on at

    Hi @caina_mb 

     

    Did you assign read/write to the NOtes(Annotations) entity for the Role and share it? I couldn't quite tell.

     

    Also after you make the change it could take a little but, so make sure they give us 15minutes and CTRL F5 to refresh.


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • caina_mb Profile Picture
    4 on at

    @FLMikeYes, I did it. The users role has full access to the Notes(Annotations) entity. It's been more than one day that I've added that entity to the role and they still cannot download the attachments!

    Thanks for the reply!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard