bedrock-cli icon indicating copy to clipboard operation
bedrock-cli copied to clipboard

`bedrock setup` doesn't propagate 'az login' output

Open andrewDoing opened this issue 5 years ago • 1 comments

Environment: WSL2 Ubuntu

Issue: When using bedrock setup, bedrock setup stalls on info: attempting to login to az command line. Using the -v or --verbose tag shows that the az login output directs the user to sign in using a web browser, providing a URL and a login code.

Resolution: Propagate this output to the user, if for some reason the az login command can't bring up a browser to login.

Other Resolution: Fix the WSL2 issue of not being able to open a browser.

andrewDoing avatar Sep 24 '20 22:09 andrewDoing

@andrewDoing to unblock yourself you can create a service principal yourself via command like. In bedrock setup choose No when it asks if you want to create a service principal. Instead it will ask you for client id, client password and tenant id.

andrebriggs avatar Sep 25 '20 16:09 andrebriggs