-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Could not load file or assembly 'Azure.Security.KeyVault.Keys, Version=4.4.0.0' #10216
Comments
Hi @DonvanMeel , We're looking into the issue , we will update you soon after investigating. Thank you ! |
Hi @DonvanMeel , I suspect this is the driver version issue, could you please try by modifying the driver version? |
Which driver version do you mean ? Beacause I have downgraded the SqlServer version from 22.3 to 22.2 and then it works again. See the description. |
@DonvanMeel , I have seen it , but now the version was changed to 22.3 . 22.3 version will not support some of the dependencies , we request you to update version from 4.4.0.0 to compatible version with 22.3 and also check with Azure SDK versions. |
HI @DonvanMeel , Could you please provide your comments ? Thankyou ! |
We're seeing the exact same error from this 22.3.0 version since a few days when calling Invoke-Sqlcmd on both ubuntu-latest and windows-latest. I'm not sure when the images were updated but I first noticed it around the 10th/11th of july. Some stages in our deployment pipeline were randomly failing at that time. Does this need to be reported to https://github.com/microsoft/SQLServerPSModule/ as well? Edit: |
Hi @DonvanMeel , We reverted to the previous version and it will be available with next rollout . Thank you ! |
Hi @DonvanMeel , Reverted to old version , Could you please try with latest version . Thank you ! |
The reverted version(22.2) is now available with latest rollout. Thank you ! |
Description
OS Version: 10.0.17763 Build 5936
Image Version: 20240707.1.0
After the upgrade of the Azure Pipelines Hosted Windows 2019 with VS2019 image to image version 20240707.1.0
We have a problem in our pipeline that results in
After exploring this problem en the changes of Image Version 20240707.1.0 we have found the powershell module that is causing the problem. It is the SqlServer Module version 22.3 When we unistall this version and install the older version 22.2 everything is working again.
We use the classic pipeline with the Azure Powershell task version 5.*
If we call the next scriptline then the Error is raised
Invoke-Sqlcmd -InputFile $ScriptCreateSchemaIfNotExists -Verbose -ConnectionString $DbConnectionStringToIdm2Database -Variable schema='[OU-IDM]', schemaCheck='OU-IDM'
Platforms affected
Runner images affected
Image version and build link
OS Version: 10.0.17763 Build 5936
Image Version: 20240707.1.0
Is it regression?
yes, OS Version: 10.0.17763 Build 5936 Image Version: 20240630.1.1
Expected behavior
We dont get an error after calling
Invoke-Sqlcmd -InputFile $ScriptCreateSchemaIfNotExists -Verbose -ConnectionString $DbConnectionStringToIdm2Database -Variable schema='[OU-IDM]', schemaCheck='OU-IDM'
Actual behavior
We get this error:
Repro steps
See description
The text was updated successfully, but these errors were encountered: