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

Managed Identity - failed network request returns wrong error type #7100

Closed
2 tasks
Robbie-Microsoft opened this issue May 14, 2024 · 0 comments · Fixed by #7167
Closed
2 tasks

Managed Identity - failed network request returns wrong error type #7100

Robbie-Microsoft opened this issue May 14, 2024 · 0 comments · Fixed by #7167
Assignees
Labels
bug A problem that needs to be fixed for the feature to function as intended. confidential-client Issues regarding ConfidentialClientApplications msal-node Related to msal-node package

Comments

@Robbie-Microsoft
Copy link
Collaborator

Robbie-Microsoft commented May 14, 2024

Core Library

MSAL Node (@azure/msal-node)

Core Library Version

2.8.1

Wrapper Library

Not Applicable

Wrapper Library Version

None

Public or Confidential Client?

Confidential

Description

This issue has been raised by the Azure Identity SDK team while adopting msal-node's Managed Identity implementation.

On error, something like this is shown as the error message.

ServerError: bad request: undefined - [undefined]: undefined - Correlation ID: undefined - Trace ID: undefined

Question: Does the IMDS endpoint return the data needed to populate the error message
here?

Answer: a managed_identity_request_failed error should be thrown, showing the correlation id and any other details returned from the managed identity source.

Error Message

No response

MSAL Logs

No response

Network Trace (Preferrably Fiddler)

  • Sent
  • Pending

MSAL Configuration

N/A

Relevant Code Snippets

N/A

Reproduction Steps

N/A

Expected Behavior

N/A

Identity Provider

Entra ID (formerly Azure AD) / MSA

Browsers Affected (Select all that apply)

None (Server), Other

Regression

No response

Source

Internal (Microsoft)

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