cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ravipuri
Level: Powered On

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

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. 

 

 

 

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Demo Extravaganza Championship Voting Open

Voting Ends: October 30, 2019!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Users Online
Currently online: 178 members 5,044 guests
Recent signins:
Please welcome our newest community members: