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...
PowerBI-ELM
4 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 ...
GilbertQ
4 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?
- GilbertQ4 years agoSuper User
Hi PowerBI-ELM
Ahh wait can you make sure where you are running PowerShell that you have TLS 1.2 enabled?
If not put this at the start of the PowerShell Script
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12