-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[BUG]: SqlAzureDacpacDeployment Fails When Using Workload Identity Federation #18992
Comments
@MarcelMichau what OS are you using? |
Hi @geekzter , this is using Windows Server 2022 |
We're seeing the same issue running on |
any updates here? |
I'm taking this issue |
Hey everyone. There is some update regarding this issue. Thanks everyone for your patience. |
This is fantastic news! Thank you @LeftTwixWand for your effort in fixing this, much appreciated! |
@LeftTwixWand, has this been released? I'm still seeing this issue for in Azure DevOps AzureFileCopy@5 task |
Hey @anish714 looks like we have a delay for some customers, because we're not releasing a new version for all the customers at once, but rather enabling it by chanks. I'm trying to clarify the current release state. |
Hey @anish714 @MarcelMichau can you please confirm, that this task works for you now? |
Hi @LeftTwixWand , I just ran a pipeline again now & the task is still on version 1.225.1 which doesn't have the fix yet. |
@MarcelMichau Thank you for your response. From what I see, we're still enabling this feature for the last rings. |
Hey @MarcelMichau can you please run the pipeline one more time to verify that the new version is available for you? |
Hi @LeftTwixWand , I can confirm the task is now updated to version 1.231.0 & is working as expected. I'm happy that this issue can be closed. Thank you again for getting this sorted for us! |
Hey @MarcelMichau, glad to hear that! |
@anish714 Did your issue resolved with updated version? |
Hey @arsh3186 can you please provide, which task version do you have? |
Task name
SqlAzureDacpacDeployment
Task version
1.225.1
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows Server 2022
Task log
Relevant log output
##[error]System.Management.Automation.RuntimeException: Unsupported authentication scheme 'WorkloadIdentityFederation' for Azure endpoint.Check out how to troubleshoot failures at https://aka.ms/sqlazuredeployreadme#troubleshooting-
Aditional info
Hi There,
I've recently converted an Azure Service Connection to use workload identity federation & when using the SqlAzureDacpacDeployment task with this Service Connection, it fails with the attached error.
After some investigation, this might be caused by the IsAzureRmConnection function in VstsAzureRestHelpers_.psm1 which does not check if $connectionType is $wifConnection:
azure-pipelines-tasks/Tasks/Common/VstsAzureRestHelpers_/VstsAzureRestHelpers_.psm1
Line 103 in cfc97f2
Happy to provide any additional information if required.
Pipeline logs: https://dev.azure.com/marcelmichau/Personal/_build/results?buildId=5015&view=logs&j=6c434506-33ce-52e3-30f1-def0355013e5&t=a238fb55-122e-5c75-0386-86a8958c7523
Task in repo: https://github.com/MarcelMichau/fake-survey-generator/blob/78564da5bc8eae8a0645a43b1a6bba750c2797d3/.azuredevops/azure-pipelines.yml#L271
The text was updated successfully, but these errors were encountered: