Is it possible to install UWP application still in development on Windows 10 device via provisioning package?

Hryhorii_1 20 Reputation points
2023-09-11T13:18:54.5633333+00:00

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

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,195 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,988 questions
Microsoft Configuration Manager
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AllenLiu-MSFT 43,061 Reputation points Microsoft Vendor
    2023-09-12T07:10:16.2766667+00:00

    Hi, @Hryhorii_1

    Thank you for posting in Microsoft Q&A forum.

    The error codes you are seeing indicate that there is an issue with the provisioning package installation on Windows 10 devices. It is possible that the issue is related to the version of Windows 10 that you are using, as the package was successful on Windows 11 devices.

    You may want to check the version of Windows 10 on the devices where the installation failed and ensure that they meet the minimum requirements for the UWP app you are trying to install.

    Additionally, you may want to check the provisioning package settings to ensure that they are configured correctly for Windows 10 devices.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".