Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Authenticate PowerBI in Azure Automate Powershell using cmdlets

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:

Connect-PowerBIServiceAccount

with some built-in credentials. I'm driving myself crazy trying every variation I find on the web.
 
I honestly don't know where to start or why nothing is working.

Chris
  • Anonymous's avatar
    Anonymous
    6 years ago

    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.

14 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      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? 

      • lbendlin's avatar
        lbendlin
        Super User

        That one works for me. Of course after that there's not much I can do since I am not a tenant admin.