Using Environment Variables in a cURL request on Azure Devops
you need to use bash syntax to retrieve environment variable for that, not powershell (since you are using bash, not powershell):
-H "Authorization: Bearer $ACCESS_TOKEN"
I also suspect that you need to update your env declaration:
env: ACCESS_TOKEN: $(netlifyAccessToken) << ADO token to replace with variable from build scope SITE_ID: $(netlifySiteId)