cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bvemuri
Frequent Visitor

PowerApps Custom Connector- How to refresh authentication so that it doesnt expire in an hour

Hi Everyone, 

 

My team has been building a PowerApp using a custom connector accessing Azure App Services API. The users are having issues where if they leave the app open in the browser, within an hour or so it gives errors and asks them to "fix connection". This is not a pleasant user experience. There is a refresh Url field in the custom connector setup which we filled in. We tested the Urls with Postman as well. But the connector seems to NOT take this Url and use it to refresh the token so that it stays authenticated for 14 days. 

Did anyone run into this issue? any solution you can provide us? we opened a ticket with MS premier support. No solution yet. Any pointers would be appreciated.

 

Thank you,

Bhuvan

3 REPLIES 3
bvemuri
Frequent Visitor

Here is the connection details in case you want to see:

bvemuri_0-1628632606164.jpeg

 

bvemuri
Frequent Visitor

We resolved the issue by changing General OAuth to Azure AD.

mattruma
Microsoft
Microsoft

Hi @bvemuri curious what did those settings look like for when you switch to Azure AD?

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,091)