Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Problem facing to schedule the Power BI datasets refresh using service principal id

We tried to refresh the PowerBI reports using service principal id ,
we could take over the dataset using power shell but are  facing issues when tried to schedule thedata refresh for the report ,

 

2 Replies

  • v-yadongf-msft's avatar
    v-yadongf-msft
    Community Support

    Hi Anonymous 

     

    This problem maybe caused many others credentials that were saved. Please clear the credentials and try again.

     

    Here is a user who encountered the same problem as you and solved it successfully, this post is for your reference:

    Solved: Failed to test the connection to your data source.... - Microsoft Power BI Community

     

    Best regards,

    Yadong Fang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi v-yadongf-msft 
    We tried doing that has well 
    Here we are trying to schedule the data refresh automatically using Service Principal id.
    can you suggest any PowerShell Cmds with which we can do this.