Azure Files and Remote Desktop Service Profile Disk Help (Entra Domain Connected)

Job ID: 37598317

Budget: $50 – $0 USD

Hi, I'm looking for some help in Azure configuring FSLogix, Remote Desktop Servers (on an Azure 2022 win server). All all connected to an Entra Domain Services. The FSLogix app is installed as well on the server VM.

For security purposes, I can provide remote access to a VM using Teamviewer or similar that will have access to the Azure and Entra Admin areas via web browser.

I have RDS Installed, the Azure Files Storage container setup with the file share. I can map the file share from the server VM no problem.

When I try to create a profile disk on in the RDS collection settings, I get the following error: Unable to enable user disks on UserVHDShare. Could not create the template VHD. Error Message: Unable to connect to WMI on server xxxxx.file.core.windows.net, error The RPC server is unavailable.
(screenshot attached)

Also For FSLogix I followed the instructions from this document: https://learn.microsoft.com/en-us/azure/virtual-desktop/fslogix-profile-container-configure-azure-files-active-directory

Everything worked until I needed to run this command:

$regPath = "HKLM:\SOFTWARE\FSLogix\profiles"
New-ItemProperty -Path $regPath -Name Enabled -PropertyType DWORD -Value 1 -Force
New-ItemProperty -Path $regPath -Name VHDLocations -PropertyType MultiString -Value \\*removed*.file.core.windows.net\*removed* -Force

When running the above command I get a long error that starts with:

-Value : The term '-Value' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:3 char:1
+ -Value 1 -Force New-ItemProperty -Path $regPath -Name VHDLocations -P ...
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (-Value:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

MultiString : The term 'MultiString' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:4 char:1
+ MultiString -Value \\***.file.core.windows.net\****
+ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (MultiString:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

Then will need a bit of help making sure this all works when fixed.

Looking for someone that can help within the next few hours.

Thanks!