Forum Discussion

4 Replies

  • You may want to consider looking into the DevScope PowerBIPS Module

     

    It is possible to use the Get-PBIAuthToken cmdlet to get an authentication token to access PowerBI with a combination of Username, Password and Client ID. This token can be scripted.

     

    I am currently uploading data directly to PowerBI from PowerShell scripts using this method. As a new token is obtained each time the script is run, timout isn't a problem.

  • faisalmo's avatar
    faisalmo
    Microsoft Employee

    Hi - we are looking for ways to make this better. But for now, yes there's an Azure AD limitation that 90 days is the valid lifetime of the token.

     

    Faisal Mohamood | Product Manager | Power BI

  • Are there plans to do away with folks having to change their passwords every 90 days?  Who's bright idea was that.  I can't expect my clients to have to manage and change their passwords every 90 days is why.

    • eprochasson's avatar
      eprochasson
      Frequent Visitor

      This is ridiculous! Could you at least document it clearly so I knew to expect it, instead of finding out the hard way when a production client dashboard is down?

       

      Anyway around it?