@KranthiPakala-MSFT Issue resolved now. I used @markus.bohland@hotmail.de
Azure Synapse - Web activity use variables in Body

Giri, Seshu
26
Reputation points
Hi Microsoft Community,
I am reading secrets etc from Azure Vault in Synapse pipeline, after I have values from Vault I wanted to use those in a 'Web activity' to get BEARER Token. Please see attached screen print (sample flow).
Below syntax is not working. How do I make it work? Thanks
grant_type=variables('fromVault1')&client_id=variables('fromVault2')&client_secret=variables('fromVault3')&scope=variables('fromVault4')
{count} votes
Hi @KranthiPakala-MSFT
Thanks for your response. I tried below two wayts and I am getting below error
Input: grant_type=variables('fromVault1')&client_id=variables('fromVault2')&client_secret=variables('fromVault3')&scope=variables('fromVault4')
Error: "message": "{\"error\":\"unsupported_grant_type\",\"error_description\":\"AADSTS70003: The app requested an unsupported grant type 'variables('fromVault1')'.
Input: grant_type=@**variables('fromVault1')&client_id=@variables('fromVault2')&client_secret=@variables('fromVault3')&scope=@variables('fromVault4')
**Error: "message": "{\"error\":\"unsupported_grant_type\",\"error_description\":\"AADSTS70003: The app requested an unsupported grant type '**@**variables('fromVault1')'.