Hello again! following on from the previous post about Az CLI and Web Account Manager, I found today that the latest Az Module (12.3.0 (at time of post)) also by default has the Web Account Management popup window.
Web Authentication Manager
- The interactive sign-in method can’t open a window for WAM and returns the error: User canceled authentication.
- Azure PowerShell cmdlets can’t run after logging in with a username and password or device code.
- WAM popup window doesn’t display the Work and School Account option.
- The interactive sign-in method can’t open a WAM window in the Windows PowerShell ISE console.
The Fix
Looking at the Microsoft Learn docs for Az troubleshooting https://learn.microsoft.com/en-gb/powershell/azure/troubleshooting#web-account-manager-wam
Disable Web Authentication Manager
|
|
Enable Web Authentication Manager
|
|