Skip to content

A functioning step by step guide using 'AVD App Attach' with Nerdio

Prerequisites

  • An Azure Tenant with Global Administrator or App Registration permission
  • An Azure Subscrition with owner permission
  • A Nerdio Manager for Enterprise Installation

1. Creating the Storage Account for use in App Attach images

To create a storage account for App Attach with Nerdio, is significantly easier than via the Azure Portal, because it manages a lot of settings for you. Having said that, there are still a few hoops to jump through.

INFO

You for sure can create a normal storage account with this Guide too.

  1. To create a storage account, open your Nerdio Dashboard and click on 'Storage -> Azure Files'.
drawing
  1. Then select 'Add Azure Files'.
drawing
  1. In the now appearing pop-up Window you first need to select that you want to use a new storage account.
  2. To do that, you do not open the drop-down-menu under 'Storage Account', you just enter your selected name and press 'Enter' on your keyboard.

WARNING

Remember that a storage account name needs to be unique in the world and adhere to the following restrictions.

  • between 3 and 24 characters in length
  • might contain numbers and lowercase letters only
  1. Further you can enter the descriptionand all other needed storrage account parameter like ressoucre group, location and performance tier.
  2. Important is that you check 'Share-level permissions' and select 'SMB Share Reader' (Contributor is not nessecary for App Attach).
  3. Also add the users or hostpool you want to use the Add Attach for.
  4. Now choose to join Entra ID, check the 'Assign NTFS-file-level permissions' option, select 'App Attach' and select further down 'enable SMB Multichannel'.
  5. When you now click 'OK' the storrage account will be created.
drawing

But to give everyone the nessecary permissions, there is still some work to do.

  1. Open the Entra ID portal and select 'Applications -> Enterprise Applications'.
drawing
  1. Click on the Filter for 'Application type' and select 'All Applications'.
drawing
  1. Now use the searchbar to find an app that starts with '[Storage Account]' and then your chosen unique name.
  2. Select this app and open the blade 'Permissions' on the right side.
  3. There you need to click the big blue button and grant admin consent to the app. This will enable it to make the connection for your users to the storage account.
drawing
  1. Next you need to open 'Protection -> Conditional Access' and select 'Policies' on the sub-blade.
  2. The next step depends on your environment. You need to add an exception for the above mentioned app to all your Conditional Access policies regarding your users.
drawing
  1. For the last step, open the Azure Portal and select 'Storage accounts'.
  2. Now open your created storage account and select the blade 'Access Control (IAM)'.
  3. Here you need to add the following three objects to the role 'Reader and Data Access'.
    • Azure Virtual Desktop (In old environments it could still be called 'Windows Virtual Desktop')
    • Azure Virtual Desktop ARM Provider
    • Azure Virtual Desktop Client
drawing

2. Add App Attach Package

  1. To create an app package, open your Nerdio Dashboard and click on 'Applications -> App Attach'.
drawing
  1. Now select 'Upload Image'.
drawing
  1. In the following pop-up window you enter the app name, version and select your previously created storage account.
  2. In addition you select the image file(s) and certificate.
  3. When you now click Upload the selected files will be copied for you to the storage account.
drawing
  1. Now on to adding the package in clicking 'Add App Attach Package'.
  2. Select all the nessecary parameter and a hostpool.

WARNING

Be aware that the selected location needs to be the same as the storage account.

drawing
  1. Click 'OK' and then the App Attach Package can be added like any other app to the hostpool.