From past few days we are observing below error while running the pipeline in azure DevOps with Bitbucket Source code.
There is no issue found when we use the Git/Azure Repository as source code.
Azure DevOps PG team has Confirmed that the issue is with Bitbucket end.
https://developercommunity.visualstudio.com/t/Failed-to-resolve-username-from-access-/10639609
When trying to provision a Microsoft Hosted Agent we occasionally get the following error: ##[error]Failed to resolve username from access token: An error occurred while sending the request.
This error has happened on majority of our projects and can be resolved sometimes by running 'rerun failed jobs', however we might have to rerun it a few times to succeed.