Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling "TryAutoDetect" breaks all MSAL requests #7352

Open
2 tasks
alonkadoshms opened this issue Oct 1, 2024 · 0 comments
Open
2 tasks

Enabling "TryAutoDetect" breaks all MSAL requests #7352

alonkadoshms opened this issue Oct 1, 2024 · 0 comments
Labels
bug-unconfirmed A reported bug that needs to be investigated and confirmed confidential-client Issues regarding ConfidentialClientApplications msal-node Related to msal-node package Needs: Attention 👋 Awaiting response from the MSAL.js team question Customer is asking for a clarification, use case or information.

Comments

@alonkadoshms
Copy link

alonkadoshms commented Oct 1, 2024

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/msal-common@14.15.0 : 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/msal-node@2.14.0 : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:39:59 GMT] : [InitializingBlobValue-a1368e06-c47f-432e-b41b-fff722d5d0a5] : @azure/msal-node@2.14.0 : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:39:59 GMT] : [InitializingBlobValue-a1368e06-c47f-432e-b41b-fff722d5d0a5] : @azure/msal-node@2.14.0 : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:11 GMT] : [InitializingBlobValue-a1368e06-c47f-432e-b41b-fff722d5d0a5] : @azure/msal-node@2.14.0 : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:11 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:11 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:11 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:11 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:11 GMT] : [] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:11 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Replacing tenant domain name 72f988bf-86f1-41af-91ab-2d7cd011db47 with id {tenantid}
[Tue, 01 Oct 2024 14:40:11 GMT] : [] : @azure/msal-node@2.14.0 : 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/msal-common@14.15.0 : 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/msal-common@14.15.0 : Warning - No client info in response
[Tue, 01 Oct 2024 14:40:12 GMT] : [background] : @azure/msal-node@2.14.0 : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:12 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:12 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:12 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:12 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:12 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:12 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:12 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:12 GMT] : [] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/msal-common@14.15.0 : 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/msal-node@2.14.0 : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/msal-common@14.15.0 : 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/msal-node@2.14.0 : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:13 GMT] : [] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:13 GMT] : [background] : @azure/msal-common@14.15.0 : 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/msal-node@2.14.0 : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-common@14.15.0 : 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/msal-node@2.14.0 : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-common@14.15.0 : 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/msal-node@2.14.0 : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-common@14.15.0 : 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/msal-node@2.14.0 : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-common@14.15.0 : 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/msal-node@2.14.0 : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-common@14.15.0 : 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/msal-node@2.14.0 : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-common@14.15.0 : 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/msal-node@2.14.0 : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-common@14.15.0 : 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/msal-node@2.14.0 : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-common@14.15.0 : 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/msal-node@2.14.0 : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-common@14.15.0 : 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/msal-node@2.14.0 : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:14 GMT] : [] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:14 GMT] : [background] : @azure/msal-common@14.15.0 : 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/msal-node@2.14.0 : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/msal-common@14.15.0 : 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/msal-node@2.14.0 : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/msal-common@14.15.0 : 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/msal-node@2.14.0 : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/msal-common@14.15.0 : 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/msal-node@2.14.0 : Info - acquireTokenByClientCredential called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - initializeRequestScopes called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - buildOauthClientConfiguration called
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/msal-node@2.14.0 : Verbose - createAuthority called
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get cloud discovery metadata from authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Found cloud discovery metadata in authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/msal-node@2.14.0 : Verbose - Attempting to get endpoint metadata from authority configuration
[Tue, 01 Oct 2024 14:40:15 GMT] : [] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Found endpoint metadata in the cache.
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/msal-node@2.14.0 : 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/msal-node@2.14.0 : Verbose - Client credential client created
[Tue, 01 Oct 2024 14:40:15 GMT] : [background] : @azure/msal-common@14.15.0 : 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)

@alonkadoshms alonkadoshms added bug-unconfirmed A reported bug that needs to be investigated and confirmed question Customer is asking for a clarification, use case or information. labels Oct 1, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Attention 👋 Awaiting response from the MSAL.js team label Oct 1, 2024
@github-actions github-actions bot added confidential-client Issues regarding ConfidentialClientApplications msal-node Related to msal-node package labels Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-unconfirmed A reported bug that needs to be investigated and confirmed confidential-client Issues regarding ConfidentialClientApplications msal-node Related to msal-node package Needs: Attention 👋 Awaiting response from the MSAL.js team question Customer is asking for a clarification, use case or information.
Projects
None yet
Development

No branches or pull requests

1 participant