Authentication failed for Azure Git
Authentication failed for Azure Git
Authentication failed for Azure Git
Re: Authentication failed for Azure Git
I had the same problem with my site and it turned out the issue is with the site url:
the automatically generated remote url was: [https://[email protected]/site.git](https://[email protected]/site.git)
On the other hand the portal showed: [https://[email protected]:443/site.git](https://[email protected]/site.git)
After updating the remote url in git with the following command:
```
git remote set-url azure
https://@.scm.azurewebsites.net/.git
https://@.scm.azurewebsites.net:443/.git
```
things started working as expected.
The morale of the story: check the deployment url as well as the password.
the automatically generated remote url was: [https://[email protected]/site.git](https://[email protected]/site.git)
On the other hand the portal showed: [https://[email protected]:443/site.git](https://[email protected]/site.git)
After updating the remote url in git with the following command:
```
git remote set-url azure
https://@.scm.azurewebsites.net/.git
https://@.scm.azurewebsites.net:443/.git
```
things started working as expected.
The morale of the story: check the deployment url as well as the password.