Use authentication information from Visual Studio Code Microsoft Account if it's not working then fallback to pat