Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Can anyone help me figure out how to authenticate my powerbi account in a powershell runbook so I can run PowerBI cmdlets?
I've tried many variations of this cmdlet:
Solved! Go to Solution.
As a follow-up, I'm using the Powershell within Azure portal. I've been made aware that that powershell can't be updated and is currently on version 5.
That's probably why I can't get anything to work on it.
Login-PowerBIServiceAccount
@lbendlin Thanks for the reply. This is an iteration of what I've tried and have gotten the same result. Could you explain a little more?
That one works for me. Of course after that there's not much I can do since I am not a tenant admin.
I get the error: "The runbook job was attempted 3 times, but it failed each time". Is it different if I'm using a runbook?
Maybe. Is your runbook running on Powershell Core 6 or better?
How do I figure that out? I'm doing all of this through Azure Automate.
$PSVersionTable.PSVersion
Major Minor Build Revision
----- ----- ----- --------
5 1 15063 726
that's not enough. Can you upgrade to 6?
I just imported the update runbook and ran it. Not sure if there's anything else I need to do.
You need to update your Azure Automate instance to at least Powershell 6
Can you send documentation on this? I've been looking for a while and can't seem to find anything useful.
As a follow-up, I'm using the Powershell within Azure portal. I've been made aware that that powershell can't be updated and is currently on version 5.
That's probably why I can't get anything to work on it.
User | Count |
---|---|
14 | |
2 | |
1 | |
1 | |
1 |
User | Count |
---|---|
16 | |
11 | |
5 | |
4 | |
3 |