Forum Discussion
Power BI REST API "Try-It" feature GONE?
Question to the community, is the Try-It feature now gone on Power BI REST API documentation page?
- 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.
29 Replies
- mwade_cte1926Advocate II
So, maybe it's coming back soon!!
- ferdsjosephAdvocate I
I have the same issue. Please let me know when you find a solution. Thanks!
- WheresWallyHelper III
Same, where's it gone please?
- RahulYadavResolver II
Yes, it is not showing up anymore. Can anyone from Microsoft support confirm?
Thanks,
Rahul Yadav
- dtheodorFrequent Visitor
Another apparently unnecessary productivity killer. I was always using this UI for exploratory testing before implementing anything, now I have to go through the hassle of using 3rd tools and obtaining tokens.
- Aslan-RFrequent Visitor
If still cofused or facing issue.
Please follow below video to extract token using Powershell.
https://www.youtube.com/watch?v=f7HLyiAk-lQ (Credits - Adam(#GuyInACube))Note - if you're using powershell for the first time, U will need to install Powerbi Module by running below command in Powershell as adminstrator.
Install-Module -Name MicrosoftPowerBIMgmt
Cheers!!
Ritesh Singh - SantanumalikFrequent Visitor
I do see the try it button enabled now. Can you all try below link? Or go to your specific API.
https://docs.microsoft.com/en-us/rest/api/power-bi/reports/update-report-content
- T_SadFrequent Visitor
Same here
- collinqSuper User
Any update on this?
- pvuppalaHelper V
I'm glad it isn't just me and I've asked our MS contacts. They were not aware of this feature taken away but awaiting more info on that. This is definitely a bummer if they take it away.
- CAS-TomFrequent Visitor
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??
- pvuppalaHelper 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_cte1926Advocate II
Also, I found this PBI Custom REST API connector to be helpful.
- AnonymousNot 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_cte1926Advocate 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/