Skip to content

devtunnel user login error #638

@a224327780

Description

@a224327780

`devtunnel user login -e -v
Using token cache file: /Users/oxzu/Library/Application Support/DevTunnels/devtunnels-tokens-github
MSAL-Cache: Initialized 'Storage'
MSAL-Cache: Reading Data
MSAL-Cache: ReadDataCore, Before reading from mac keychain service: tunnels account https://global.rel.tunnels.api.visualstudio.com/auth/github
MSAL-Cache: ReadDataCore, After reading mac keychain 2 chars service: tunnels account https://global.rel.tunnels.api.visualstudio.com/auth/github
MSAL-Cache: Got '2' bytes from file storage
Loaded cached GitHub tokens for account(s):
Using client AppId: c0df98ca-23b4-4bce-bb9f-72039b28d3a5
Using token cache file: /Users/oxzu/Library/Application Support/DevTunnels/devtunnels-tokens-microsoft
MSAL-Cache: Initialized 'Storage'
MSAL-Cache: Registering token cache with on disk storage
MSAL-Cache: Done initializing
MSAL: ==== GetAccounts started - GetAccounts ====
MSAL: Account id filter: False
MSAL: [Cache Session Manager] Entering the cache semaphore. Real semaphore: True. Count: 1
MSAL: [Cache Session Manager] Entered cache semaphore
MSAL-Cache: Before access
MSAL-Cache: Acquiring lock for token cache
MSAL-Cache: Before access, the store has changed
MSAL-Cache: Reading Data
MSAL-Cache: ReadDataCore, Before reading from mac keychain service: tunnels account https://global.rel.tunnels.api.visualstudio.com/auth/aad
MSAL-Cache: ReadDataCore, After reading mac keychain 0 chars service: tunnels account https://global.rel.tunnels.api.visualstudio.com/auth/aad
MSAL-Cache: Got '0' bytes from file storage
MSAL-Cache: Read '0' bytes from storage
MSAL-Cache: Deserializing the store
MSAL: [Internal cache] Clearing user token cache accessor.
MSAL-Cache: After access
MSAL-Cache: Released lock
MSAL: [Cache Session Manager] Released cache semaphore
MSAL:
MSAL: [Internal cache] Total number of cache partitions found while getting refresh tokens: 0. PartitionKey False
MSAL: [Internal cache] GetAllRefreshTokens (no partition) found 0 refresh tokens:
MSAL: [Internal cache] Total number of cache partitions found while getting accounts: 0. PartitionKey False
MSAL: [Internal cache] GetAllAccounts (no partition) found 0 accounts.
MSAL: [GetAccounts] Found 0 RTs and 0 accounts in MSAL cache before env filtering.
MSAL: IsLegacyAdalCacheEnabled: yes
MSAL: [Region discovery] Not using a regional authority.
MSAL: [Instance Discovery] Tried to use network cache provider for login.microsoftonline.com. Success? False.
MSAL: [Instance Discovery] Tried to use known metadata provider for login.microsoftonline.com. Success? True.
MSAL: [GetAccounts] Filtering RTs by environment - item count before: 0
MSAL: [GetAccounts] Filtering RTs by environment - item count after: 0
MSAL: [GetAccounts] Filtering accounts by environment - item count before: 0
MSAL: [GetAccounts] Filtering accounts by environment - item count after: 0
MSAL: [GetAccounts] Found 0 RTs and 0 accounts in MSAL cache after environment filtering.
MSAL: IsLegacyAdalCacheEnabled: yes
MSAL: IsLegacyAdalCacheEnabled: yes
MSAL: Found 0 cache accounts and 0 broker accounts
MSAL: Returning 0 accounts
Using token cache file: /Users/oxzu/Library/Application Support/DevTunnels/devtunnels-tokens-msi
MSAL-Cache: Initialized 'Storage'
MSAL-Cache: Reading Data
MSAL-Cache: ReadDataCore, Before reading from mac keychain service: tunnels account https://global.rel.tunnels.api.visualstudio.com/auth/msi
MSAL-Cache: ReadDataCore, After reading mac keychain 0 chars service: tunnels account https://global.rel.tunnels.api.visualstudio.com/auth/msi
MSAL-Cache: Got '0' bytes from file storage
MSAL-Cache: Got '0' bytes to write to storage
MSAL-Cache: Before write to mac keychain service: tunnels account https://global.rel.tunnels.api.visualstudio.com/auth/aad
MSAL-Cache: After write to mac keychain service: tunnels account https://global.rel.tunnels.api.visualstudio.com/auth/aad
MSAL-Cache: Touching file...
Using client AppId: c0df98ca-23b4-4bce-bb9f-72039b28d3a5
Using token cache file: /Users/zouhua/Library/Application Support/DevTunnels/devtunnels-tokens-microsoft
MSAL-Cache: Initialized 'Storage'
MSAL-Cache: Registering token cache with on disk storage
MSAL-Cache: Done initializing
MSAL: MSAL MSAL.NetCore with assembly version '4.79.2.0'. CorrelationId(10d2fa1e-488b-4971-9805-89a46af9d5ac)
MSAL: DefaultBrowserOptions configured. HidePrivacyPrompt False
MSAL: HtmlMessageSuccess? True
MSAL: HtmlMessageError? True
MSAL: BrowserRedirectSuccess? False
MSAL: BrowserRedirectError? False
MSAL: === InteractiveParameters Data ===
LoginHint provided: False
User provided: False
UseEmbeddedWebView: System
ExtraScopesToConsent:
Prompt: not_specified
HasCustomWebUi: False
MSAL:
=== Request Data ===
Authority Provided? - True
Scopes - 46da2f7e-b5ef-422a-88d4-2a7f9de6a0b2/.default
Extra Query Params Keys (space separated) -
ApiId - AcquireTokenInteractive
IsConfidentialClient - False
SendX5C - False
LoginHint ? False
IsBrokerConfigured - False
HomeAccountId - False
CorrelationId - 10d2fa1e-488b-4971-9805-89a46af9d5ac
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:
FMI Path:
Credential FMI Path:

MSAL: === Token Acquisition (InteractiveRequest) started:
Scopes: 46da2f7e-b5ef-422a-88d4-2a7f9de6a0b2/.default
Authority Host: login.microsoftonline.com
MSAL: [Instance Discovery] Instance discovery is enabled and will be performed
MSAL: [Region discovery] Not using a regional authority.
MSAL: [Instance Discovery] Tried to use network cache provider for login.microsoftonline.com. Success? False.
MSAL: Fetching instance discovery from the network from host login.microsoftonline.com.
MSAL: Starting [Oauth2Client] Sending GET request
MSAL: Starting [HttpManager] ExecuteAsync
MSAL: [HttpManager] Sending request. Method: GET. Host: https://login.microsoftonline.com. Binding Certificate: False
MSAL: [HttpManager] Received response. Status code: OK.
MSAL: Finished [HttpManager] ExecuteAsync in 957 ms
MSAL: Finished [Oauth2Client] Sending GET request in 958 ms
MSAL: Starting [OAuth2Client] Deserializing response
MSAL: Finished [OAuth2Client] Deserializing response in 9 ms
MSAL: [Instance Discovery] Tried to use network cache provider for login.microsoftonline.com. Success? True.
MSAL: [Instance Discovery] After hitting the discovery endpoint, the network provider found an entry for login.microsoftonline.com ? True.
MSAL: Using system browser.
MSAL: Exception type: System.PlatformNotSupportedException
To see full exception details, enable PII Logging. See https://aka.ms/msal-net-logging
at Microsoft.Identity.Client.Platforms.netstandard.NetCorePlatformProxy.StartDefaultOsBrowserAsync(String url, Boolean isBrokerConfigured)
at Microsoft.Identity.Client.Platforms.Shared.Desktop.OsBrowser.DefaultOsBrowserWebUi.<>c__DisplayClass10_0.b__0(Uri u)
at Microsoft.Identity.Client.Platforms.Shared.Desktop.OsBrowser.DefaultOsBrowserWebUi.InterceptAuthorizationUriAsync(Uri authorizationUri, Uri redirectUri, Boolean isBrokerConfigured, CancellationToken cancellationToken)
at Microsoft.Identity.Client.Platforms.Shared.Desktop.OsBrowser.DefaultOsBrowserWebUi.AcquireAuthorizationAsync(Uri authorizationUri, Uri redirectUri, RequestContext requestContext, CancellationToken cancellationToken)
at Microsoft.Identity.Client.Internal.AuthCodeRequestComponent.FetchAuthCodeAndPkceInternalAsync(IWebUI webUi, CancellationToken cancellationToken)
at Microsoft.Identity.Client.Internal.AuthCodeRequestComponent.FetchAuthCodeAndPkceVerifierAsync(CancellationToken cancellationToken)
at Microsoft.Identity.Client.Internal.Requests.InteractiveRequest.GetTokenResponseAsync(CancellationToken cancellationToken)
at Microsoft.Identity.Client.Internal.Requests.InteractiveRequest.ExecuteAsync(CancellationToken cancellationToken)
at Microsoft.Identity.Client.Internal.Requests.RequestBase.<>c__DisplayClass11_1.<b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Identity.Client.Utils.StopwatchService.MeasureCodeBlockAsync(Func`1 codeBlock)
at Microsoft.Identity.Client.Internal.Requests.RequestBase.RunAsync(CancellationToken cancellationToken)

Unhandled exception: System.PlatformNotSupportedException: macOS 26.4.1
at Microsoft.Identity.Client.Platforms.netstandard.NetCorePlatformProxy.StartDefaultOsBrowserAsync(String url, Boolean isBrokerConfigured)
at Microsoft.Identity.Client.Platforms.Shared.Desktop.OsBrowser.DefaultOsBrowserWebUi.<>c__DisplayClass10_0.b__0(Uri u)
at Microsoft.Identity.Client.Platforms.Shared.Desktop.OsBrowser.DefaultOsBrowserWebUi.InterceptAuthorizationUriAsync(Uri authorizationUri, Uri redirectUri, Boolean isBrokerConfigured, CancellationToken cancellationToken)
at Microsoft.Identity.Client.Platforms.Shared.Desktop.OsBrowser.DefaultOsBrowserWebUi.AcquireAuthorizationAsync(Uri authorizationUri, Uri redirectUri, RequestContext requestContext, CancellationToken cancellationToken)
at Microsoft.Identity.Client.Internal.AuthCodeRequestComponent.FetchAuthCodeAndPkceInternalAsync(IWebUI webUi, CancellationToken cancellationToken)
at Microsoft.Identity.Client.Internal.AuthCodeRequestComponent.FetchAuthCodeAndPkceVerifierAsync(CancellationToken cancellationToken)
at Microsoft.Identity.Client.Internal.Requests.InteractiveRequest.GetTokenResponseAsync(CancellationToken cancellationToken)
at Microsoft.Identity.Client.Internal.Requests.InteractiveRequest.ExecuteAsync(CancellationToken cancellationToken)
at Microsoft.Identity.Client.Internal.Requests.RequestBase.<>c__DisplayClass11_1.<b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Identity.Client.Utils.StopwatchService.MeasureCodeBlockAsync(Func1 codeBlock) at Microsoft.Identity.Client.Internal.Requests.RequestBase.RunAsync(CancellationToken cancellationToken) at Microsoft.Identity.Client.ApiConfig.Executors.PublicClientExecutor.ExecuteAsync(AcquireTokenCommonParameters commonParameters, AcquireTokenInteractiveParameters interactiveParameters, CancellationToken cancellationToken) at Microsoft.DevTunnels.Cli.Authentication.UserManager.LoginAadUserAsync(LoginOptions options, DeviceCodeCallback deviceCodeCallback, CancellationToken cancellation) in /Users/runner/work/1/s/src/Tunnel/Src/CLI/Authentication/UserManager.cs:line 747 at Microsoft.DevTunnels.Cli.Authentication.UserManager.LoginAsync(LoginOptions options, DeviceCodeCallback deviceCodeCallback, CancellationToken cancellation) in /Users/runner/work/1/s/src/Tunnel/Src/CLI/Authentication/UserManager.cs:line 445 at Microsoft.DevTunnels.Cli.Commands.UserCommands.LoginAsync(LoginOptions options, CancellationToken cancellation) in /Users/runner/work/1/s/src/Tunnel/Src/CLI/Commands/UserCommands.cs:line 126

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions