Available Features - Get Available Feature By Name
Returns the specified available feature for the user by name.
This API call doesn't require any scopes.
Permissions
This API call can be called by a service principal profile. For more information see: Service principal profiles in Power BI Embedded.
GET https://api.powerbi.com/v1.0/myorg/availableFeatures(featureName='{featureName}')
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
feature
|
path | True |
string |
The feature name |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
OK |
Examples
Example
Sample request
GET https://api.powerbi.com/v1.0/myorg/availableFeatures(featureName='embedTrial')
Sample response
{
"name": "embedTrial",
"state": "Enabled",
"extendedState": "Enabled",
"additionalInfo": {
"usage": 65
}
}
Definitions
| Name | Description |
|---|---|
|
Additional |
Additional feature information |
|
Available |
A Power BI available feature |
|
Feature |
The feature extended state |
|
Feature |
The feature state |
AdditionalFeatureInfo
Additional feature information
| Name | Type | Description |
|---|---|---|
| Usage |
integer |
Workspaces that aren't assigned to a capacity get a limited amount of embed tokens, to allow experimenting with the APIs. The |
AvailableFeature
A Power BI available feature
| Name | Type | Description |
|---|---|---|
| additionalInfo |
Additional feature information |
|
| extendedState |
The feature extended state |
|
| name |
string |
The feature name |
| state |
The feature state |
FeatureExtendedState
The feature extended state
| Value | Description |
|---|---|
| Enabled | |
| DisabledByAdmin | |
| UserNotLicensed |
FeatureState
The feature state
| Value | Description |
|---|---|
| Enabled | |
| Disabled |