Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago

How to update the Parameter in Power BI Dataset using PowerBI Rest API?

Hi

I have Published the Power BI Reports with Parameters, and I'm trying to update the Parameter by the PowerBI Rest API with required scope. I am using Azure AD App with "Dataset.ReadWrite.All" Permission for generating access token. If i used the token in that API, it is showing me 403 forbidden error. I have allowed all the access for that App. I enabled all the required fields in the Workspace access.
Can you please guide me how to use that API and how to generate the Token for the API?

1 Reply

  • aj1973's avatar
    aj1973
    Icon for Community Champion rankCommunity Champion

    Hi Anonymous 

    The user of the API must be the owner of the dataset

    App Regsitration can't Take Over the ownership of the dataset in the service