Forum Discussion
Automatic datarefresh using power bi api
I have to auto refresh a particular dataset in power bi service uisng api request.So , i request one api https://login.microsoftonline.com/common/oauth2/v2.0/token to get token using post man client.I got token properly.With that token i tried to access power bi api request such as getting list of dataset .Thtat working fine.But when same token is used for accessing Refresh Dataset POST https://api.powerbi.com/v1.0/myorg/datasets/{datasetId}/refreshesusing post man client ...its not refreshing that particular dataset.Plse help me.
2 Replies
- DavisBISolution Specialist
Hi, nisha_deepak
After you send the post command, is another dataset has been refreshed? Or no dataset has been refreshed?
I suggest you check if your dataset is in "my workspace" or other workspaces.
Best.
- nisha_deepakHelper III
Dataset is in my workspace itself and i prefered a particular one dataset want to be refreshed..but its not happened through postman client.