Closed neilhuiz closed 3 years ago
Update: I tried using PAT authentication and that resulted in the same error message.
Ack! I spent the last couple hours looking at this and now I see that the build definition Id I provided is a typo and that the output even says that! My apologies.
Hi @neilhuiz
I'm glad you could find it out. The issues that pop up and get solved while I'm asleep are the best ones :-)
In case you run into more problems, have a question or some proposal for improvement, feel free to open another issue.
I'm trying to use a release pipeline to trigger a YAML pipeline and keep getting the error
##[error]Cannot read property 'id' of null
when attempting to use OAuth authentication and passing in$(System.AccessToken)
. Here's the YAML view of the settings as output by the release definition UI.I suppose that I could use a PAT but would rather not. The practice of using PAT for access to our Azure DevOps is frowned upon by our security teams. Any help here would be hugely appreciated. More complete task output (redacted) is below: