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:
Rerunning the workflow and it works:
Authentication type:
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.
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
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