I tried installing my blank UWP application using a provisioning package created in Windows Configuration Designer and it failed on the app installation step, but only on Windows 10 devices.
Event Viewer shows the following errors:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-DeviceManagement-Enterprise-Diagnostics-Provider" Guid="{3da494e4-0fe2-415c-b895-fb5265c5c83b}" />
<EventID>454</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2023-09-11T13:07:20.6255492Z" />
<EventRecordID>530</EventRecordID>
<Correlation ActivityID="{aa0f6db5-e229-0002-bd83-17aa29e2d901}" />
<Execution ProcessID="22272" ThreadID="10260" />
<Channel>Microsoft-Windows-DeviceManagement-Enterprise-Diagnostics-Provider/Admin</Channel>
<Computer>DESKTOP-3FRO1MJ</Computer>
<Security UserID="S-1-5-21-31226580-1671436924-1619110307-1001" />
</System>
- <EventData>
<Data Name="Message1">6dc10055-8071-40bc-bf0e-f48c4ef17aee</Data>
<Data Name="Message2">Provisioning</Data>
<Data Name="Message3">EnterpriseModernAppManagement</Data>
<Data Name="InternalCmdType">1</Data>
<Data Name="Message5">./device/Vendor/MSFT/EnterpriseModernAppManagement/AppInstallation/TestApplications</Data>
<Data Name="HexInt1">0x82aa0002</Data>
</EventData>
</Event>
MDM ConfigurationManager: Command failure status. Configuraton Source ID: (6dc10055-8071-40bc-bf0e-f48c4ef17aee), Enrollment Type: (Provisioning), CSP Name: (EnterpriseModernAppManagement), Command Type: (Add: from Replace or Add), Result: (./device/Vendor/MSFT/EnterpriseModernAppManagement/AppInstallation/TestApplications).
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-DeviceManagement-Enterprise-Diagnostics-Provider" Guid="{3da494e4-0fe2-415c-b895-fb5265c5c83b}" />
<EventID>2545</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2023-09-11T13:07:50.5302178Z" />
<EventRecordID>533</EventRecordID>
<Correlation />
<Execution ProcessID="17056" ThreadID="15372" />
<Channel>Microsoft-Windows-DeviceManagement-Enterprise-Diagnostics-Provider/Admin</Channel>
<Computer>DESKTOP-3FRO1MJ</Computer>
<Security UserID="S-1-5-18" />
</System>
- <EventData>
<Data Name="Message1">checkNewInstanceData</Data>
<Data Name="Message2">Read isNewInstanceData</Data>
<Data Name="HRESULT">0x80070057</Data>
</EventData>
</Event>
MDM Declared Configuration: Function (checkNewInstanceData) operation (Read isNewInstanceData) failed with (The parameter is incorrect.)
I tried it on several devices with Windows 10 on it, every device shows this or similar errors with 0x82aa0002 and 0x80070057 error codes.
Windows 11 devices install this application successfully via the provisioning package. All devices I tested were able to install the application via the msixbundle, which is used when adding the application to the provisioning package.
The application is just a Blank App (Universal Windows) created with a Visual Studio template.
Windows 11 device:
Edition Windows 11 Home
Version 22H2
Installed on 05/02/2023
OS build 22621.2134
Experience Windows Feature Experience Pack 1000.22659.1000.0
Windows 10 device:
Edition Windows 10 Pro
Version 22H2
Installed on 7/11/2023
OS build 19045.3393
Experience Windows Feature Experience Pack 1000.19044.1000