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