There are proxy settings inside vs code. Put in your organizations' proxy server addresses in there, it worked for me