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
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Users Online
Currently online: 161 members 5,492 guests
Please welcome our newest community members: