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 / 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,593 Super User 2025 Season 2 on at

    Hi @omkarb26011 

     

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

     

  • Ram Prakash Duraisamy Profile Picture
    5,593 Super User 2025 Season 2 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,593 Super User 2025 Season 2 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,593 Super User 2025 Season 2 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,593 Super User 2025 Season 2 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,593 Super User 2025 Season 2 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

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