Forum Discussion
Anonymous
8 years agoNot applicable
Power BI REST API - UserNotLicensed
Hi! I'm trying to refresh dataset using REST API (using this example: https://github.com/Azure-Samples/powerbi-powershell/blob/master/manageRefresh.ps1) Howere I've got an error: $uri = "https://...
- Anonymous8 years ago
Hi v-jiascu-msft,
actually i've solved this problem. Had to use Python to use REST API, powershell example don't work for me.
v-jiascu-msft
8 years agoMicrosoft Employee
Hi Anonymous,
There isn't such a limitation to Pro Trail account. I would suggest you check these things below.
1. Use exactly the same user who can log in Power BI.
2. Register your app in the same tenant with Power BI, which couldn't be like this: onmicrosoft.com and yourdomain.com.
3. Did you grant the permission in the Azure? You need to click the "Grant Permission" button explicitly.
4. The user should have the Edit permission of the App workspace.
Best Regards,
Dale
- Anonymous8 years agoNot applicable
Hi v-jiascu-msft,
actually i've solved this problem. Had to use Python to use REST API, powershell example don't work for me.