I am attempting to create a new project using an Azure DevOps repository as the source control URL. I have generated a Personal Access Token (PAT) and created the necessary credentials. However, when I try to sync the project, I encounter an authentication error. I have attached screenshots for reference.
We were previously using Azure DevOps and could not get HTTPS cloning to work with AWX/AAP. We ended up reverting back to SSH cloning with keys under a service account that had read access to the organization. I recall similar issues with it needed the additional headers.
This isn’t to say it’s not possible but we weighed the time to continue to troubleshoot vs just switching to SSH and moving forward.
I encountered the same issue few months ago, and I couldn’t use SSH keys to authenticate for security reasons, however, I came up with this solution that uses PAT to authenticate, and it worked for me!