I built a power app which connects to a sharepoint site using a service account.
A colleague of mine built another app and it won't allow me to connect to the share point data source complaining about permissions, we worked out that it's using the service account to authenticate. When we add the service account to the site permissions it works fine.
What is really strange is that even when I open the app in an incognito browser and provide my own login credentials it still fails.
It's only me in the organisation that has this issue and it's also only me in the organisation that has been working with power apps.
I definitely have access to the share point list as I can connect to it directly
Please help
@v-JessicaG-msft , apologies if I wasn't clear.
I would like to open my colleagues app and authenticate with my own credentials. It looks like it's using the service account by default. Even when I open my colleagues app in incognito and sign in using my own details, it tries to authenticate to SP using the service account. The only way we can get it working is to give the service account permissions to the SP site, but this isn't ideal
Hi @JimJim ,
Do you want to use the service account to access the share point list in an incognito browser?
Have you tried clearing the browser cache data and reconnecting to SharePoint? Or you could go to other computers to try to test whether you can get SharePoint data?
I tested that the SharePoint list data can be displayed normally under the browser in normal mode and the browser in incognito mode.
Best Regards,
Jessica Gu
I probably should have posted this in my first message, but here is the actual error message:
WarrenBelz
146,594
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,928
Most Valuable Professional