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

Community site session details

Session Id : CR6JWNNAQk51/HR2QKJwXl
Power Apps - Building Power Apps
Unanswered

Sharepoint 401 unauthorised when trying to display images using linktoitem

Like (0) ShareShare
ReportReport
Posted on 25 Mar 2024 12:00:30 by

Hi All

Last week I had a gallery that displayed images based on a linkToItem URL that was stored directly in a list column, it was working fine last week, all images loaded no problem. 

Today no images will load at all and in the console I am getting a 401 unauthorized error - does anyone know what could cause this? has there been an update or is there a chance a setting has been changed?

ry2j_0-1711367810758.png
thanks
Ryan

Edit: I can still copy the link from the list and view the image fine in a browser, so the "link" still works, it seems to be an issue between the app and the sharepoint data

 

  • TuongDoan Profile Picture
    567 Moderator on 28 Apr 2024 at 08:34:38
    Re: Sharepoint 401 unauthorised when trying to display images using linktoitem

    I can think of 2 cases:

    • You have multiple Microsoft accounts logged in to the current browser? The conflict of cookies can cause this issue.
    • It's possible that the link you generated to access the image comes with a temporary authentication token that has now expired. In this case, you will need to generate a new link and update to the column where you are storing the old URL

     

    ---------------------------

    If the solution I provided assisted you in resolving this issue, kindly select "Accept as solution" This will help others in finding the solution more expediently 😄Also, a Thumbs up would be a great compliment!

  • slawo88pl Profile Picture
    3 on 26 Apr 2024 at 06:30:49
    Re: Sharepoint 401 unauthorised when trying to display images using linktoitem

    Did you found root cause? I have similar issue with images from SharePoint not being render in html files downloaded (When viewing online all works)

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473