Skip to content

Enabling "TryAutoDetect" breaks all MSAL requests #7352

Open
@alonkadoshms

Description

@alonkadoshms

Core Library

MSAL Node (@azure/msal-node)

Core Library Version

2.14.0

Wrapper Library

Not Applicable

Wrapper Library Version

0

Public or Confidential Client?

Confidential

Description

Since we've upgraded from msal-node 2.0.2 to 2.14.0 we're getting "network_error" for all of our outgoing MSAL requests.
I've debugged it locally and stepped into your code to find that the settings azureRegion to "TryAutoDetect" triggers a request that fails and the code ends up thinking the exception object is the region we should be using.
Then we end up with the following tokenEndpoint:
[Tue, 01 Oct 2024 10:04:34 GMT] : [background] : @azure/[email protected] : Info - Sending token request to endpoint:
https://[object
object].login.microsoft.com/2b6234ad-913b-45f4-adae-126e026afa79/oauth2/v2.0/token/

When downgrading back to 2.0.2 the issue is resolved.
When not passing "TryAutoDetect" the issue is resolved as well.

Error Message

"Error: network_error: Network request failed"

MSAL Logs

[Tue, 01 Oct 2024 14:39:59 GMT] : [InitializingBlobValue-a1368e06-c47f-432e-b41b-fff722d5d0a5] : @azure/[email protected] : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:39:59 GMT] : [InitializingBlobValue-a1368e06-c47f-432e-b41b-fff722d5d0a5] : @azure/[email protected] : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:39:59 GMT] : [InitializingBlobValue-a1368e06-c47f-432e-b41b-fff722d5d0a5] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:11 GMT] : [InitializingBlobValue-a1368e06-c47f-432e-b41b-fff722d5d0a5] : @azure/[email protected] : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:11 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:11 GMT] : [] : @azure/[email protected] : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:11 GMT] : [] : @azure/[email protected] : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:11 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:11 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
[Tue, 01 Oct 2024 14:40:11 GMT] : [] : @azure/[email protected] : Verbose - Replacing tenant domain name 72f988bf-86f1-41af-91ab-2d7cd011db47 with id {tenantid}
[Tue, 01 Oct 2024 14:40:11 GMT] : [InitializingBlobValue-a1368e06-c47f-432e-b41b-fff722d5d0a5] : @azure/[email protected] : Info - Building oauth client configuration with the following authority: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token.
[Tue, 01 Oct 2024 14:40:11 GMT] : [] : @azure/[email protected] : Verbose - Replacing tenant domain name 72f988bf-86f1-41af-91ab-2d7cd011db47 with id {tenantid}
[Tue, 01 Oct 2024 14:40:11 GMT] : [InitializingBlobValue-a1368e06-c47f-432e-b41b-fff722d5d0a5] : @azure/[email protected] : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:11 GMT] : [] : @azure/[email protected] : Verbose - Replacing tenant domain name 72f988bf-86f1-41af-91ab-2d7cd011db47 with id {tenantid}
[Tue, 01 Oct 2024 14:40:11 GMT] : [] : @azure/[email protected] : Verbose - Replacing tenant domain name 72f988bf-86f1-41af-91ab-2d7cd011db47 with id {tenantid}
[Tue, 01 Oct 2024 14:40:11 GMT] : [InitializingBlobValue-a1368e06-c47f-432e-b41b-fff722d5d0a5] : @azure/[email protected] : Info - Sending token request to endpoint: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token
[Tue, 01 Oct 2024 14:40:12 GMT] : [InitializingBlobValue-a1368e06-c47f-432e-b41b-fff722d5d0a5] : @azure/[email protected] : Warning - No client info in response
[Tue, 01 Oct 2024 14:40:12 GMT] : [background] : @azure/[email protected] : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:12 GMT] : [background] : @azure/[email protected] : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:12 GMT] : [background] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:12 GMT] : [background] : @azure/[email protected] : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:12 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:12 GMT] : [] : @azure/[email protected] : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:12 GMT] : [] : @azure/[email protected] : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:12 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:12 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
[Tue, 01 Oct 2024 14:40:12 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.
[Tue, 01 Oct 2024 14:40:12 GMT] : [] : @azure/[email protected] : Verbose - Authority.getEndpointMetadataFromNetwork: attempting to retrieve OAuth endpoints from https://login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/v2.0/.well-known/openid-configuration
(node:52844) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use node --trace-warnings ... to show where the warning was created)
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/[email protected] : Info - Building oauth client configuration with the following authority: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/.
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/[email protected] : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/[email protected] : Info - Sending token request to endpoint: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/
Successfully setup http server and routes. Draft listening on port 5000 (HTTP)
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/[email protected] : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/[email protected] : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/[email protected] : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/[email protected] : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/[email protected] : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/[email protected] : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/[email protected] : Info - Building oauth client configuration with the following authority: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/.
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/[email protected] : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/[email protected] : Info - Sending token request to endpoint: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/[email protected] : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/[email protected] : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/[email protected] : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/[email protected] : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/[email protected] : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/[email protected] : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/[email protected] : Info - Building oauth client configuration with the following authority: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/.
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/[email protected] : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/[email protected] : Info - Sending token request to endpoint: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - Building oauth client configuration with the following authority: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - Sending token request to endpoint: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - Building oauth client configuration with the following authority: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - Sending token request to endpoint: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - Building oauth client configuration with the following authority: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - Sending token request to endpoint: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - Building oauth client configuration with the following authority: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - Sending token request to endpoint: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - Building oauth client configuration with the following authority: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - Sending token request to endpoint: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - Building oauth client configuration with the following authority: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - Sending token request to endpoint: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - Building oauth client configuration with the following authority: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - Sending token request to endpoint: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - Building oauth client configuration with the following authority: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - Sending token request to endpoint: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - Building oauth client configuration with the following authority: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - Sending token request to endpoint: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/[email protected] : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - Building oauth client configuration with the following authority: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/[email protected] : Info - Sending token request to endpoint: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Info - Building oauth client configuration with the following authority: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/.
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Info - Sending token request to endpoint: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Info - Building oauth client configuration with the following authority: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/.
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Info - Sending token request to endpoint: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Info - Building oauth client configuration with the following authority: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/.
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Info - Sending token request to endpoint: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/[email protected] : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Info - Building oauth client configuration with the following authority: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/.
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/[email protected] : Info - Sending token request to endpoint: https://[object object].login.windows-ppe.net/60b0f830-d528-4b33-8adb-e5ab07735973/oauth2/v2.0/token/

Network Trace (Preferrably Fiddler)

  • Sent
  • Pending

MSAL Configuration

ConfidentialApplication settings:
{
    "config": {
        "auth": {
            "clientId": "REDACTED",
            "authority": "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47",
            "clientSecret": "",
            "clientAssertion": "",
            "clientCertificate": {
                "thumbprint": "REDACTED",
                "privateKey": "REDACTED",
                "x5c": "REDACTED"
            },
            "knownAuthorities": [
                "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47"
            ],
            "cloudDiscoveryMetadata": "",
            "authorityMetadata": "",
            "clientCapabilities": [],
            "protocolMode": "AAD",
            "azureCloudOptions": {
                "azureCloudInstance": "none",
                "tenant": ""
            },
            "skipAuthorityMetadataCache": false
        },
        "broker": {},
        "cache": {
            "claimsBasedCachingEnabled": false
        },
        "system": {
            "loggerOptions": {
                "logLevel": 0
            },
            "networkClient": {
                "proxyUrl": "",
                "customAgentOptions": {}
            },
            "proxyUrl": "",
            "customAgentOptions": {},
            "disableInternalRetries": false
        },
        "telemetry": {
            "application": {
                "appName": "",
                "appVersion": ""
            }
        }
    },
    "cryptoProvider": {
        "pkceGenerator": {
            "hashUtils": {}
        },
        "guidGenerator": {},
        "hashUtils": {}
    },
    "logger": {
        "level": 0,
        "piiLoggingEnabled": false,
        "correlationId": "",
        "packageName": "@azure/msal-node",
        "packageVersion": "2.14.0"
    },
    "storage": {
        "clientId": "REDACTED",
        "cryptoImpl": {
            "pkceGenerator": {
                "hashUtils": {}
            },
            "guidGenerator": {},
            "hashUtils": {}
        },
        "commonLogger": {
            "level": 0,
            "piiLoggingEnabled": false,
            "correlationId": "",
            "packageName": "@azure/msal-common",
            "packageVersion": "14.15.0"
        },
        "staticAuthorityOptions": {
            "canonicalAuthority": "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/",
            "knownAuthorities": [
                "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47"
            ]
        },
        "cache": {},
        "changeEmitters": [
            null
        ],
        "logger": {
            "level": 0,
            "piiLoggingEnabled": false,
            "correlationId": "",
            "packageName": "@azure/msal-node",
            "packageVersion": "2.14.0"
        }
    },
    "tokenCache": {
        "cacheHasChanged": false,
        "storage": {
            "clientId": "REDACTED",
            "cryptoImpl": {
                "pkceGenerator": {
                    "hashUtils": {}
                },
                "guidGenerator": {},
                "hashUtils": {}
            },
            "commonLogger": {
                "level": 0,
                "piiLoggingEnabled": false,
                "correlationId": "",
                "packageName": "@azure/msal-common",
                "packageVersion": "14.15.0"
            },
            "staticAuthorityOptions": {
                "canonicalAuthority": "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/",
                "knownAuthorities": [
                    "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47"
                ]
            },
            "cache": {},
            "changeEmitters": [
                null
            ],
            "logger": {
                "level": 0,
                "piiLoggingEnabled": false,
                "correlationId": "",
                "packageName": "@azure/msal-node",
                "packageVersion": "2.14.0"
            }
        },
        "logger": {
            "level": 0,
            "piiLoggingEnabled": false,
            "correlationId": "",
            "packageName": "@azure/msal-node",
            "packageVersion": "2.14.0"
        }
    },
    "clientAssertion": {
        "privateKey": "REDACTED",
        "thumbprint": "REDACTED",
        "useSha256": false,
        "publicCertificate": [
            "REDACTED"
        ]
    }
}

Token Acquisition params (tokenRequest):
{
    "scopes": [
        "https://management.core.windows.net//.default"
    ],
    "correlationId": "background",
    "azureRegion": "TryAutoDetect"
}

Relevant Code Snippets

const cca = new ConfidentialClientApplication({
            auth: {
                clientId: this.tokenConfiguration.clientId,
                clientCertificate: {
                    thumbprint: this.tokenConfiguration.thumbprint,
                    privateKey: this.tokenConfiguration.privateKey,
                    x5c: this.tokenConfiguration.publicKey
                },
                authority: this.tokenConfiguration.authority + tenantId,
                knownAuthorities: [this.tokenConfiguration.authority + tenantId]
            },
            system: this.getSystemConfiguration(operationId)
        });
cca.acquireTokenByClientCredential(tokenRequest);

Reproduction Steps

  1. run the above code either locally or on an AKS container

Expected Behavior

tokenEndpoint should be a valid URL instead of having a wrongly serialized hostname:
https://[object object].login.microsoft.com/2b6234ad-913b-45f4-adae-126e026afa79/oauth2/v2.0/token/

Identity Provider

Entra ID (formerly Azure AD) / MSA

Browsers Affected (Select all that apply)

None (Server)

Regression

@azure/msal-node 2.0.2

Source

Internal (Microsoft)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Attention 👋Awaiting response from the MSAL.js teambug-unconfirmedA reported bug that needs to be investigated and confirmedconfidential-clientIssues regarding ConfidentialClientApplicationsmsal-nodeRelated to msal-node packagequestionCustomer is asking for a clarification, use case or information.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions