Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listing Environments and creating profiles error #215

Open
U2UTrainer opened this issue Jun 23, 2022 · 3 comments
Open

Listing Environments and creating profiles error #215

U2UTrainer opened this issue Jun 23, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@U2UTrainer
Copy link

Hi,

When I open the Power Platform extension window on the left side in VSCode, both the Auth Profiles and Environments & Solution keep on displaying an horizontal moving blue bar as if it is waiting for something. Also when I click "Add Dataverse Auth Profile" it asks for the Environment URL. If I type the environment URL and hit enter, nothing happens anymore....

This happens on a M1 MacBook Pro btw....

@ralphwest1
Copy link

I'm running into the same issue on a Windows 10 machine

@tehcrashxor
Copy link
Member

Are you both seeing the waiting bar prior to clicking the Add Auth Profile button, or only afterwards?

If afterwards, the issue may be that the auth window is often opened up in the background, as the VS Code / nodejs process launch appears to launch that window in the background. (For Linux / Mac, this is a launch of the default web browser to the auth flow, and for Windows this is a MSAL dialog in its own window.)

@U2UTrainer
Copy link
Author

The two blue moving bars are shown as soon as the Power Platform extension window is opened. Also The Power Platform icon in the left-side navigation bar displays an extra clock icon as if it waiting for something.

I'm sure it is not waiting for any browser window opened in the background. If I first stop all browsers (chrome, safari) and then start VSCode and try to create an authentication profile in VSCode by clicking "Add Dataverse Auth Profile", none of by installed browsers actually launch. When I try to use the pac auth command to create an authentication profile it does launch the browser successfully and everything on the command line works as expected. But the UI of VSCode is able to see this authentication profile...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants