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 Apps / Getting Http error 401...
Power Apps
Unanswered

Getting Http error 401 while trying to download file (stored in dataverse)

(1) ShareShare
ReportReport
Posted on by 47

Hi All !

 

I am facing this issue where I get http error 401 while trying to download a file through powerapps which is stored in a Dataverse Table.

Now if I run the URL : https://org*******.crm.dynamics.com and then try to download again it works.

I understand this issue is with authorization. 

But not sure how to achieve it without needing to run the URL first.

 

Thanks 

 

I have the same question (0)
  • Ram Prakash Duraisamy Profile Picture
    5,732 Super User 2026 Season 1 on at

    Hi @omkarb26011 

     

    Are you trying to access directly from browser or any service ?

     

  • Ram Prakash Duraisamy Profile Picture
    5,732 Super User 2026 Season 1 on at

    Hi @omkarb26011 

     

    Are you trying to access directly from browser or any service ?

     

  • omkarb26011 Profile Picture
    47 on at

    Hi @rampprakash 

     

    I am using 

    Download (https//:org********.crm.dynamics.com/api/tablename(tableuniqueid/columnname/$value)) to download the file from Dataverse Table

  • Ram Prakash Duraisamy Profile Picture
    5,732 Super User 2026 Season 1 on at

    Hi @omkarb26011 

     

    Give a try for below one

     

    Concatenate("https://org*****.crm.dynamics.com/Image/download.aspx?Entity=ENTITYNAME&Attribute=ATTIBUTENAME&Id=",GUID OF RECORD)​

     

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA

    Blog : https://microsoftcrmtechie.blogspot.com

  • omkarb26011 Profile Picture
    47 on at

    Hi @rampprakash 

    What should be the AttributeName ?

    From where will I get to know that ?

     

     

  • Ram Prakash Duraisamy Profile Picture
    5,732 Super User 2026 Season 1 on at

    Hi @omkarb26011 

     

    Navigate to Https://make.powerapps.com

    Expand Dataverse --> Click Table --> Open the Respective Table --> Select the Image Column--> Copy the Logical Name for field(this is called Attribute name)

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA

    Blog : https://microsoftcrmtechie.blogspot.com

  • omkarb26011 Profile Picture
    47 on at

    Hi @rampprakash 

    Thanks for the quick response

    I have stored the data in File Type column and not the Image Type 

    Thanks

     

  • Ram Prakash Duraisamy Profile Picture
    5,732 Super User 2026 Season 1 on at

    Hi @omkarb26011 

     

    Screenshot for your reference

     

    rampprakash_0-1657173153673.png

     

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA

    Blog : https://microsoftcrmtechie.blogspot.com

  • omkarb26011 Profile Picture
    47 on at

    Hi @rampprakash 

    We are using File type column instead of image type

    omkarb26011_0-1657173592115.png

     

  • Ram Prakash Duraisamy Profile Picture
    5,732 Super User 2026 Season 1 on at

    Hi @omkarb26011 

     

    Its good to Change it to Image, as the OOB providing Image Coloum

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 602

#2
WarrenBelz Profile Picture

WarrenBelz 473 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 310

Last 30 days Overall leaderboard