Today I decided to upgrade from 4.0.9 to 4.1.7, and now PSU can no longer connect to Azure using Connect-AzAccount. I keep getting the following error:
Entry point was not found. Could not find tenant id for provided tenant domain ‘x-x-x-x-x’. Please ensure that the provided service principal ‘x-x-x-x-x’ is found in the provided tenant domain.
I get this when a page runs Connect-AzAccount using a service principal.
However, the exact same command works when run from the PoSh 7 shell and from VSCode .
I have 2 questions:
Is there a solution readily available?
How can I roll back a PSU installation for MSI install? I see instructions for install and upgrade on the Ironman site, but not for roll back. I backed up my UniversalAutomation folder prior to upgrade. Is it as simple as uninstalling current version, overwriting the UniversalAutomation folder with the backup, then running the MSI installer for the previous version?
I should mention that I’m running PoSh version 7.3.8 and the latest Az.Accounts module version 2.13.1.
Update…I restored the VM from the previous day’s image backup, and I can now connect to Azure using Connect-AzAccount with a service principal again.
Although image restore is possible for me, anyone know what the proper process is for roll back in a situation where the updated version is causing problems; using MSI for install?