Hi All:
I resolved this by setting the msal-common version to 9.0.2, previously it was set to 9.1.0.
Everything is working correctly now.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I was trying to implement Microsoft Active Directory authentication in simple Angular application following the instruction: Tutorial: Sign in users and call the Microsoft Graph API (...)
When using loginPopUp() or loginRedirect() methods from MsalService (@azure/msal-angular) I am getting error about performanceMeasurement.startMeasurement:
core.mjs:9171 ERROR TypeError: performanceMeasurement.startMeasurement is not a function
at PerformanceClient.startMeasurement (PerformanceClient.js:76:32)
at BrowserPerformanceClient.startMeasurement (BrowserPerformanceClient.js:43:65)
at ClientApplication.acquireTokenPopup (ClientApplication.js:274:57)
at PublicClientApplication.loginPopup (PublicClientApplication.js:78:21)
at MsalService.loginPopup (azure-msal-angular.js:55:35)
at AppComponent.login (app.component.ts:25:23)
at AppComponent_button_16_Template_button_click_0_listener (app.component.html:33:24)
at executeListenerWithErrorHandling (core.mjs:15679:16)
at wrapListenerIn_markDirtyAndPreventDefault (core.mjs:15714:22)
at HTMLButtonElement.<anonymous> (platform-browser.mjs:459:38)
Im using:
"@azure/msal-angular": "^2.5.2",
"@azure/msal-browser": "^2.32.2",
(...)
"@angular-devkit/build-angular": "14.2.10",
"@angular/cli": "14.2.10",
Hi All:
I resolved this by setting the msal-common version to 9.0.2, previously it was set to 9.1.0.
Everything is working correctly now.
Hi all, the solution to this is to downgrade the current msal-common version to 9.0.2. Something is wrong with the most current version, so please do this as a workaround until there's a fix. Please let me know if you have any questions.
If this answer is correct please mark it as "Verified" so other users can reference it.
Thank you,
James
Hi James, I'm also getting the exact error
@Pawel Klosko , have you seen this thread? Please let me know if it helps at all. If not I can help you further.
Best,
James