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 / Some guest users havin...
Power Apps
Unanswered

Some guest users having trouble authenticating through SharePoint

(0) ShareShare
ReportReport
Posted on by 3

Hello,

 

I am working on a app which has a goal of collecting data from different organizations, most of the users will be guests.

 

Some users have no problem connecting and sending data but some other has problem with authentication, and it seems that this is coming from SharePoint.

 

The users can access the app but they get the following error "Error while retrieving data from network".

I checked the users' access and it is all good (I tried with a guest account with the exact same rights).

 

The app uses Dataverse to read some data and some environment variables and SharePoint to send files.

All rights are given through security groups and are linked to SharePoint lists and some folders in a SharePoint library.

 

Here's what I discovered :

- on OnStart flow is launched from the app and failed while sending an HTTP request through SharePoint.
Details :

{
  "status"401,
  "message""{\"error_description\":\"Exception of type 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException' was thrown.\"}\r\nclientRequestId: ef8bca92-8c82-4f46-9e2f-2446f78b566b\r\nserviceRequestId: 47b5f7a0-002e-7000-e951-e92ccd789619",
  "source""https://****.sharepoint.com/sites/*****/_api/web/lists/GetById('6874e75*****')",
  "errors": []
}
- Dropdowns and other elements reading from SharePoint lists fails to read data : "Error while retrieving data from network". I used the monitor to troubleshoot and did notice that the failed operations are coming from SharePoint. I found out that the connection id appearing in the monitor doesn't match the connection id of the user I can retrieve from PowerShell
- I tried removing connections from PowerShell and force the user to reauthenticate
- I ask the user to use a private window and to clear the browser cache.
 
I'm asking for your kind help as I don't know where to look.
Thanks a lot.
 
Thomas
I have the same question (0)
  • andy_power_user Profile Picture
    7 on at
    Hi Thomaszz

    I'm experincing something similiar with guest users and a power app that has connection to SharePoint.

    Did you find any solution or the root cause? :)

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