Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Issue: Unable to assign premium capacity to Power BI workspace via flow using API

Hi, I have configured the Power BI workspace premium capacity assignment via flow as indicated in the following image, it keeps throwing an error now.

 

2023-01-19 13_20_22-Unable to assign premium capacity to Power BI work... - Power Platform Community.png
Error:

{
  "error": {
    "code""PowerBINotAuthorizedException",
    "pbi.error": {
      "code""PowerBINotAuthorizedException",
      "parameters": {},
      "details": [],
      "exceptionCulprit"1
    }
  }
}

I am able to perform the same operation manually as well as via the "Try It" API tool, however, the same account is unable to go through via flow.

 

Permissions to Power BI workspace and premium capacity are assigned to the account as Admin, and the account has also global admin permission. however, it's not working for flow. 

 

Can you please help?

 

Thanks,

 

 
Status: Needs Info
Comments
Anonymous
Not applicable

Hi @Anonymous 

Have you configured this operation successfully before? Or is this your first configuration?

 

Best Regards,
Community Support Team _ Ailsa Tao

Anonymous
Not applicable

Hi , this is my first config.

 

Nargess