Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Governance and Administ...
Unanswered

Custom Connector with AD Token frequently expires with 401, fix connection...

(0) ShareShare
ReportReport
Posted on by

Users are frequently presented with PowerApps error:
One or more of your connections may not be authenticated. Tap here to fix them.

 

  • Our custom connector points to a REST API secured by Azure AD. 
  • Problem is that while using our PowerApp, users are frequently and randomly requested to 'fix connection' and refresh the PowerApp because their session has expired. 
  • I imagine the reason behind this is to allow connector to acquire a new access token.
  • Should this not last for an hour at least. Should this not automatically refresh using refresh token?
  • We are trying to understand, thereby control or avoid this happening altogether. 
  • We only have 5 users making so do not believe the issue is in exceeding PowerApps throttling limits:

PowerApps currently support 600 requests per minute per user and up to 30 concurrent calls per user.

We suspect it might be something to do with idle time within the PowerApp, should such a concept exist, or something related to connector renewal time. More information is needed around these concepts in regards to behaviour and configurability. 

 

In regards to idle time, some users suspect any inactivity in PowerApp over 2 minutes results in the connector expiring. 

 

 

 

  • ankku Profile Picture
    on at
    Re: Custom Connector with AD Token frequently expires with 401, fix connection...

    we are having the same issue. Did you resolved this?

  • Joel CustomerEffective Profile Picture
    3,224 on at
    Re: Custom Connector with AD Token frequently expires with 401, fix connection...

    I recommend opening a support ticket

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

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!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1

Featured topics