Hello Community,I am getting this error from a pipeline that performs rest calls to Microsoft Graph. Any help how this can be solved?ClientAuthError: endpoints_resolution_error: Error: could not resolve endpoints. Please check network and try again. Detail: ClientAuthError: openid_config_error: Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints. Attempted to retrieve endpoints from: https://login.microsoftonline.com/x/v2.0/.well-known/openid-configurationat ClientAuthError.AuthError [as constructor] (/opt/atlassian/pipelines/agent/build/node_modules/@azure/msal-common/dist/index.cjs.js:481:24)at new ClientAuthError (/opt/atlassian/pipelines/agent/build/node_modules/@azure/msal-common/dist/index.cjs.js:762:28)at Function.ClientAuthError.createEndpointDiscoveryIncompleteError (/opt/atlassian/pipelines/agent/build/node_modules/@azure/msal-common/dist/index.cjs.js:799:16)at Function.<anonymous> (/opt/atlassian/pipelines/agent/build/node_modules/@azure/msal-common/dist/index.cjs.js:7097:47)at step (/opt/atlassian/pipelines/agent/build/node_modules/@azure/msal-common/dist/index.cjs.js:79:23)at Object.throw (/opt/atlassian/pipelines/agent/build/node_modules/@azure/msal-common/dist/index.cjs.js:60:53)at rejected (/opt/atlassian/pipelines/agent/build/node_modules/@azure/msal-common/dist/index.cjs.js:51:65)at processTicksAndRejections (node:internal/process/task_queues:96:5) {errorCode: 'endpoints_resolution_error',errorMessage: 'Error: could not resolve endpoints. Please check network and try again. Detail: ClientAuthError: openid_config_error: Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints. Attempted to retrieve endpoints from: https://login.microsoftonline.com/x/v2.0/.well-known/openid-configuration',subError: '',}
SOLVED: The defined pipeline variables interfere with those defined in the .env file if they have the same name ( Used by npm package 'dotenv' )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.