BatchExplorer
BatchExplorer copied to clipboard
Batch Explorer becomes non-functional after being open for long periods of time
Describe the bug After 12 hours of being open, Batch Explorer becomes unable to contact the service.
To Reproduce Steps to reproduce the behavior:
- Open Batch Explorer and select an account
- Wait 12 hours
- Select a different account. A red error bar will appear with no text inside.
Expected behavior Batch Explorer should be able to stay open indefinitely and remain functional.
Screenshots

Logs(Click profile > View Logs > app.log, client.log) The logs indicate the problem is an expired refresh token:
{"message":"Checking for update","level":"info","timestamp":"2021-07-02T14:03:37.874Z"}
{"errorCode":"network_error","errorMessage":"Network request failed. Please check network trace to determine root cause. | Fetch client threw: Error: getaddrinfo ENOTFOUND login.microsoftonline.com | Attempted to reach: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token","subError":"","name":"ClientAuthError","level":"error","message":"Error redeem auth code for a token for resource batch network_error: Network request failed. Please check network trace to determine root cause. | Fetch client threw: Error: getaddrinfo ENOTFOUND login.microsoftonline.com | Attempted to reach: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token","stack":"ClientAuthError: network_error: Network request failed. Please check network trace to determine root cause. | Fetch client threw: Error: getaddrinfo ENOTFOUND login.microsoftonline.com | Attempted to reach: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token\n at ClientAuthError.AuthError [as constructor] (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:398:24)\n at new ClientAuthError (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:638:28)\n at Function.ClientAuthError.createNetworkError (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:681:16)\n at NetworkManager.<anonymous> (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:2879:51)\n at step (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:79:23)\n at Object.throw (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:60:53)\n at rejected (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:51:65)\n at ZoneDelegate.invoke (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:386:30)\n at Zone.run (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:143:47)\n at C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:891:38","timestamp":"2021-07-02T14:03:38.078Z"}
{"level":"error","message":"Error: Error: net::ERR_NAME_NOT_RESOLVED\n at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:93:6395)\n at ZoneDelegate.invokeTask (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:421:35)\n at Zone.runTask (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:188:51)\n at ZoneTask.invokeTask (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:503:38)\n at SimpleURLLoaderWrapper.ZoneTask.invoke (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:492:52)\n at SimpleURLLoaderWrapper.emit (events.js:223:5)","timestamp":"2021-07-02T14:03:40.302Z"}
{"level":"error","message":"Failed to check for updates net::ERR_NAME_NOT_RESOLVED","stack":"Error: net::ERR_NAME_NOT_RESOLVED\n at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:93:6395)\n at ZoneDelegate.invokeTask (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:421:35)\n at Zone.runTask (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:188:51)\n at ZoneTask.invokeTask (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:503:38)\n at SimpleURLLoaderWrapper.ZoneTask.invoke (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:492:52)\n at SimpleURLLoaderWrapper.emit (events.js:223:5)","timestamp":"2021-07-02T14:03:40.303Z"}
{"errorCode":"network_error","errorMessage":"Network request failed. Please check network trace to determine root cause. | Fetch client threw: Error: getaddrinfo ENOTFOUND login.microsoftonline.com | Attempted to reach: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token","subError":"","name":"ClientAuthError","level":"error","message":"Error redeem auth code for a token for resource batch network_error: Network request failed. Please check network trace to determine root cause. | Fetch client threw: Error: getaddrinfo ENOTFOUND login.microsoftonline.com | Attempted to reach: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token","stack":"ClientAuthError: network_error: Network request failed. Please check network trace to determine root cause. | Fetch client threw: Error: getaddrinfo ENOTFOUND login.microsoftonline.com | Attempted to reach: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token\n at ClientAuthError.AuthError [as constructor] (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:398:24)\n at new ClientAuthError (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:638:28)\n at Function.ClientAuthError.createNetworkError (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:681:16)\n at NetworkManager.<anonymous> (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:2879:51)\n at step (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:79:23)\n at Object.throw (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:60:53)\n at rejected (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:51:65)\n at ZoneDelegate.invoke (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:386:30)\n at Zone.run (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:143:47)\n at C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:891:38","timestamp":"2021-07-02T14:03:42.868Z"}
{"errorCode":"invalid_grant","errorMessage":"70043 - [2021-07-02 14:04:14Z]: AADSTS70043: The refresh token has expired or is invalid due to sign-in frequency checks by conditional access. The token was issued on 2021-07-01T14:34:10.4220000Z and the maximum allowed lifetime for this request is 43200.\r\nTrace ID: f34c809d-dfb7-404a-af85-e0e19f16aa01\r\nCorrelation ID: 459fdf65-5c5b-45ad-90c5-b059d3ef7e1b\r\nTimestamp: 2021-07-02 14:04:14Z - Correlation ID: 459fdf65-5c5b-45ad-90c5-b059d3ef7e1b - Trace ID: f34c809d-dfb7-404a-af85-e0e19f16aa01","subError":"","name":"ServerError","level":"error","message":"Error redeem auth code for a token for resource batch invalid_grant: 70043 - [2021-07-02 14:04:14Z]: AADSTS70043: The refresh token has expired or is invalid due to sign-in frequency checks by conditional access. The token was issued on 2021-07-01T14:34:10.4220000Z and the maximum allowed lifetime for this request is 43200.\r\nTrace ID: f34c809d-dfb7-404a-af85-e0e19f16aa01\r\nCorrelation ID: 459fdf65-5c5b-45ad-90c5-b059d3ef7e1b\r\nTimestamp: 2021-07-02 14:04:14Z - Correlation ID: 459fdf65-5c5b-45ad-90c5-b059d3ef7e1b - Trace ID: f34c809d-dfb7-404a-af85-e0e19f16aa01","stack":"ServerError: invalid_grant: 70043 - [2021-07-02 14:04:14Z]: AADSTS70043: The refresh token has expired or is invalid due to sign-in frequency checks by conditional access. The token was issued on 2021-07-01T14:34:10.4220000Z and the maximum allowed lifetime for this request is 43200.\r\nTrace ID: f34c809d-dfb7-404a-af85-e0e19f16aa01\r\nCorrelation ID: 459fdf65-5c5b-45ad-90c5-b059d3ef7e1b\r\nTimestamp: 2021-07-02 14:04:14Z - Correlation ID: 459fdf65-5c5b-45ad-90c5-b059d3ef7e1b - Trace ID: f34c809d-dfb7-404a-af85-e0e19f16aa01\n at ServerError.AuthError [as constructor] (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:398:24)\n at new ServerError (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:2746:28)\n at ResponseHandler.validateTokenResponse (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:4147:19)\n at RefreshTokenClient.<anonymous> (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:4878:41)\n at step (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:79:23)\n at Object.next (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:60:53)\n at fulfilled (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:50:58)\n at ZoneDelegate.invoke (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:386:30)\n at Zone.run (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:143:47)\n at C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:891:38","timestamp":"2021-07-02T14:04:13.813Z"}
{"errorCode":"invalid_grant","errorMessage":"70043 - [2021-07-02 14:04:44Z]: AADSTS70043: The refresh token has expired or is invalid due to sign-in frequency checks by conditional access. The token was issued on 2021-07-01T14:34:10.4220000Z and the maximum allowed lifetime for this request is 43200.\r\nTrace ID: 9abbe1b7-6d27-48b5-8e12-b24b02810000\r\nCorrelation ID: ddb0067d-f0b4-4e82-a729-64f13d70788a\r\nTimestamp: 2021-07-02 14:04:44Z - Correlation ID: ddb0067d-f0b4-4e82-a729-64f13d70788a - Trace ID: 9abbe1b7-6d27-48b5-8e12-b24b02810000","subError":"","name":"ServerError","level":"error","message":"Error redeem auth code for a token for resource batch invalid_grant: 70043 - [2021-07-02 14:04:44Z]: AADSTS70043: The refresh token has expired or is invalid due to sign-in frequency checks by conditional access. The token was issued on 2021-07-01T14:34:10.4220000Z and the maximum allowed lifetime for this request is 43200.\r\nTrace ID: 9abbe1b7-6d27-48b5-8e12-b24b02810000\r\nCorrelation ID: ddb0067d-f0b4-4e82-a729-64f13d70788a\r\nTimestamp: 2021-07-02 14:04:44Z - Correlation ID: ddb0067d-f0b4-4e82-a729-64f13d70788a - Trace ID: 9abbe1b7-6d27-48b5-8e12-b24b02810000","stack":"ServerError: invalid_grant: 70043 - [2021-07-02 14:04:44Z]: AADSTS70043: The refresh token has expired or is invalid due to sign-in frequency checks by conditional access. The token was issued on 2021-07-01T14:34:10.4220000Z and the maximum allowed lifetime for this request is 43200.\r\nTrace ID: 9abbe1b7-6d27-48b5-8e12-b24b02810000\r\nCorrelation ID: ddb0067d-f0b4-4e82-a729-64f13d70788a\r\nTimestamp: 2021-07-02 14:04:44Z - Correlation ID: ddb0067d-f0b4-4e82-a729-64f13d70788a - Trace ID: 9abbe1b7-6d27-48b5-8e12-b24b02810000\n at ServerError.AuthError [as constructor] (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:398:24)\n at new ServerError (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:2746:28)\n at ResponseHandler.validateTokenResponse (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:4147:19)\n at RefreshTokenClient.<anonymous> (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:4878:41)\n at step (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:79:23)\n at Object.next (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:60:53)\n at fulfilled (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:50:58)\n at ZoneDelegate.invoke (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:386:30)\n at Zone.run (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:143:47)\n at C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:891:38","timestamp":"2021-07-02T14:04:44.223Z"}
{"errorCode":"invalid_grant","errorMessage":"70043 - [2021-07-02 14:05:14Z]: AADSTS70043: The refresh token has expired or is invalid due to sign-in frequency checks by conditional access. The token was issued on 2021-07-01T14:34:10.4220000Z and the maximum allowed lifetime for this request is 43200.\r\nTrace ID: 0bbea72d-32a6-4a25-9dbb-00183f156b01\r\nCorrelation ID: 95e5f30a-31b4-4475-ad1c-e091c3ee184a\r\nTimestamp: 2021-07-02 14:05:14Z - Correlation ID: 95e5f30a-31b4-4475-ad1c-e091c3ee184a - Trace ID: 0bbea72d-32a6-4a25-9dbb-00183f156b01","subError":"","name":"ServerError","level":"error","message":"Error redeem auth code for a token for resource batch invalid_grant: 70043 - [2021-07-02 14:05:14Z]: AADSTS70043: The refresh token has expired or is invalid due to sign-in frequency checks by conditional access. The token was issued on 2021-07-01T14:34:10.4220000Z and the maximum allowed lifetime for this request is 43200.\r\nTrace ID: 0bbea72d-32a6-4a25-9dbb-00183f156b01\r\nCorrelation ID: 95e5f30a-31b4-4475-ad1c-e091c3ee184a\r\nTimestamp: 2021-07-02 14:05:14Z - Correlation ID: 95e5f30a-31b4-4475-ad1c-e091c3ee184a - Trace ID: 0bbea72d-32a6-4a25-9dbb-00183f156b01","stack":"ServerError: invalid_grant: 70043 - [2021-07-02 14:05:14Z]: AADSTS70043: The refresh token has expired or is invalid due to sign-in frequency checks by conditional access. The token was issued on 2021-07-01T14:34:10.4220000Z and the maximum allowed lifetime for this request is 43200.\r\nTrace ID: 0bbea72d-32a6-4a25-9dbb-00183f156b01\r\nCorrelation ID: 95e5f30a-31b4-4475-ad1c-e091c3ee184a\r\nTimestamp: 2021-07-02 14:05:14Z - Correlation ID: 95e5f30a-31b4-4475-ad1c-e091c3ee184a - Trace ID: 0bbea72d-32a6-4a25-9dbb-00183f156b01\n at ServerError.AuthError [as constructor] (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:398:24)\n at new ServerError (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:2746:28)\n at ResponseHandler.validateTokenResponse (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:4147:19)\n at RefreshTokenClient.<anonymous> (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:4878:41)\n at step (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:79:23)\n at Object.next (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:60:53)\n at fulfilled (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:50:58)\n at ZoneDelegate.invoke (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:386:30)\n at Zone.run (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:143:47)\n at C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:891:38","timestamp":"2021-07-02T14:05:13.826Z"}
{"errorCode":"invalid_grant","errorMessage":"70043 - [2021-07-02 14:05:44Z]: AADSTS70043: The refresh token has expired or is invalid due to sign-in frequency checks by conditional access. The token was issued on 2021-07-01T14:34:10.4220000Z and the maximum allowed lifetime for this request is 43200.\r\nTrace ID: f7d04738-f501-4a37-b737-1e066b77d801\r\nCorrelation ID: 9c210817-3a3c-414e-90bc-20d701154264\r\nTimestamp: 2021-07-02 14:05:44Z - Correlation ID: 9c210817-3a3c-414e-90bc-20d701154264 - Trace ID: f7d04738-f501-4a37-b737-1e066b77d801","subError":"","name":"ServerError","level":"error","message":"Error redeem auth code for a token for resource batch invalid_grant: 70043 - [2021-07-02 14:05:44Z]: AADSTS70043: The refresh token has expired or is invalid due to sign-in frequency checks by conditional access. The token was issued on 2021-07-01T14:34:10.4220000Z and the maximum allowed lifetime for this request is 43200.\r\nTrace ID: f7d04738-f501-4a37-b737-1e066b77d801\r\nCorrelation ID: 9c210817-3a3c-414e-90bc-20d701154264\r\nTimestamp: 2021-07-02 14:05:44Z - Correlation ID: 9c210817-3a3c-414e-90bc-20d701154264 - Trace ID: f7d04738-f501-4a37-b737-1e066b77d801","stack":"ServerError: invalid_grant: 70043 - [2021-07-02 14:05:44Z]: AADSTS70043: The refresh token has expired or is invalid due to sign-in frequency checks by conditional access. The token was issued on 2021-07-01T14:34:10.4220000Z and the maximum allowed lifetime for this request is 43200.\r\nTrace ID: f7d04738-f501-4a37-b737-1e066b77d801\r\nCorrelation ID: 9c210817-3a3c-414e-90bc-20d701154264\r\nTimestamp: 2021-07-02 14:05:44Z - Correlation ID: 9c210817-3a3c-414e-90bc-20d701154264 - Trace ID: f7d04738-f501-4a37-b737-1e066b77d801\n at ServerError.AuthError [as constructor] (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:398:24)\n at new ServerError (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:2746:28)\n at ResponseHandler.validateTokenResponse (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:4147:19)\n at RefreshTokenClient.<anonymous> (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:4878:41)\n at step (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:79:23)\n at Object.next (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:60:53)\n at fulfilled (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:50:58)\n at ZoneDelegate.invoke (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:386:30)\n at Zone.run (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:143:47)\n at C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:891:38","timestamp":"2021-07-02T14:05:43.764Z"}
{"errorCode":"invalid_grant","errorMessage":"70043 - [2021-07-02 14:06:14Z]: AADSTS70043: The refresh token has expired or is invalid due to sign-in frequency checks by conditional access. The token was issued on 2021-07-01T14:34:10.4220000Z and the maximum allowed lifetime for this request is 43200.\r\nTrace ID: bff74c56-eeee-4862-925b-17cc3e09f501\r\nCorrelation ID: d9a5fa55-06b2-4915-ae4d-22159d047a51\r\nTimestamp: 2021-07-02 14:06:14Z - Correlation ID: d9a5fa55-06b2-4915-ae4d-22159d047a51 - Trace ID: bff74c56-eeee-4862-925b-17cc3e09f501","subError":"","name":"ServerError","level":"error","message":"Error redeem auth code for a token for resource batch invalid_grant: 70043 - [2021-07-02 14:06:14Z]: AADSTS70043: The refresh token has expired or is invalid due to sign-in frequency checks by conditional access. The token was issued on 2021-07-01T14:34:10.4220000Z and the maximum allowed lifetime for this request is 43200.\r\nTrace ID: bff74c56-eeee-4862-925b-17cc3e09f501\r\nCorrelation ID: d9a5fa55-06b2-4915-ae4d-22159d047a51\r\nTimestamp: 2021-07-02 14:06:14Z - Correlation ID: d9a5fa55-06b2-4915-ae4d-22159d047a51 - Trace ID: bff74c56-eeee-4862-925b-17cc3e09f501","stack":"ServerError: invalid_grant: 70043 - [2021-07-02 14:06:14Z]: AADSTS70043: The refresh token has expired or is invalid due to sign-in frequency checks by conditional access. The token was issued on 2021-07-01T14:34:10.4220000Z and the maximum allowed lifetime for this request is 43200.\r\nTrace ID: bff74c56-eeee-4862-925b-17cc3e09f501\r\nCorrelation ID: d9a5fa55-06b2-4915-ae4d-22159d047a51\r\nTimestamp: 2021-07-02 14:06:14Z - Correlation ID: d9a5fa55-06b2-4915-ae4d-22159d047a51 - Trace ID: bff74c56-eeee-4862-925b-17cc3e09f501\n at ServerError.AuthError [as constructor] (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:398:24)\n at new ServerError (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:2746:28)\n at ResponseHandler.validateTokenResponse (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:4147:19)\n at RefreshTokenClient.<anonymous> (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:4878:41)\n at step (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:79:23)\n at Object.next (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:60:53)\n at fulfilled (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\@azure\\msal-common\\dist\\index.js:50:58)\n at ZoneDelegate.invoke (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:386:30)\n at Zone.run (C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:143:47)\n at C:\\Program Files\\BatchExplorer\\resources\\app.asar\\node_modules\\zone.js\\dist\\zone-node.js:891:38","timestamp":"2021-07-02T14:06:13.949Z"}
Version (please complete the following information):
- OS: Windows
- Version: 2.10.0-stable.519
How do we upvote issues? This is an annoying issue.
We are working on fixing how the app issues refreshed access tokens, which should address this issue. Look for it on an upcoming insider build.