Forum Discussion
Company Portal Installation failing due to missing Microsoft.UI.Xaml.2.7
Dear All,
We are deploying Company Portal App as Microsoft Store app (new) from Intune on Hybrid Domain Joined devices. While some devices are successfull to install company portal, some device are failing.
I did review of events in, below locations subfolders.
- Event Viewer -->Applications and Services Logs --> Microsoft --> Windows --> Appx Deployment
- Event Viewer -->Applications and Services Logs --> Microsoft --> Windows --> Appx Deployment-Server.
- Event Viewer -->Applications and Services Logs --> Microsoft --> Windows --> Appx Deployment-Server-Undocked
- Event Viewer -->Applications and Services Logs --> Microsoft --> Windows --> AppxPackagingOM
During the review I found error 0x80073cf3: Package failed updates, dependency or conflict validation.
This is the reason for Company Portal App failed installation. This is due to lack of Microsoft.UI.Xaml.2.7 installed on the device.
If i execute below commands 1 after another in the command prompt, Installation of Company Portal gets succeeded.
Winget Install --accept-source-agreements --accept-package-agreements Microsoft.UI.Xaml.2.7
Winget Install --accept-source-agreements --accept-package-agreements Microsoft.CompanyPortal
My question is how can i add the Microsoft.UI.Xaml.2.7 as a dependency app for Company Portal App, especially when the app type is Microsoft Store app (new) ? I do not want to deploy Company Portal as win32 app and also deploy the Microsoft.UI.Xaml.2.7 as win32 app, because in this method of deployment i always have to create new win32app when a new version is released.
Does anyone came across same situation and have any thoughts ?
1 Reply
- Simone_TermineBrass Contributor
Microsoft.UI.Xaml.2.7 is a framework dependency (WinUI 2) and, in a perfect world, the Microsoft Store should detect that dependency and install it before Company Portal installs. That’s exactly how Store framework dependencies are meant to work.
The key part is your question about “adding it as a dependency” in Intune: with Microsoft Store app (new) you don’t get a “dependency chain” feature like you do for Win32 apps. Intune’s dependency feature is Win32-only, and even there it explicitly can’t depend on other app types (including Microsoft Store apps). So there isn’t a supported way to say “Company Portal depends on Microsoft.UI.Xaml.2.7” when both are Store apps.
What you can do (and what most people do in this scenario) is deploy Microsoft.UI.Xaml.2.7 and assign it as Required to the same device group(s) as Company Portal. It won’t guarantee strict install order, but in practice Intune will keep retrying and once the framework is present, Company Portal will install.
Take a look --> https://learn.microsoft.com/en-us/answers/questions/4186161/what-is-microsoft-ui-xaml-2-7-and-why-dont-i-have