cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NieGreJoh
Level: Powered On

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
PowerApps Staff jo
PowerApps Staff

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?

nielsnets
Level: Power Up

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

Hi 

 

Yes that is what I'm experiencing 

NieGreJoh
Level: Powered On

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

Hi 
 
Yes that is what I'm experiencing 

PowerApps Staff jo
PowerApps Staff

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
NieGreJoh
Level: Powered On

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

PowerApps Staff jo
PowerApps Staff

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Users Online
Currently online: 372 members 6,259 guests
Please welcome our newest community members: