I've built a custom connector that connects our main system to the PowerApp.
The main system requires that every 24 hours the user logs in again.
Usually, when the token expires and the user automatically logs out, a pop-up appears in the powerapp.
There are >1 connections that require the user to fix the connection, but this pop-up this doesn't show up all the time (until the page is refreshed).
This causes a lot of errors for the user, which isn't ideal for the UX.
Is there a way I can check if the Connection needs to be fixed, from inside the PowerApp? So I can display a login-status to the users.
Cheers!
Hi!
Error handling doesn't really do the trick unfortunately, as it doesn't always show the pop-up of the connection.
Refreshing of the app isn't optimal either, as the user can be halfway through a process and the connection could be lost to the connector, but thanks for the tip.
There are multiple 'methods' in the connector and I'm using 3 connectors in total.
Hi there!
I don't know of any property to check the auth status of a connector. Instead of that, have you thought about adding some error handling into the application?
If you wrap your connect calls in a error handling formula, you could determine if the request is successful or not, and display an error modal requesting that the user refreshes their app.
https://docs.microsoft.com/en-us/power-platform/power-fx/reference/function-iferror
Is it a bespoke API that the connector talks to?
WarrenBelz
69
Most Valuable Professional
mmbr1606
51
Super User 2025 Season 1
MS.Ragavendar
36