cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Add-PowerAppsAccount - Does not work in Visual Studio Code

When executing "Add-PowerAppsAccount" in a PowerShell terminal a browser window appears, this does happen when executing in Visual Studio Code

 



6 REPLIES 6
Highlighted
Power Apps
Power Apps

Re: Add-PowerAppsAccount - Does not work in Visual Studio Code

Sorry just to confirm, this command is supposed to open up a browser dialog for you to sign-in so that the library can store your token. Are you saying that is not happening from within VS code?

Highlighted
New Member

Re: Add-PowerAppsAccount - Does not work in Visual Studio Code

Hi 

 

Yes that is what I'm experiencing 

Highlighted
Frequent Visitor

Re: Add-PowerAppsAccount - Does not work in Visual Studio Code

Hi 
 
Yes that is what I'm experiencing 

Highlighted
Power Apps
Power Apps

Re: Add-PowerAppsAccount - Does not work in Visual Studio Code

Hm, weird, sorry you're hitting that issue.  

 

Are you on a PC or MAC?  Also what version of VS Code are you using?

Highlighted
Frequent Visitor

Re: Add-PowerAppsAccount - Does not work in Visual Studio Code

 

Hi 

 

It works!

 

The issue was that the login window did not get focus ....

 

Anyhow. I'm on a PC - Windows 10 (10.0.15063)

 

VS Code

Version 1.22.2
Commit 3aeede733d9a3098f7b4bdc1f66b63b0f48c1ef9
Date 2018-04-12T16:38:45.278Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64

Highlighted
Power Apps
Power Apps

Re: Add-PowerAppsAccount - Does not work in Visual Studio Code

Yes that has happened to me as well. The PowerShell dialog opens, but it is not in the main focus so it opens behind the VS Code window.

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (4,249)