@Martijn Kools Adding more information to the above response!
The first issue is related to accessing the SMB share from the AVD session hosts, and the second issue is related to accessing the MSIX application metadata from the storage account.
For the first issue, it's possible that the LocalSystem account does not have the necessary permissions to access the SMB share. When you open a CMD as LocalSystem, it uses the LocalSystem account to authenticate to the SMB share. Make sure that the LocalSystem account has the necessary permissions to access the SMB share. You can also try using a different account to authenticate to the SMB share to see if that resolves the issue.
For the second issue, it's possible that there is an issue with the MSIX application metadata or the storage account. Check the storage account to ensure that the virtual disk is present and accessible. You can also try accessing the virtual disk directly from the Session Host to see if there are any issues with the network or authentication.
The error message you are seeing indicates that there was an issue accessing the virtual disk for the MSIX application metadata. The error message specifically mentions that there was an issue accessing the virtual disk at \\saseapocavd01.file.core.windows.net\msix\FRF-P_1.0.0.0_x64__rt6ps99bwbnfa.vhdx
.
Here are some possible causes and solutions for this issue:
Network connectivity issue: The error message indicates that there was an issue accessing the virtual disk over the network. Check your network connectivity to ensure that you can access the file share at \\saseapocavd01.file.core.windows.net
. You can also try accessing the virtual disk directly from the Session Host to see if there are any issues with the network.
Authentication issue: The error message indicates that there was an issue accessing the virtual disk due to authentication. Check your authentication settings to ensure that the Session Hosts have the necessary permissions to access the file share. You can also try accessing the virtual disk directly from the Session Host to see if there are any issues with authentication.
File share issue: The error message indicates that there was an issue accessing the virtual disk on the file share. Check the file share to ensure that the virtual disk is present and accessible. You can also try accessing the virtual disk directly from the file share to see if there are any issues with the file share.
- MSIX application issue: The error message indicates that there was an issue with the MSIX application metadata. Check the MSIX application to ensure that it is properly configured and deployed. You can also try redeploying the MSIX application to see if that resolves the issue.
Here are some steps you can take to troubleshoot and potentially resolve the issue:
Check SMB Share Permissions: Ensure that the SMB share on your DC has the correct permissions. Confirm that the AVD session hosts have been added as SMB storage contributors with the appropriate access rights.
Verify NTFS Permissions: Double-check the NTFS permissions on the shared folder. Ensure that computer accounts associated with AVD session hosts have the necessary read and write permissions.
Network Connectivity: Confirm that there are no network connectivity issues between the AVD session hosts and the SMB share. Check for any firewalls, network policies, or routing issues that might affect connectivity.
LocalSystem Account Permissions: Ensure that the LocalSystem account on the AVD session hosts has the necessary permissions to access the SMB share. This might involve adjusting NTFS permissions specifically for the LocalSystem account.
MSIX Package Integrity: Verify the integrity of the MSIX package you are trying to access. Ensure that it's not corrupted and can be successfully opened and accessed.
Storage Account Configuration: Check the configuration of your Azure Storage Account. Ensure that the account is properly configured, and there are no issues with the storage itself.
- Logs and Diagnostics: Examine logs and diagnostics on both the AVD session hosts and the DC. Look for any error messages or events that might provide more details about the issue.
If the issue persists, you may need to redeploy the MSIX application or contact Microsoft support for further assistance.