Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
- Latest
- 2026-04-01-preview
- 2026-03-01-preview
- 2026-01-01-preview
- 2025-11-01-preview
- 2025-10-10
- 2025-09-01-preview
- 2025-08-01-preview
- 2025-04-01-preview
- 2025-03-01-preview
- 2024-11-01-preview
- 2024-08-08-preview
- 2024-04-08-preview
- 2024-04-03
- 2024-03-06-preview
- 2024-01-16-preview
- 2023-11-01-preview
- 2023-10-04-preview
Bicep resource definition
The appAttachPackages resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.DesktopVirtualization/appAttachPackages resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.DesktopVirtualization/appAttachPackages@2024-04-03' = {
location: 'string'
name: 'string'
properties: {
failHealthCheckOnStagingFailure: 'string'
hostPoolReferences: [
'string'
]
image: {
certificateExpiry: 'string'
certificateName: 'string'
displayName: 'string'
imagePath: 'string'
isActive: bool
isPackageTimestamped: 'string'
isRegularRegistration: bool
lastUpdated: 'string'
packageAlias: 'string'
packageApplications: [
{
appId: 'string'
appUserModelID: 'string'
description: 'string'
friendlyName: 'string'
iconImageName: 'string'
rawIcon: any(...)
rawPng: any(...)
}
]
packageDependencies: [
{
dependencyName: 'string'
minVersion: 'string'
publisher: 'string'
}
]
packageFamilyName: 'string'
packageFullName: 'string'
packageName: 'string'
packageRelativePath: 'string'
version: 'string'
}
keyVaultURL: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.DesktopVirtualization/appAttachPackages
| Name | Description | Value |
|---|---|---|
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Min length = 3 Max length = 100 Pattern = ^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$ (required) |
| properties | Detailed properties for App Attach Package | AppAttachPackageProperties (required) |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
AppAttachPackageInfoProperties
| Name | Description | Value |
|---|---|---|
| certificateExpiry | Date certificate expires, found in the appxmanifest.xml. | string |
| certificateName | Certificate name found in the appxmanifest.xml. | string |
| displayName | User friendly Name to be displayed in the portal. | string |
| imagePath | VHD/CIM image path on Network Share. | string |
| isActive | Make this version of the package the active one across the hostpool. | bool |
| isPackageTimestamped | Is package timestamped so it can ignore the certificate expiry date | 'NotTimestamped' 'Timestamped' |
| isRegularRegistration | Specifies how to register Package in feed. | bool |
| lastUpdated | Date Package was last updated, found in the appxmanifest.xml. | string |
| packageAlias | Alias of App Attach Package. Assigned at import time | string |
| packageApplications | List of package applications. | MsixPackageApplications[] |
| packageDependencies | List of package dependencies. | MsixPackageDependencies[] |
| packageFamilyName | Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. | string |
| packageFullName | Package Full Name from appxmanifest.xml. | string |
| packageName | Package Name from appxmanifest.xml. | string |
| packageRelativePath | Relative Path to the package inside the image. | string |
| version | Package version found in the appxmanifest.xml. | string |
AppAttachPackageProperties
| Name | Description | Value |
|---|---|---|
| failHealthCheckOnStagingFailure | Parameter indicating how the health check should behave if this package fails staging | 'DoNotFail' 'NeedsAssistance' 'Unhealthy' |
| hostPoolReferences | List of Hostpool resource Ids. | string[] |
| image | Detailed properties for App Attach Package | AppAttachPackageInfoProperties |
| keyVaultURL | URL path to certificate name located in keyVault | string |
MsixPackageApplications
| Name | Description | Value |
|---|---|---|
| appId | Package Application Id, found in appxmanifest.xml. | string |
| appUserModelID | Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml. | string |
| description | Description of Package Application. | string |
| friendlyName | User friendly name. | string |
| iconImageName | User friendly name. | string |
| rawIcon | the icon a 64 bit string as a byte array. | any |
| rawPng | the icon a 64 bit string as a byte array. | any |
MsixPackageDependencies
| Name | Description | Value |
|---|---|---|
| dependencyName | Name of package dependency. | string |
| minVersion | Dependency version required. | string |
| publisher | Name of dependency publisher. | string |
TrackedResourceTags
| Name | Description | Value |
|---|
ARM template resource definition
The appAttachPackages resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.DesktopVirtualization/appAttachPackages resource, add the following JSON to your template.
{
"type": "Microsoft.DesktopVirtualization/appAttachPackages",
"apiVersion": "2024-04-03",
"name": "string",
"location": "string",
"properties": {
"failHealthCheckOnStagingFailure": "string",
"hostPoolReferences": [ "string" ],
"image": {
"certificateExpiry": "string",
"certificateName": "string",
"displayName": "string",
"imagePath": "string",
"isActive": "bool",
"isPackageTimestamped": "string",
"isRegularRegistration": "bool",
"lastUpdated": "string",
"packageAlias": "string",
"packageApplications": [
{
"appId": "string",
"appUserModelID": "string",
"description": "string",
"friendlyName": "string",
"iconImageName": "string",
"rawIcon": {},
"rawPng": {}
}
],
"packageDependencies": [
{
"dependencyName": "string",
"minVersion": "string",
"publisher": "string"
}
],
"packageFamilyName": "string",
"packageFullName": "string",
"packageName": "string",
"packageRelativePath": "string",
"version": "string"
},
"keyVaultURL": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.DesktopVirtualization/appAttachPackages
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2024-04-03' |
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Min length = 3 Max length = 100 Pattern = ^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$ (required) |
| properties | Detailed properties for App Attach Package | AppAttachPackageProperties (required) |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
| type | The resource type | 'Microsoft.DesktopVirtualization/appAttachPackages' |
AppAttachPackageInfoProperties
| Name | Description | Value |
|---|---|---|
| certificateExpiry | Date certificate expires, found in the appxmanifest.xml. | string |
| certificateName | Certificate name found in the appxmanifest.xml. | string |
| displayName | User friendly Name to be displayed in the portal. | string |
| imagePath | VHD/CIM image path on Network Share. | string |
| isActive | Make this version of the package the active one across the hostpool. | bool |
| isPackageTimestamped | Is package timestamped so it can ignore the certificate expiry date | 'NotTimestamped' 'Timestamped' |
| isRegularRegistration | Specifies how to register Package in feed. | bool |
| lastUpdated | Date Package was last updated, found in the appxmanifest.xml. | string |
| packageAlias | Alias of App Attach Package. Assigned at import time | string |
| packageApplications | List of package applications. | MsixPackageApplications[] |
| packageDependencies | List of package dependencies. | MsixPackageDependencies[] |
| packageFamilyName | Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. | string |
| packageFullName | Package Full Name from appxmanifest.xml. | string |
| packageName | Package Name from appxmanifest.xml. | string |
| packageRelativePath | Relative Path to the package inside the image. | string |
| version | Package version found in the appxmanifest.xml. | string |
AppAttachPackageProperties
| Name | Description | Value |
|---|---|---|
| failHealthCheckOnStagingFailure | Parameter indicating how the health check should behave if this package fails staging | 'DoNotFail' 'NeedsAssistance' 'Unhealthy' |
| hostPoolReferences | List of Hostpool resource Ids. | string[] |
| image | Detailed properties for App Attach Package | AppAttachPackageInfoProperties |
| keyVaultURL | URL path to certificate name located in keyVault | string |
MsixPackageApplications
| Name | Description | Value |
|---|---|---|
| appId | Package Application Id, found in appxmanifest.xml. | string |
| appUserModelID | Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml. | string |
| description | Description of Package Application. | string |
| friendlyName | User friendly name. | string |
| iconImageName | User friendly name. | string |
| rawIcon | the icon a 64 bit string as a byte array. | any |
| rawPng | the icon a 64 bit string as a byte array. | any |
MsixPackageDependencies
| Name | Description | Value |
|---|---|---|
| dependencyName | Name of package dependency. | string |
| minVersion | Dependency version required. | string |
| publisher | Name of dependency publisher. | string |
TrackedResourceTags
| Name | Description | Value |
|---|
Usage Examples
Terraform (AzAPI provider) resource definition
The appAttachPackages resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.DesktopVirtualization/appAttachPackages resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.DesktopVirtualization/appAttachPackages@2024-04-03"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
failHealthCheckOnStagingFailure = "string"
hostPoolReferences = [
"string"
]
image = {
certificateExpiry = "string"
certificateName = "string"
displayName = "string"
imagePath = "string"
isActive = bool
isPackageTimestamped = "string"
isRegularRegistration = bool
lastUpdated = "string"
packageAlias = "string"
packageApplications = [
{
appId = "string"
appUserModelID = "string"
description = "string"
friendlyName = "string"
iconImageName = "string"
rawIcon = ?
rawPng = ?
}
]
packageDependencies = [
{
dependencyName = "string"
minVersion = "string"
publisher = "string"
}
]
packageFamilyName = "string"
packageFullName = "string"
packageName = "string"
packageRelativePath = "string"
version = "string"
}
keyVaultURL = "string"
}
}
}
Property Values
Microsoft.DesktopVirtualization/appAttachPackages
| Name | Description | Value |
|---|---|---|
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Min length = 3 Max length = 100 Pattern = ^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$ (required) |
| properties | Detailed properties for App Attach Package | AppAttachPackageProperties (required) |
| tags | Resource tags | Dictionary of tag names and values. |
| type | The resource type | "Microsoft.DesktopVirtualization/appAttachPackages@2024-04-03" |
AppAttachPackageInfoProperties
| Name | Description | Value |
|---|---|---|
| certificateExpiry | Date certificate expires, found in the appxmanifest.xml. | string |
| certificateName | Certificate name found in the appxmanifest.xml. | string |
| displayName | User friendly Name to be displayed in the portal. | string |
| imagePath | VHD/CIM image path on Network Share. | string |
| isActive | Make this version of the package the active one across the hostpool. | bool |
| isPackageTimestamped | Is package timestamped so it can ignore the certificate expiry date | 'NotTimestamped' 'Timestamped' |
| isRegularRegistration | Specifies how to register Package in feed. | bool |
| lastUpdated | Date Package was last updated, found in the appxmanifest.xml. | string |
| packageAlias | Alias of App Attach Package. Assigned at import time | string |
| packageApplications | List of package applications. | MsixPackageApplications[] |
| packageDependencies | List of package dependencies. | MsixPackageDependencies[] |
| packageFamilyName | Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. | string |
| packageFullName | Package Full Name from appxmanifest.xml. | string |
| packageName | Package Name from appxmanifest.xml. | string |
| packageRelativePath | Relative Path to the package inside the image. | string |
| version | Package version found in the appxmanifest.xml. | string |
AppAttachPackageProperties
| Name | Description | Value |
|---|---|---|
| failHealthCheckOnStagingFailure | Parameter indicating how the health check should behave if this package fails staging | 'DoNotFail' 'NeedsAssistance' 'Unhealthy' |
| hostPoolReferences | List of Hostpool resource Ids. | string[] |
| image | Detailed properties for App Attach Package | AppAttachPackageInfoProperties |
| keyVaultURL | URL path to certificate name located in keyVault | string |
MsixPackageApplications
| Name | Description | Value |
|---|---|---|
| appId | Package Application Id, found in appxmanifest.xml. | string |
| appUserModelID | Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml. | string |
| description | Description of Package Application. | string |
| friendlyName | User friendly name. | string |
| iconImageName | User friendly name. | string |
| rawIcon | the icon a 64 bit string as a byte array. | any |
| rawPng | the icon a 64 bit string as a byte array. | any |
MsixPackageDependencies
| Name | Description | Value |
|---|---|---|
| dependencyName | Name of package dependency. | string |
| minVersion | Dependency version required. | string |
| publisher | Name of dependency publisher. | string |
TrackedResourceTags
| Name | Description | Value |
|---|