I was doing azure pipelines deployment.
The command is working when I’m just using my VSCode.
But when I run it on the Azure pipelines I encounter this errror.
Followed the procedure here. I double checked on the credentials.
It seems that when I set the client secret as plain text it is working.
But when I set the client secret as an environment variable secret the error occurs.
Any idea about this?
Client Secret should be set as environment variable and secret as best practice based on the guide.
That suggests to me there is a problem when you are importing the secret, or with how you are storing it as an env variable. You can try to print a string using the same methods and see what is different.