Entitlement - Get Many Environment Entitlements
Get the entitlements for the tenant by environment.
GET https://api.powerplatform.com/licensing/environments/{environmentId}/entitlements?api-version=2024-10-01
GET https://api.powerplatform.com/licensing/environments/{environmentId}/entitlements?$filter={$filter}&api-version=2024-10-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
environment
|
path | True |
string |
The environment ID. |
|
api-version
|
query | True |
string |
The API version. |
|
$filter
|
query |
string |
OData filter expression. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
Success |
|
| 204 No Content |
No Content |
|
| 400 Bad Request |
Bad Request |
|
| 401 Unauthorized |
Unauthorized |
|
| 403 Forbidden |
Forbidden |
|
| 404 Not Found |
Not Found |
Security
oauth2
Microsoft Entra ID OAuth2
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize?resource=https://api.powerplatform.com
Scopes
| Name | Description |
|---|---|
| .default | .default |
Definitions
| Name | Description |
|---|---|
|
Allocation |
|
|
Allocation |
The type of an allocation enforcement rule. |
|
Catalog |
|
|
Currency |
The currency (capacity) type for an addon. |
|
Entitlement |
|
|
Entitlement |
|
|
Entitlement |
The consumption type for an entitlement. |
|
Entitlement |
|
|
Entitlement |
The unit of measure for an entitlement. |
|
Environment |
A BAP addon attached to an environment. |
|
Environment |
The capacity entitlement for an environment scope. |
|
Environment |
The disaster recovery location of the environment. |
|
Environment |
The disaster recovery state of the environment. |
|
Environment |
The entitlement capacity and pay-as-you-go details for an environment-scoped entitlement. |
|
Environment |
An entitlement and its capacity/pay-as-you-go details scoped to a single environment, including environment metadata. |
|
Environment |
A BAP permission on an environment. |
|
Environment |
The scenario of the environment. |
|
Environment |
The type of the environment. |
|
Overage |
The overage status of an entitled capacity. |
|
Product |
The product category associated with an entitlement. |
AllocationEnforcementRule
| Name | Type | Description |
|---|---|---|
| enabled |
boolean |
|
| ruleType |
The type of an allocation enforcement rule. |
AllocationEnforcementRuleTypes
The type of an allocation enforcement rule.
| Value | Description |
|---|---|
| NotSpecified | |
| Alert | |
| PayGo | |
| TenantPool | |
| Deny | |
| Throttle |
CatalogPayGoEntitlementModel
| Name | Type | Description |
|---|---|---|
| consumed | ||
| entitled |
CurrencyType
The currency (capacity) type for an addon.
| Value | Description |
|---|---|
| None | |
| AppPass | |
| AI | |
| PortalLogins | |
| PortalViews | |
| PerFlowPlan | |
| ApiCalls | |
| VAConversations | |
| AppPassForTeams | |
| PAUnattendedRPA | |
| PowerPagesAuthenticated | |
| PowerPagesAnonymous | |
| PAHostedRPA | |
| Invoice | |
| PortalAddOns | |
| PowerAutomatePerProcess | |
| MCSSessions | |
| MCSMessages | |
| SCMessages | |
| ProcessMiningDataStorage | |
| W365APAYGO | |
| Internal_AI_BC | |
| Internal_ISV_DataverseUserSync | |
| Internal_AI_TemporaryCapacity | |
| Internal_OmniChannelRecordRouting | |
| Internal_OmniChannelVoice | |
| Internal_OmniChannelLiveChat | |
| Internal_OmniChannelDigitalMessaging | |
| PowerPagesMigration_PortalAddOns_Authenticated | |
| PowerPagesMigration_PortalAddOns_Anonymous | |
| PowerPagesMigration_PortalLogins | |
| PowerPagesMigration_PortalViews | |
| MCSMessagesStandard | |
| MCSMessagesGenAI | |
| MCSMessagesUnbillable | |
| TenantM365Copilot |
EntitlementAllocationModelV2
| Name | Type | Description |
|---|---|---|
| autoAllocated |
number (double) |
|
| value |
number (double) |
EntitlementConsumedModel
| Name | Type | Description |
|---|---|---|
| consumptionType |
The consumption type for an entitlement. |
|
| lastUpdatedOn |
string (date-time) |
|
| value |
number (double) |
|
| writeOff |
number (double) |
EntitlementConsumptionType
The consumption type for an entitlement.
| Value | Description |
|---|---|
| NotSpecified | |
| Snapshot | |
| MonthToDate |
EntitlementEntitledModel
| Name | Type | Description |
|---|---|---|
| value |
number (double) |
EntitlementUnit
The unit of measure for an entitlement.
| Value | Description |
|---|---|
| NotSpecified | |
| MB | |
| Count | |
| Hour |
EnvironmentAddonResponseModel
A BAP addon attached to an environment.
| Name | Type | Description |
|---|---|---|
| addonType |
The currency (capacity) type for an addon. |
|
| addonUnit |
string |
|
| allocated |
number (double) |
EnvironmentCapacityEntitlementModel
The capacity entitlement for an environment scope.
| Name | Type | Description |
|---|---|---|
| allocated | ||
| availableQuantity |
number (double) |
|
| consumed | ||
| enforcementRules | ||
| status |
The overage status of an entitled capacity. |
EnvironmentDisasterRecoveryLocation
The disaster recovery location of the environment.
| Value | Description |
|---|---|
| NotSpecified | |
| NearCopy | |
| FarCopy |
EnvironmentDisasterRecoveryState
The disaster recovery state of the environment.
| Value | Description |
|---|---|
| NotSpecified | |
| Enabled | |
| Ready | |
| Disabled | |
| Unavailable |
EnvironmentEntitlementDetailServiceModel
The entitlement capacity and pay-as-you-go details for an environment-scoped entitlement.
| Name | Type | Description |
|---|---|---|
| capacity |
The capacity entitlement for an environment scope. |
|
| payGo | ||
| unit |
The unit of measure for an entitlement. |
EnvironmentEntitlementResponseModel
An entitlement and its capacity/pay-as-you-go details scoped to a single environment, including environment metadata.
| Name | Type | Description |
|---|---|---|
| addons |
The BAP addons attached to the environment. |
|
| cleanupOpportunitySize |
integer (int64) |
The total storage in bytes that could be reclaimed. |
| disasterRecoveryLocation |
The disaster recovery location of the environment. |
|
| disasterRecoveryState |
The disaster recovery state of the environment. |
|
| entitlement |
The entitlement capacity and pay-as-you-go details for an environment-scoped entitlement. |
|
| entitlementId |
string |
The entitlement ID. |
| environmentId |
string |
The environment ID. |
| environmentName |
string |
The environment name. |
| environmentType |
The type of the environment. |
|
| isManagedEnvironment |
boolean |
Indicates whether the environment is a managed environment. |
| location |
string |
The geographic location of the environment. |
| permissions |
The BAP permissions on the environment. |
|
| productCategories |
The entitlement product categories (e.g., D365Apps, Dataverse, Power Apps, Power Automate). |
|
| recommendationCount |
integer (int32) |
The number of active cleanup recommendations. |
| scenario |
The scenario of the environment. |
EnvironmentPermissionResponseModel
A BAP permission on an environment.
| Name | Type | Description |
|---|---|---|
| displayName |
string |
|
| name |
string |
EnvironmentScenario
The scenario of the environment.
| Value | Description |
|---|---|
| None | |
| OfficeAi | |
| M365CopilotChat | |
| M365CompliantContainer |
EnvironmentType
The type of the environment.
| Value | Description |
|---|---|
| None | |
| Production | |
| Sandbox | |
| Support | |
| Preview | |
| Trial | |
| Default | |
| Developer | |
| SubscriptionBasedTrial | |
| Teams | |
| NotSpecified | |
| Platform |
OverageStatus
The overage status of an entitled capacity.
| Value | Description |
|---|---|
| NotSpecified | |
| WithinCapacity | |
| Overage | |
| CoveredOverage |
ProductCategory
The product category associated with an entitlement.
| Value | Description |
|---|---|
| NotSpecified | |
| D365Apps | |
| Dataverse | |
| Fno | |
| PowerApps | |
| PowerAutomate | |
| PowerPages | |
| PowerVirtualAgent | |
| CopilotStudio | |
| PowerPlatform | |
| Project | |
| W365 | |
| D365CustomerInsights | |
| D365ContactCenter | |
| Teams | |
| CloudForSustainability | |
| CoWork | |
| M365 | |
| ManagedApps |