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 / InvalidAuthenticationT...
Power Apps
Unanswered

InvalidAuthenticationToken Access token is empty

(1) ShareShare
ReportReport
Posted on by 27

Canvas app with gallery of image controls. Each image control is tied to a URL of a .PNG file or .JPG file. Sometimes images do not display in the gallery and browser dev tools reveal a call to a Graph URL https://graph.microsoft.com/v1.0/me/photo/$value

which returns a 404 not found. Details on that error show:

{
"error": {
"code": "InvalidAuthenticationToken",
"message": "Access token is empty.",
"innerError": {
"date": "2020-11-06T13:47:28",
"request-id": GUID,
"client-request-id": GUID
}
}
}

There is a known problem with token handling in Microsoft Graph. See https://docs.microsoft.com/en-us/graph/known-issues

Is the problem with missing images in PowerApps a manifestation of the same underlying token handling problem in Microsoft Graph ?

Categories:
I have the same question (0)
  • summitb Profile Picture
    on at

    Don't think you can get it easily with a guest request. How about use custom connectors for it?

  • flarebear Profile Picture
    27 on at

    Hi @summitb ,

    That may be so and custom connectors may well handle images differently, but by now we've worked around the problem by using base64 strings to store image data. That is not our preferred solution, but it is sufficient for our purposes for now. Cloud-based systems like this absolutely have to have reliable authentication systems with decent remedies for occasions when authentication fails. Apart from either using custom connectors or using base64 strings, PowerApps developers seem to be pretty much stranded if they want reliable image rendering in the browser.

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard