Forum Discussion
bhuvanesh1208
Sep 19, 2022Copper Contributor
Special Characters not accepted in Azure Pipeline variable
Hi, I'm trying to set password in pipeline variable and use that variable for encoding it in base64 format before uploading to key vault. But when i try to set password with special characters like ...
sprice092
May 27, 2025Copper Contributor
Not sure if you're stilling having the issue, but this might help anyone that comes across it. I ran into a similar issue with using the az cli on PowerShell.
To get around it, you can enclose your value in double quotes inside of single quotes. eg
az pipelines variable-group variable update --group-id $variableGroupId --name $variableName --secret true --project $azureDevOpsProject --org $azureDevOpsOrganisationUrl --value '"ValueWithSpecialChars~^>*@"'