Forum Discussion
Power BI REST API "Try-It" feature GONE?
- Anonymous4 years ago
Hi mwade_cte1926 ,
"Try It" feature be disabled on every pages in PBI REST API has been confirmed as an active known issue.
A temporary alternative solution is to use postman.
Get access token first, then you can call Power BI Rest API in postman by this token.
For reference: Power BI REST API using postman - generate embed token.
I will keep an eye on this case and update if there are new developments.
And I will mark my reply as the answer for more people to see this message.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
It disappeared for me too. I was relying on this "Try" feature to fetch my Auth Token so that my script can fetch API records. Does anyone know of an alternate way to fetch this Auth Token??
- pvuppala4 years agoHelper V
You can still get call the API via PowerShell as an example below:
$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
Login-PowerBIServiceAccount
$headers = Get-PowerBIAccessToken
$headers.Add("Content-Type", "application/json")$restUrl = 'https://api.powerbi.com/v1.0/myorg/admin/groups/' + $ID + "/users"
$response = Invoke-RestMethod $restUrl -Method 'GET' -Headers $headers -ErrorAction StopI hope they fix this soon as sometimes I don't need to write a script for a quick ad-hoc testing.
- mwade_cte19264 years agoAdvocate II
Also, I found this PBI Custom REST API connector to be helpful.
- Anonymous4 years agoNot applicable
Hi mwade_cte1926 ,
I'm so sorry for your bad experience. I have checked the offical documents about Power BI REST API, "Try it" has been indeed removed. As far as I know, "Try it" has been disabled by the Documentation Team. Currently, there is no ETA about this yet. I will keep an eye on this case and update if there are new developments. I will mark my reply as the answer for more people to see this message.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- mwade_cte19264 years agoAdvocate II
Thanks for the response, even though it's quite a shame. The "Try It" feature was a very useful feature that I used quite frequently weekly. Is this something that we can vote to get back?
- CAS-Tom4 years agoFrequent Visitor
Thanks for sharing! Very useful 🙂
- mwade_cte19264 years agoAdvocate II
Before this was removed, I created an Azure App and have been successful in creating the auth_token but I have an issue with permissions at the moment. But here is the link I used to create this app.
https://helicaltech.com/azure-application-to-access-the-power-bi-rest-apis/