-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Invoke-ASCmd] ERROR: Could not load type 'Microsoft.Identity.Client.BaseAbstractApplicationBuilder`1' from assembly 'Microsoft.Identity.Client, Version=4.27.0.0, Culture=neutral, PublicKeyToken= #88
Comments
Hi @TymonCzarnota, not known to me. It looks like I some dependency is missing. Are you running into this issue in both PS5.1 and PS7? What versions of PowerShell7 are you on, if the issue happen in PS7? I'll look into this ASAP and see if I can quickly push out a v22.3.1 with a fix (and also understand why this was not caught when I ran the automation tests). |
Hey, we've only run it on 5.1, did not test it on PS7. Thanks for the support 😄 |
Could you share the version of Az.* cmdlets you happen to have in your machine? Specifically, the Az.Accounts... Is it the latest version (3.0.0)? If it isn't, could you update it and see if the issue goes away. I'm still trying to setup an Azure AS in the meanwhile... |
We are using a |
On CircleCI |
I tried anyway to install version 3.0.1 of Az.Accounts but I still get the same error. |
@Edgar-Kalkowski / @TymonCzarnota - I do not see anything in the SQLServer module that is referencing that (ancient) Is it possible you have some other (old) module loaded in the PoweShell.exe process, which may be interfering? [System.AppDomain]::CurrentDomain.GetAssemblies() | Where-Object { $_.Location -like '*Microsoft.Identity.Client.dll' } | ForEach-Object { $_.Location } Once thing you can try could be to make sure you |
Hi @Matteo-T, Facing the same issue. This is something related to SqlServer Version 22.3.0. We isolated and tried lower version of SqlServer 22.2.0. It worked. We added below command in script to try lower version - @TymonCzarnota You can try this as a temporary workaround. Get-Module SqlServer -ListAvailable |
We did some more investigation of this and it turns out that we were missing an explicit |
Hey 😄
When running:
on version 22.3.0, we are getting following error :
Code was run from CircleCi and GithubActions and was working fine for older versions. We tried to run the code on different windows runners with the same outcome.
As a workaround we downgraded to 22.2.0 for now
Is this a know issue? Thanks for support 😄
The text was updated successfully, but these errors were encountered: