Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Azure by (45.3k points)

In VSTS/VSO is it possible to gain access to the OAuth token from release management? The option is there in Build but I do not see it available from release. The URL below suggests that it's been implemented but the comments suggest otherwise.

https://visualstudio.uservoice.com/forums/330519-team-services/suggestions/12980961-allow-scripts-to-access-oauth-token-in-release-man

1 Answer

0 votes
by (16.8k points)

Make sure that first you add a task for an environment. 

Once the task is added you can click on "Run on agent". This will open a a different view not available through oan of the tabs. Expand "Additional options" and check "Allow scripts to access OAuth token".

enter image description here

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

30.5k questions

32.5k answers

500 comments

108k users

Browse Categories

...