Forum Discussion

SevB's avatar
SevB
Regular Visitor
8 years ago
Solved

Publish script in Powershell

Hi,

 

Is it possible to publish desktop reports to a specific workspace by using a script in Powershell?

If it is possible, could someone share that script with me?

 

Thank you!


  • SevB wrote:

    Hi,

     

    Is it possible to publish desktop reports to a specific workspace by using a script in Powershell?

    If it is possible, could someone share that script with me?

     

    Thank you!


    SevB

    You can import pbix file to a specific workspace by calling the REST API Create Import in Powershell. As to Azure AD authentication, you can reference this github lib. For futher Powershell development question, I'd suggest you post in the dedicated Powershell forum.

     

1 Reply

  • Eric_Zhang's avatar
    Eric_Zhang
    Microsoft Employee

    SevB wrote:

    Hi,

     

    Is it possible to publish desktop reports to a specific workspace by using a script in Powershell?

    If it is possible, could someone share that script with me?

     

    Thank you!


    SevB

    You can import pbix file to a specific workspace by calling the REST API Create Import in Powershell. As to Azure AD authentication, you can reference this github lib. For futher Powershell development question, I'd suggest you post in the dedicated Powershell forum.