Replies: 1 comment
-
Thanks for the feedback. Refreshing access token in Azure DevOps pipeline is unsupported as of now. Please try to obtain a new token periodically. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All,
I have below script in Windows PowerShell. Script works for 1 hour. After that it is not able to fetch the rows from Azure DevOps. Therefore, request you to please help with this.
$token = az account get-access-token --query accessToken --resource 499b84ac-1321-427f-aa17-267ca6975798 -o tsv
$header = @{
"Authorization" = "Bearer $token"
"Content-Type" = "application/json"
}
Beta Was this translation helpful? Give feedback.
All reactions