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

**URL:** <https://forum.knime.com/t/microsoft-authenticator-credential-not-available-anymore-please-re-execute/76940>\
**Category:** KNIME Extensions\
**Tags:** other-knime-extensions\
**Created:** [January 31, 2024, 8:55pm UTC](https://forum.knime.com/t/microsoft-authenticator-credential-not-available-anymore-please-re-execute/76940 "2024-01-31T20:55:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![qdmt](https://forum-cdn.knime.com/user_avatar/forum.knime.com/qdmt/32/51181_2.png) [@qdmt](https://forum.knime.com/u/qdmt)\
**Post date:** [January 31, 2024, 8:55pm UTC](https://forum.knime.com/t/microsoft-authenticator-credential-not-available-anymore-please-re-execute/76940/1 "2024-01-31T20:55:47Z")

</div>

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](https://forum-cdn.knime.com/uploads/default/original/3X/9/e/9e68baf4d1e21c65580d086e3aa271362a349833.png)

Rerunning the workflow and it works:  
 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/e/c/ec634300dd6ddd6ca2802435148ee22c3c62b0d4.png)

Authentication type:  
 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/c/d/cd919c805cce9cc8fe41b326c33cc7c5158c5861.png)

The error:

```auto
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”?

---

<div class="post-metadata">

**Author:** ![AlexanderFillbrunn](https://forum-cdn.knime.com/user_avatar/forum.knime.com/alexanderfillbrunn/32/357_2.png) [@AlexanderFillbrunn](https://forum.knime.com/u/AlexanderFillbrunn)\
**Post date:** [February 1, 2024, 1:54pm UTC](https://forum.knime.com/t/microsoft-authenticator-credential-not-available-anymore-please-re-execute/76940/2 "2024-02-01T13:54:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![qdmt](https://forum-cdn.knime.com/user_avatar/forum.knime.com/qdmt/32/51181_2.png) [@qdmt](https://forum.knime.com/u/qdmt)\
**Post date:** [February 10, 2024, 7:13pm UTC](https://forum.knime.com/t/microsoft-authenticator-credential-not-available-anymore-please-re-execute/76940/3 "2024-02-10T19:13:48Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![AlexanderFillbrunn](https://forum-cdn.knime.com/user_avatar/forum.knime.com/alexanderfillbrunn/32/357_2.png) [@AlexanderFillbrunn](https://forum.knime.com/u/AlexanderFillbrunn)\
**Post date:** [February 12, 2024, 8:40am UTC](https://forum.knime.com/t/microsoft-authenticator-credential-not-available-anymore-please-re-execute/76940/4 "2024-02-12T08:40:11Z")

</div>

Hi,  
There is [documentation about it](https://learn.microsoft.com/en-us/entra/identity-platform/configurable-token-lifetimes), 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

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [February 19, 2024, 8:41am UTC](https://forum.knime.com/t/microsoft-authenticator-credential-not-available-anymore-please-re-execute/76940/5 "2024-02-19T08:41:01Z")

</div>

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