web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : BLFvF0a1/BeeMyZ1T+bI3c
Power Apps - Power Apps Pro Dev & ISV
Unanswered

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

Like (0) ShareShare
ReportReport
Posted on 17 Aug 2022 12:05:40 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 23 Aug 2022 at 09:10:18
    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 18 Aug 2022 at 13:02:23
    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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2