Applications - Get Environment Application Package
Get list of application packages that are available for installation in a target environment.
GET https://api.powerplatform.com/appmanagement/environments/{environmentId}/applicationPackages?api-version=2022-03-01-preview
GET https://api.powerplatform.com/appmanagement/environments/{environmentId}/applicationPackages?appInstallState={appInstallState}&lcid={lcid}&api-version=2022-03-01-preview
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
environment
|
path | True |
|
Environment ID (not to be confused with Org ID) |
api-version
|
query | True |
|
The API version |
app
|
query |
|
Application Package Install State |
|
lcid
|
query |
|
Application Package Supported Language ID |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Success |
|
400 Bad Request |
Bad Request |
|
401 Unauthorized |
Unauthorized |
|
403 Forbidden |
Forbidden |
Security
oauth2
Azure Active Directory OAuth2
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize?resource=https://api.powerplatform.com
Token URL:
https://login.microsoftonline.com/common/oauth2/token
Definitions
Application |
|
Application |
|
Application |
Application Visibility |
Catalog |
CatalogVisibility for application |
Error |
|
Instance |
State of instance package |
ApplicationPackage
Name | Type | Description |
---|---|---|
applicationDescription |
|
Application description |
applicationId |
|
Application ID |
applicationName |
|
Application name |
applicationVisibility |
Application Visibility |
|
catalogVisibility |
CatalogVisibility for application |
|
customHandleUpgrade |
|
AvailablePackage CustomUpgrade |
endDateUtc |
|
End date for applicationPackage |
id |
|
AvailablePackage Id or InstancePackage PackageId, both maps to ApplicationPackageId |
instancePackageId |
|
InstancePackage Id, used only for retry of package installation ie, Reinstall. |
lastError | ||
learnMoreUrl |
|
Learn more URL for the application |
localizedDescription |
|
LocalizedDescription for the application package |
localizedName |
|
Localized name of application package |
platformMaxVersion |
|
AvailablePackage CrmMaxVersion |
platformMinVersion |
|
AvailablePackage CrmMinVersion |
publisherId |
|
Publisher ID |
publisherName |
|
Publisher name |
singlePageApplicationUrl |
|
Single Page Application URL associated with the application |
startDateUtc |
|
Start date for applicationPackage |
state |
State of instance package |
|
supportedCountries |
|
List of supported countries for the application |
uniqueName |
|
AvailablePackage UniqueName or InstancePackage PackageUniqueName |
version |
|
AvailablePackage Version or InstancePackage PackageVersion |
ApplicationPackageContinuationResponse
Name | Type | Description |
---|---|---|
@odata.nextLink |
|
|
value |
ApplicationVisibility
Application Visibility
Name | Type | Description |
---|---|---|
All |
|
|
BapAdminCenter |
|
|
CrmAdminCenter |
|
|
None |
|
|
OneAdminCenter |
|
CatalogVisibility
CatalogVisibility for application
Name | Type | Description |
---|---|---|
AdminCenter |
|
|
All |
|
|
None |
|
|
Teams |
|
ErrorDetails
Name | Type | Description |
---|---|---|
errorCode |
|
ErrorCode from CDS |
errorName |
|
Error Name |
message |
|
Error message |
source |
|
Source of the error |
statusCode |
|
Status code for error |
type |
|
Error Type |
InstancePackageState
State of instance package
Name | Type | Description |
---|---|---|
InstallFailed |
|
|
InstallRequested |
|
|
InstallRetrying |
|
|
InstallScheduled |
|
|
Installed |
|
|
Installing |
|
|
None |
|
|
TemplateInstalled |
|
|
UninstallFailed |
|
|
UninstallRequested |
|
|
Uninstalled |
|
|
Uninstalling |
|