We are testing out PSU through Azure and are attempting to setup a Keyvault with it. We are using the 4.1.1-module docker image. I am getting a warning
[warning] Unable to acquire token for tenant ‘organizations’ with error ‘Entry point was not found.’
[error] Entry point was not found.
However When doing the same Connection script (The one in the docs) using 7.3.6 Environment it is able to establish the connection.
Edit: A correction. In 7.3.6 It is able to Connect(I run Get-AzKeyVault) command and it gets all of the Vaults I have under the Sub… However it fails with the following error later on…
[error] Could not load and retrieve module information for module: Az.KeyVault with error : Could not load file or assembly ‘Microsoft.Azure.PowerShell.AssemblyLoading, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.
The new version of the container updated the version of the Az modules and they are not behaving properly in the PSU container. We’re going to pin the version to a module version that is known to work.
I have pulled ironmansoftware/universal:4.1.2-preview-modules and i can see the Az.Accounts and Az.KeyVault modules match the version numbers seen in 4.0.12 however, I still have the same connectivity problem.
When i revert back to 4.0.12 the problem goes away but comes back again when i attempt to pull anything higher the 4.0.12.