Closed Andrii-Papezhuk closed 4 years ago
Hey,
thanks for reporting this. I'll check my test environment and see if I can reproduce the issue.
Hi again,
I cannot reproduce the issue in my environment. Here are a couple things you should check:
Hi Thanks for a quick reply
PAT is not expired, checked. I've also checked a configuration for a project, everything looks fine. Secrets are available for a fork. PAT is used as a secret file in my pipeline. I've tried to inject PAT directly in the YAML file, and everything works fine. I can assume that a pipeline doesn't have access to a secret file; however, it's really weird for me.
Hm, that's weird indeed. I would recommend reporting this issue through Azure DevOps' feedback channel. Perhaps there is a temporary issue or something specific to your pipeline or organisation?
Thanks, @ReneSchumacher for your help!
I managed to resolve this issue by using a secret variable with PAT instead of a secret file. I'll continue the investigation, but for me, it looks like the issue is on the Azure side or in the project configuration.
Thanks & Regards, Andriy
I'm trying to create a new work item for a failed build from the fork and it fails with the error below:
##[error]TF400813: The user '' is not authorized to access this resource.
The same build with the same configuration and PAT token was working fine several weeks ago. Please find task configuration below:
No changes in project configuration were executed, I am able to reproduce this issue by specifying an
authToken
parameter. From my side, it looks like some security rules were updated from extension or Azure DevOps side, and an extension cannot assume user token. Could you please help me in investigation and check from the extension side if everything works fine?