Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi,
I'm trying to figure out how many embed trial tokens there's left on our shared capacity.
I use Postman to call the GET https://api.powerbi.com/v1.0/myorg/availableFeatures(featureName='embedTrial') API, passing the bearer token in the Authorization header. but get an error message saying the server isn't responding.
Here's the request as intercepted in the Postman Console :
I'm assuming you need to pass other parameters like a client_id or the AD Tenant ID but cannot find anything in the documentation nor any examples of the correct syntax.
Any help would be greatly appreciated.
Franck
@franck_axires - This is not exactly what you are asking, but I used the PowerShell cmdlets to avoid the authentication questions with PostMan. After getting PowerShell set up, you install the cmdlets with:
Install-Module -Name MicrosoftPowerBIMgmt
Then you can do an interactive login with the command. You have to follow a URL in the browser to do a device login.
Login-PowerBI
Then I ran this command to pull the available features value:
Invoke-PowerBIRestMethod -Url 'availableFeatures' -Method Get
My result looks like this:
{
"@odata.context":"http://wabi-us-east2-redirect.analysis.windows.net/v1.0/myorg/$metadata#Microsoft.PowerBI.ServiceContracts.Api.AvailableFeatures","features":[
{
"name":"cdsa","state":"Enabled","extendedState":"Enabled"
},{
"name":"embedTrial","state":"Enabled","extendedState":"Enabled","additionalInfo":{
"usage":75
}
},{
"name":"automaticallyPushAppToEndUsers","state":"Enabled","extendedState":"Enabled"
},{
"name":"publishAppToEntireOrganization","state":"Enabled","extendedState":"Enabled"
}
]
User | Count |
---|---|
10 | |
5 | |
4 | |
4 | |
3 |
User | Count |
---|---|
14 | |
9 | |
5 | |
5 | |
4 |