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??
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 Stop
I hope they fix this soon as sometimes I don't need to write a script for a quick ad-hoc testing.