Sync Settings Login Loop after January 2025 Update
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.97.1
- OS Version: Windows 10 Pro 22H2
Steps to Reproduce:
- Open VS Code
- Notified to login to sync setting
- Start login procedure
- Popup appears
- Enter email (MS Outlook.com Account)
- Enter password
- Popup disappears
- No change in stated - still requesting login
I have seen there are a number of other issues related to the new auth - but their logs seem to indicate a different issue.
Microsoft Authentication Output at Trace Level - cleared before clicking "Sign In To Sync Settings"
025-02-12 08:25:20.817 [info] [createSession] [email offline_access openid profile] starting
2025-02-12 08:25:20.817 [info] Trying default msal flow...
2025-02-12 08:25:20.821 [warning] [Wed, 12 Feb 2025 08:25:20 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001] WARNING SetAuthorityUri:78 Initializing authority from URI 'https://login.microsoftonline.com/organizations' without authority type, defaulting to MsSts
2025-02-12 08:25:20.821 [warning] [Wed, 12 Feb 2025 08:25:20 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0003] WARNING TryNormalizeRealm:2450 No HomeAccountId provided to normalize the realm
2025-02-12 08:25:20.824 [warning] [Wed, 12 Feb 2025 08:25:20 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0003] WARNING ProcessRequestedScopes:561 Disallowed scope detected. offline_access will be ignored as MSAL adds this to requests automatically.
2025-02-12 08:25:20.824 [warning] [Wed, 12 Feb 2025 08:25:20 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0003] WARNING ProcessRequestedScopes:561 Disallowed scope detected. openid will be ignored as MSAL adds this to requests automatically.
2025-02-12 08:25:20.824 [warning] [Wed, 12 Feb 2025 08:25:20 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0003] WARNING ProcessRequestedScopes:561 Disallowed scope detected. profile will be ignored as MSAL adds this to requests automatically.
2025-02-12 08:25:20.824 [warning] [Wed, 12 Feb 2025 08:25:20 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0003] WARNING TryEnqueueMsaDeviceCredentialAcquisitionAndContinue:1053 MsaDeviceOperationProvider is not available. Not attempting to register the device.
2025-02-12 08:25:20.824 [warning] [Wed, 12 Feb 2025 08:25:20 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0002] WARNING ReturnResponseDueToMissingParameter:709 Attempted to read cache with a non-normalized realm, access token and ID token reads will fail
2025-02-12 08:25:20.824 [warning] [Wed, 12 Feb 2025 08:25:20 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0002] WARNING ReadAccountById:272 Account id is empty - account not found
2025-02-12 08:25:36.488 [warning] [Wed, 12 Feb 2025 08:25:36 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0002] WARNING Parse:379 Empty string passed to parse as JSON
2025-02-12 08:25:36.488 [warning] [Wed, 12 Feb 2025 08:25:36 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0002] WARNING GetJsonObjectFromString:285 JSON string was a '(pii)' (not an object)
2025-02-12 08:25:36.512 [warning] [Wed, 12 Feb 2025 08:25:36 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0002] WARNING ReadAllAccountsInternal:114 Duplicate records found for account '(pii)': '(pii)' and '(pii)'
2025-02-12 08:25:36.514 [warning] [Wed, 12 Feb 2025 08:25:36 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0002] WARNING ReadAllAccountsInternal:156 Still seeing duplicate records for account '(pii)': '(pii)' and '(pii)'
2025-02-12 08:25:36.515 [warning] [Wed, 12 Feb 2025 08:25:36 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0002] WARNING ProcessRequestedScopes:561 Disallowed scope detected. offline_access will be ignored as MSAL adds this to requests automatically.
2025-02-12 08:25:36.515 [warning] [Wed, 12 Feb 2025 08:25:36 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0002] WARNING ProcessRequestedScopes:561 Disallowed scope detected. openid will be ignored as MSAL adds this to requests automatically.
2025-02-12 08:25:36.515 [warning] [Wed, 12 Feb 2025 08:25:36 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0002] WARNING ProcessRequestedScopes:561 Disallowed scope detected. profile will be ignored as MSAL adds this to requests automatically.
2025-02-12 08:25:36.515 [warning] [Wed, 12 Feb 2025 08:25:36 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0002] WARNING TryEnqueueMsaDeviceCredentialAcquisitionAndContinue:1053 MsaDeviceOperationProvider is not available. Not attempting to register the device.
2025-02-12 08:25:36.515 [warning] [Wed, 12 Feb 2025 08:25:36 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0005] WARNING StorageTokenResponse:15 No credentials found in the cache
2025-02-12 08:25:36.516 [warning] [Wed, 12 Feb 2025 08:25:36 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0005] WARNING DiscardAccessAndIdTokensIfUnusable:805 No id token found in the cache
2025-02-12 08:25:36.516 [warning] [Wed, 12 Feb 2025 08:25:36 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0005] WARNING DiscardAccessAndIdTokensIfUnusable:824 No access token found in the cache
2025-02-12 08:25:36.516 [warning] [Wed, 12 Feb 2025 08:25:36 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0005] WARNING StorageTokenResponse:15 No credentials found in the cache
2025-02-12 08:25:36.528 [info] [createSession] [email offline_access openid profile] returned session
2025-02-12 08:25:36.528 [warning] [Wed, 12 Feb 2025 08:25:36 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0002] WARNING ReadAllAccountsInternal:114 Duplicate records found for account '(pii)': '(pii)' and '(pii)'
2025-02-12 08:25:36.528 [warning] [Wed, 12 Feb 2025 08:25:36 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0005] WARNING ReadAllAccountsInternal:114 Duplicate records found for account '(pii)': '(pii)' and '(pii)'
2025-02-12 08:25:36.528 [warning] [Wed, 12 Feb 2025 08:25:36 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0002] WARNING ReadAllAccountsInternal:156 Still seeing duplicate records for account '(pii)': '(pii)' and '(pii)'
2025-02-12 08:25:36.536 [warning] [Wed, 12 Feb 2025 08:25:36 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0005] WARNING ReadAllAccountsInternal:156 Still seeing duplicate records for account '(pii)': '(pii)' and '(pii)'
2025-02-12 08:25:36.536 [warning] [Wed, 12 Feb 2025 08:25:36 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0005] WARNING GetPlatformPropertiesFromStorage:2031 No account found in cache.
2025-02-12 08:25:36.547 [info] [getSessions] [email offline_access openid profile] starting
2025-02-12 08:25:36.547 [info] [getSessions] [email offline_access openid profile] returned 0 session(s)
2025-02-12 08:25:36.900 [error] [Wed, 12 Feb 2025 08:25:36 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Error - [MSAL:0005] ERROR ErrorInternalImpl:134 Created an error: 4nvnz, StatusInternal::IncorrectConfiguration, InternalEvent::None, Error Code 2147789090, Context '(pii)'
@TylerLeonhardt Also assigning to you to check if it is auth related
I have been using classic auth since this issue arose. Just removed that from the settings and it appears to log in - at least it states logged in. Still quite a few warnings in the Microsoft Authentication output:
2025-03-07 15:04:21.452 [info] Acquired MSAL enablement value from default. Value: false
2025-03-07 15:04:23.104 [warning] [Fri, 07 Mar 2025 15:04:23 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0002] WARNING ReadAccountById:272 Account id is empty - account not found
2025-03-07 15:04:23.321 [warning] [Fri, 07 Mar 2025 15:04:23 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0002] WARNING ReadAccountById:272 Account id is empty - account not found
2025-03-07 15:04:23.371 [info] [getSessions] [all] starting
2025-03-07 15:04:23.371 [info] [getSessions] [all] returned 1 session(s)
2025-03-07 15:04:23.371 [info] [getSessions] [all] starting
2025-03-07 15:04:23.371 [info] [getSessions] [all] returned 1 session(s)
2025-03-07 15:04:23.372 [info] [getSessions] [email offline_access openid profile] starting
2025-03-07 15:04:23.374 [info] [getSessions] [email offline_access openid profile] starting
2025-03-07 15:04:23.382 [warning] [Fri, 07 Mar 2025 15:04:23 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001] WARNING SetAuthorityUri:78 Initializing authority from URI 'https://login.microsoftonline.com/organizations' without authority type, defaulting to MsSts
2025-03-07 15:04:23.531 [warning] [Fri, 07 Mar 2025 15:04:23 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001] WARNING ProcessRequestedScopes:561 Disallowed scope detected. offline_access will be ignored as MSAL adds this to requests automatically.
2025-03-07 15:04:23.532 [warning] [Fri, 07 Mar 2025 15:04:23 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001] WARNING ProcessRequestedScopes:561 Disallowed scope detected. openid will be ignored as MSAL adds this to requests automatically.
2025-03-07 15:04:23.532 [warning] [Fri, 07 Mar 2025 15:04:23 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001] WARNING ProcessRequestedScopes:561 Disallowed scope detected. profile will be ignored as MSAL adds this to requests automatically.
2025-03-07 15:04:23.532 [warning] [Fri, 07 Mar 2025 15:04:23 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001] WARNING TryEnqueueMsaDeviceCredentialAcquisitionAndContinue:1053 MsaDeviceOperationProvider is not available. Not attempting to register the device.
2025-03-07 15:04:23.533 [info] [getSessions] [email offline_access openid profile] returned 1 session(s)
2025-03-07 15:04:23.615 [warning] [Fri, 07 Mar 2025 15:04:23 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001] WARNING SetAuthorityUri:78 Initializing authority from URI 'https://login.microsoftonline.com/organizations' without authority type, defaulting to MsSts
2025-03-07 15:04:23.653 [warning] [Fri, 07 Mar 2025 15:04:23 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001] WARNING ProcessRequestedScopes:561 Disallowed scope detected. offline_access will be ignored as MSAL adds this to requests automatically.
2025-03-07 15:04:23.653 [warning] [Fri, 07 Mar 2025 15:04:23 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001] WARNING ProcessRequestedScopes:561 Disallowed scope detected. openid will be ignored as MSAL adds this to requests automatically.
2025-03-07 15:04:23.653 [warning] [Fri, 07 Mar 2025 15:04:23 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001] WARNING ProcessRequestedScopes:561 Disallowed scope detected. profile will be ignored as MSAL adds this to requests automatically.
2025-03-07 15:04:23.653 [warning] [Fri, 07 Mar 2025 15:04:23 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001] WARNING TryEnqueueMsaDeviceCredentialAcquisitionAndContinue:1053 MsaDeviceOperationProvider is not available. Not attempting to register the device.
2025-03-07 15:04:23.654 [info] [getSessions] [email offline_access openid profile] returned 1 session(s)
2025-03-07 15:04:23.731 [info] [getSessions] [email offline_access openid profile] starting
2025-03-07 15:04:23.782 [warning] [Fri, 07 Mar 2025 15:04:23 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001] WARNING SetAuthorityUri:78 Initializing authority from URI 'https://login.microsoftonline.com/organizations' without authority type, defaulting to MsSts
2025-03-07 15:04:23.830 [warning] [Fri, 07 Mar 2025 15:04:23 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001] WARNING ProcessRequestedScopes:561 Disallowed scope detected. offline_access will be ignored as MSAL adds this to requests automatically.
2025-03-07 15:04:23.830 [warning] [Fri, 07 Mar 2025 15:04:23 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001] WARNING ProcessRequestedScopes:561 Disallowed scope detected. openid will be ignored as MSAL adds this to requests automatically.
2025-03-07 15:04:23.830 [warning] [Fri, 07 Mar 2025 15:04:23 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001] WARNING ProcessRequestedScopes:561 Disallowed scope detected. profile will be ignored as MSAL adds this to requests automatically.
2025-03-07 15:04:23.831 [warning] [Fri, 07 Mar 2025 15:04:23 GMT] : [aebc6443-996d-45c2-90f0-388ff96faa56] [https://login.microsoftonline.com/organizations] : @azure/[email protected] : Warning - [MSAL:0001] WARNING TryEnqueueMsaDeviceCredentialAcquisitionAndContinue:1053 MsaDeviceOperationProvider is not available. Not attempting to register the device.
2025-03-07 15:04:23.831 [info] [getSessions] [email offline_access openid profile] returned 1 session(s)
We did do some work in 1.98 to polish this up. Glad to hear it's working for you.
These particular warnings are fine.
Ok to close this out?
It appears to be working now so I am closing.