Azure Powershell: User cancelled the Accounts Control Operation

Today I started my journey on learning terraform. During the Azure login process in Powershell, I ran into the following error: User cancelled the Accounts Control Operation.. Status: Response_Status.Status_UserCanceled, Error code: 0, Tag: 528315210 I’ve never had this issue before, so I was a bit puzzled. It seems that since version 2.61.0, that the Web Account Manager (WAM) is now the default authentication method. Luckily we can bypass the WAM using PowerShell and proceed to login....

July 8, 2024 · 1 min · 105 words · Michaël Vandenbulcke

Add printers based on IP octet

At a previous company I worked at, we managed over 60+ sites, each with a dedicated /24 subnet and a preconfigured printer on a print server. The challenge was to automatically add the local printer and move printers from other sites when users traveled between sites. Initially, I used a heavily modified VBS script from a friend to address this issue. Although this solution worked, it was slow over 300 lines long....

March 28, 2024 · 2 min · 225 words · Michaël Vandenbulcke