Error- ActivityId: 0f4babe9-d940-43fe-868a-06141dee810a Error: The MSIX Application metadata expand request failed on all Session Hosts that it was sent to. Session Host: Azeus2pl1, Error: No signature was present in the subject. (Exception from HRESULT: 0x800B0100). (Code: 400)

Cause – MSIX app attach required package signing using valid certificate which is trusted by all session host under hostpool. if you have selected “no signing” during MSIX application packaging then you will get this error.

if the AppxSignature.p7x is missing from the MSIX package then definatly you will see this error.

if you are using self sign certificate and in case the certificate is not trusted on the AVD session host then you will see this error.

Solution – Signing is mandatory for MSIX package so make sure you have correct certificate while creating package. if you are using self-sign certificate in case of POC then you must generate correct certificate using below commands.

$cert = New-SelfSignedCertificate -CertStoreLocation Cert:\LocalMachine\My `
-DnsName "" -Type CodeSigningCert -Subject "" -Verbose
$secPassword = ConvertTo-SecureString -String '******' -Force -AsPlainText
$certPath = "Cert:\LocalMachine\My\$($Cert.Thumbprint)"
Export-PfxCertificate -Cert $certPath -FilePath 'C:\Users\Aruns\CodeSigning.pfx' -Password $secPassword

(Visited 189 times, 1 visits today)

By Arun Sabale

Arun is a Solution Architect on enterprise client management with more than 14 years of experience in IT. Arun Sabale is Blogger and tech enthusiast. His main focus is on Azure cloud infra, Cloud automation with powershell, python, ARM terraform and all cloud infra services like compute, storage, network, automation, function api etc... LinkedIN -