Forum Discussion
(PowerShell) Connect-PowerBIServiceAccount not working
- 4 years ago
Problem found and solved!
It turned out that an update to the PowerShell extension for VS Code set this value "powershell.useX86Host": true. In other words, it started running 32 bit as default. Manually changing it back to x64 like shown in the screenshots belov solved the problem:
Cheers, Mike
Hi h4tt3n,
I test the Connect-PowerBIServiceAccount with OAuth mode and it works well.
What authorization mode you work on? Did this issue still appear on your side? Any policy or rule change that applies to your device/environment? (they may block power bi requests) Please share more detailed information to help us clarify these.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
- h4tt3n5 years agoHelper V
Hi Anonymous
The problem has disappeared again over the weekend. I assume it was due to overload on parts of the Microsoft servers or a small bug that was caught and fixed quickly.
Cheers, Mike