Visual Studio asks for credentials everytime a push is made

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

Visual Studio asks for credentials (Atlassian login) each time a push is made.

Note

This is for Visual Studio and not Visual Studio Code

Diagnosis

Atlassian login credentials are not required for making a push to Bitbucket. Atlassian deprecated login passwords for app passwords. This happens due to an old version of a Bitbucket plugin on Visual Studio.

Solution

You can resolve this with a couple of entries in the git config entry -

1 2 git config --global --replace-all credential.interactive false git config --global --replace-all credential.modalPrompt false

These two entries will disable the Atlassian login prompt. You can also edit the global git config directly with this command and enter the text -

1 2 3 4 5 6 7 8 git config --global --edit Enter the following in the text file - [credential] helper = manager interactive = false modalPrompt = false
Updated on April 24, 2025

Still need help?

The Atlassian Community is here for you.