Forum Discussion

BizIntel's avatar
BizIntel
Frequent Visitor
4 years ago
Solved

Get Refresh History API with a service Principal

Does anyone know if the API 'Datasets - Get Refresh History' can be called using a Service Principal?  

 

I am able to use the Service Principal to call the 'Admin - Get Refreshables', but it only brings back Premium workspaces.

3 Replies

  • BizIntel's avatar
    BizIntel
    Frequent Visitor

    Hi Tom,

     

    First, thank you for the reply.  It's nice to know I'm not the only one trying to do this.  

     

    However, I'm still unable to get either (post or get) api to run.  

    Additional context:  I am already using the Data Factory Service Principal in the security group in Admin API Settings - allow service principals to use read-only Power BI admin APIs.

     

    Do you think that may be causing me to still be unable to use the Dataset Refresh API?  I am using 2 different security groups, but it's the same service principal inside each group.