Microsoft Authenticator "Credential not available anymore. Please re-execute"

Have a workflow that works well in Desktop mode, but needs re-running each time it opens, despite using non-interactive authentication mode. This occurs whether in Desktop or scheduling (e.g., batch mode).

The workflow:
image

Rerunning the workflow and it works:
image

Authentication type:
image

The error:

WARN  Microsoft Authenticator 3:2        Credential not available anymore. Please re-execute this node.
WARN  SharePoint Online List Reader 3:3        Sharepoint connection no longer available. Please re-execute the node.

Is it possible to make the credentials “stick”?

Hi,
Client and application secret are used by the node to retrieve an access token from Microsoft. With this token subsequent nodes can then access the data. Unfortunately, the token still expires after a while and a new one has to be acquired, which can only happen by reexecuting the Microsoft Authenticator node.
Kind regards,
Alexander

1 Like

Is the token expiry something that can be changed or kept alive by the user, if said user is an admin on MS as well? Or, is this something on the backend of KNIME that cannot be changed by the user?

Hi,
There is documentation about it, but I am not sure if this is applicable for all apps in Azure. It is also not advisable to make the access tokens expire very late, as such a token cannot be invalidated and an attacker may use it to make authenticated requests.
Kind regards,
Alexander

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.