Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Unanswered

How to check the connection status of a custom connector (to authenticate)

(0) ShareShare
ReportReport
Posted on by 4

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!

  • PowerPim Profile Picture
    4 on at
    Re: How to check the connection status of a custom connector (to authenticate)

    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.

  • ciaran3001 Profile Picture
    33 on at
    Re: How to check the connection status of a custom connector (to authenticate)

    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? 

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 69 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 51 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 36

Overall leaderboard