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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Failed to refresh acce...
Power Automate
Suggested Answer

Failed to refresh access token for service: oauth2. Error: Missing refresh token.

(1) ShareShare
ReportReport
Posted on by 4
I create a custom connector with authentication type: OAuth 2.0.
If a few hours later I test an action from inside the connector, the test fails.
If I go to connection list, I see a connection with a link to reconnect.
Now if I click on the link, the connection get connected with no other actions and if I repeat the connector test, now all go well.
The error that I can see in the connection details is:
Failed to refresh access token for service: oauth2. ... Error: Missing refresh token.
How can I found the source of the error?
 
The Rest Api, that the connector call, manage only the default connector: 772fxxxxxxxxx/.default
Inside the App Registration, in the Azure Portal, how have I to set the scopes and the API permissions?
Inside the security section of the connector I set the scope: 772fxxxxxxxxx/.default. Any other settings don't work at all.
 
Thank you all.
 
Ignazio
Categories:
I have the same question (1)
  • MichaelFP Profile Picture
    1,847 Super User 2025 Season 2 on at
    Can you share the configuration of security tab of the custom connector? and other question your api have implemented refresh token process?
  • IL-03041536-0 Profile Picture
    4 on at
    I attached the security tab of the custom connector.
    The api that I use are working when called from other client application. No one tell me of problems after hours of work.
    How can I verify the correct implementation of the refresh token process? I can access the source code.
     
    Ignazio
  • Suggested answer
    IL-03041536-0 Profile Picture
    4 on at
    I solved it by adding "offline_access" to the scope in the custom connector.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard