Skip to content

Commit afee504

Browse files
authored
Merge pull request #263063 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-docs (branch main)
2 parents 1b55bc2 + 365314c commit afee504

File tree

2 files changed

+25
-24
lines changed

2 files changed

+25
-24
lines changed

articles/azure-resource-manager/bicep/file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ See [Arrays](./data-types.md#arrays) and [Objects](./data-types.md#objects) for
405405
## Known limitations
406406

407407
* No support for the concept of apiProfile, which is used to map a single apiProfile to a set apiVersion for each resource type.
408-
* No support for user-defined functions.
408+
* User-defined functions are not supported at the moment. However, an experimental feature is currently accessible. For more information, see [User-defined functions in Bicep](./user-defined-functions.md).
409409
* Some Bicep features require a corresponding change to the intermediate language (Azure Resource Manager JSON templates). We announce these features as available when all of the required updates have been deployed to global Azure. If you're using a different environment, such as Azure Stack, there may be a delay in the availability of the feature. The Bicep feature is only available when the intermediate language has also been updated in that environment.
410410

411411
## Next steps

articles/virtual-desktop/app-attach-setup.md

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,15 @@ In order to use MSIX app attach in Azure Virtual Desktop, you need to meet the p
9494
- If you want to use Azure PowerShell locally, see [Use Azure PowerShell with Azure Virtual Desktop](cli-powershell.md) to make sure you have the [Az.DesktopVirtualization](/powershell/module/az.desktopvirtualization) and [Microsoft Graph](/powershell/microsoftgraph/installation) PowerShell modules installed. Alternatively, use the [Azure Cloud Shell](../cloud-shell/overview.md).
9595

9696
::: zone pivot="app-attach"
97-
- You need to use version 4.2.0 or later of the *Az.DesktopVirtualization* PowerShell module, which contains the cmdlets that support app attach. You can download and install the Az.DesktopVirtualization PowerShell module from the [PowerShell Gallery](https://www.powershellgallery.com/packages/Az.DesktopVirtualization/).
97+
- You need to use version 4.2.1 of the *Az.DesktopVirtualization* PowerShell module, which contains the cmdlets that support app attach. You can download and install the Az.DesktopVirtualization PowerShell module from the [PowerShell Gallery](https://www.powershellgallery.com/packages/Az.DesktopVirtualization/).
9898
::: zone-end
9999

100100
::: zone pivot="app-attach"
101101
> [!IMPORTANT]
102102
>
103103
> - All MSIX and Appx application packages include a certificate. You're responsible for making sure the certificates are trusted in your environment. Self-signed certificates are supported with the appropriate chain of trust.
104104
>
105-
> - You have to choose whether you want to use MSIX app attach or app attach with a host pool. You can't use both versions with the same host pool.
105+
> - You have to choose whether you want to use MSIX app attach or app attach with a host pool. You can't use both versions with the same package in the same host pool.
106106
::: zone-end
107107

108108
::: zone pivot="msix-app-attach"
@@ -192,12 +192,13 @@ Here's how to add an MSIX or Appx image as an app attach package using the [Az.D
192192
Your output should be similar to the following output:
193193

194194
```output
195-
CommandType Name Version Source
196-
----------- ---- ------- ------
197-
Function Get-AzWvdAppAttachPackage 4.2.0 Az.DesktopVirtualization
198-
Function New-AzWvdAppAttachPackage 4.2.0 Az.DesktopVirtualization
199-
Function Remove-AzWvdAppAttachPackage 4.2.0 Az.DesktopVirtualization
200-
Function Update-AzWvdAppAttachPackage 4.2.0 Az.DesktopVirtualization
195+
CommandType Name Version Source
196+
----------- ---- ------- ------
197+
Function Get-AzWvdAppAttachPackage 4.2.1 Az.DesktopVirtualization
198+
Function Import-AzWvdAppAttachPackageInfo 4.2.1 Az.DesktopVirtualization
199+
Function New-AzWvdAppAttachPackage 4.2.1 Az.DesktopVirtualization
200+
Function Remove-AzWvdAppAttachPackage 4.2.1 Az.DesktopVirtualization
201+
Function Update-AzWvdAppAttachPackage 4.2.1 Az.DesktopVirtualization
201202
```
202203

203204
3. Get the properties of the image you want to add and store them in a variable by running the following command. You need to specify a host pool, but it can be any host pool where session hosts have access to the file share.
@@ -207,10 +208,10 @@ Here's how to add an MSIX or Appx image as an app attach package using the [Az.D
207208
$parameters = @{
208209
HostPoolName = '<HostPoolName>'
209210
ResourceGroupName = '<ResourceGroupName>'
210-
Uri = '<UNCPathToImageFile>'
211+
Path = '<UNCPathToImageFile>'
211212
}
212213
213-
$app = Expand-AzWvdMsixImage @parameters
214+
$app = Import-AzWvdAppAttachPackageInfo @parameters
214215
```
215216

216217
4. Check you only have one object in the application properties by running the following command:
@@ -229,10 +230,10 @@ Here's how to add an MSIX or Appx image as an app attach package using the [Az.D
229230
$parameters = @{
230231
HostPoolName = '<HostPoolName>'
231232
ResourceGroupName = '<ResourceGroupName>'
232-
Uri = '<UNCPathToImageFile>'
233+
Path = '<UNCPathToImageFile>'
233234
}
234235
235-
$app = Expand-AzWvdMsixImage @parameters | ? PackageFullName -like *$packageFullName*
236+
$app = Import-AzWvdAppAttachPackageInfo @parameters | ? ImagePackageFullName -like *$packageFullName*
236237
```
237238

238239
5. Add the image as an app attach package by running the following command. In this example, the [application state](app-attach-overview.md#application-state) is marked as *active*, the [application registration](app-attach-overview.md#application-registration) is set to **on-demand**, and [session host health check status](troubleshoot-statuses-checks.md) on failure is set to **NeedsAssistance**:
@@ -243,12 +244,12 @@ Here's how to add an MSIX or Appx image as an app attach package using the [Az.D
243244
ResourceGroupName = '<ResourceGroupName>'
244245
Location = '<AzureRegion>'
245246
FailHealthCheckOnStagingFailure = 'NeedsAssistance'
246-
IsLogonBlocking = $false
247-
DisplayName = '<AppDisplayName>'
248-
IsActive = $true
247+
ImageIsRegularRegistration = $false
248+
ImageDisplayName = '<AppDisplayName>'
249+
ImageIsActive = $true
249250
}
250251
251-
New-AzWvdAppAttachPackage -ImageObject $app @parameters
252+
New-AzWvdAppAttachPackage -AppAttachPackage $app @parameters
252253
```
253254

254255
There's no output when the package is added successfully.
@@ -593,14 +594,15 @@ Here's how to update an existing package using the [Az.DesktopVirtualization](/p
593594
1. In the same PowerShell session, get the properties of the updated application and store them in a variable by running the following command:
594595

595596
```azurepowershell
597+
596598
# Get the properties of the application
597599
$parameters = @{
598600
HostPoolName = '<HostPoolName>'
599601
ResourceGroupName = '<ResourceGroupName>'
600-
Uri = '<UNCPathToImageFile>'
602+
Path = '<UNCPathToImageFile>'
601603
}
602604
603-
$app = Expand-AzWvdMsixImage @parameters
605+
$app = Import-AzWvdAppAttachPackageInfo @parameters
604606
```
605607

606608
1. Check you only have one object in the application properties by running the following command:
@@ -619,10 +621,10 @@ Here's how to update an existing package using the [Az.DesktopVirtualization](/p
619621
$parameters = @{
620622
HostPoolName = '<HostPoolName>'
621623
ResourceGroupName = '<ResourceGroupName>'
622-
Uri = '<UNCPathToImageFile>'
624+
Path = '<UNCPathToImageFile>'
623625
}
624626
625-
$app = Expand-AzWvdMsixImage @parameters | ? PackageFullName -like *$packageFullName*
627+
$app = Import-AzWvdAppAttachPackageInfo @parameters | ? ImagePackageFullName -like *$packageFullName*
626628
```
627629

628630
1. Update an existing package by running the following command. The new disk image supersedes the existing one, but existing assignments are kept. Don't delete the existing image until users have stopped using it.
@@ -631,10 +633,9 @@ Here's how to update an existing package using the [Az.DesktopVirtualization](/p
631633
$parameters = @{
632634
Name = '<PackageName>'
633635
ResourceGroupName = '<ResourceGroupName>'
634-
Location = '<AzureRegion>'
635636
}
636637
637-
Update-AzWvdAppAttachPackage -ImageObject $app @parameters
638+
Update-AzWvdAppAttachPackage -AppAttachPackage $app @parameters
638639
```
639640

640641
---
@@ -714,7 +715,7 @@ Here's how to add an MSIX package using the [Az.DesktopVirtualization](/powershe
714715
715716
[!INCLUDE [include-cloud-shell-local-powershell](includes/include-cloud-shell-local-powershell.md)]
716717

717-
2. Get the properties of the application in the MSI image you want to add and store them in a variable by running the following command:
718+
2. Get the properties of the application in the MSIX image you want to add and store them in a variable by running the following command:
718719

719720
```azurepowershell
720721
# Get the properties of the MSIX image

0 commit comments

Comments
 (0)