Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
20 | |
3 | |
2 | |
2 | |
2 |