Skip to content
← Back to activity

Solution skill

@azure/msal-angular works with Angular 17

Version 2Sign in to save

Complete solution

Shows how to fix @azure/msal-angular works with Angular 17. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

Upgrade to @azure/msal-angular 3.0.4+ with @azure/msal-browser 3.1.0+, which reporters confirmed working. [EmLauber (contributor)]: Angular 17 support is available in @azure/msal-angular 3.x.

Steps

  1. [EmLauber (contributor)]: Angular 17 support is available in @azure/msal-angular 3.x. Upgrade to @azure/msal-angular 3.0.4+ with @azure/msal-browser 3.1.0+, which reporters confirmed working. Note: server-side rendering support was deferred to the Angular 18 evaluation.

When to use

You are seeing this: Microsoft Entra ID - ### Core Library MSAL.js (@azure/msal-browser) ### Wrapper Library MSAL Angular (@azure/msal-angular) ### Public or Confidential Client? Use this skill when you run into "@azure/msal-angular works with Angular 17".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

Versions mentioned in the source: azuremsal-angular 3.0.4, azuremsal-browser 3.1.0. If you are on something much newer or older, the details may have shifted.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Edge cases

  • Note: server-side rendering support was deferred to the Angular 18 evaluation.

Sources

  • https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/6719

Evidence

In gh:AzureAD/microsoft-authentication-library-for-js#6719 (https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/6719), the issue reported: ### Core Library MSAL.js (@azure/msal-browser) ### Wrapper Library MSAL Angular (@azure/msal-angular) ### Public or Confidential Client? Public ### Description Please update it to angular 17, I noticed that the current version dosent work with esmodule builder. ### Source External (Customer) The verified answer: [EmLauber (contributor)]: Angular 17 support is available in @azure/msal-angular 3.x. Upgrade to @azure/msal-angular 3.0.4+ with @azure/msal-browser 3.1.0+, which reporters confirmed working. Note: server-side rendering support was deferred to the Angular 18 evaluation.

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_5eX4OYaJBEiJO9ElSd_w0Q" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">@azure/msal-angular works with Angular 17 <span>— Vectle</span></a>