Forum Discussion
PowerBI-ELM
4 years agoHelper I
Cannot login with Powershell
Hello, I am trying to login to PowerBI using Power Shell. If I just use Connect-PowerBIServiceAccount by itself, it pops open the login dialog and then carries on properly. But if I try to...
GilbertQ
4 years agoSuper User
Hi PowerBI-ELM
Do you have MFA enabled on your account?
Looking at your code it is what I have and it certainly works for me.
Also just to confirm you have got the latest version of the PowerBI PowerShell Modules installed?
- PowerBI-ELM4 years agoHelper I
I should have the most recent API as just set it up recently. Also, just in case I tried an update.
I do not have MFA installed.
So still stuck ...
- GilbertQ4 years agoSuper User
Hi PowerBI-ELM
Yeah the only other thing would be to chat to your Azure/Network Admin to make sure that they allow the account to log in via the PowerShell commands?
- PowerBI-ELM4 years agoHelper I
my login (email) is a powerbi admin and a global admin. Is there anything else?