Question to the community, is the Try-It feature now gone on Power BI REST API documentation page?
Solved! Go to Solution.
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.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You can still get call the API via PowerShell as an example below:
$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
$headers = Get-PowerBIAccessToken
$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.
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.
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.
Click here to learn more about the September 2022 updates!
Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.
Watch Session 25 of Ted's Dev Camp.