App installation failed: Company Portal (Error code: 0x8024001E)

Copper Contributor

Operating system: Windows 11 Enterprise

Operating system version: 10.0.22631.3737

Machine: Latitude 5540

 

Hi All,

 

I'm having trouble with one of our machines failing to install Company Portal.

Can you shed any light on this?

 

The error message from Managed Apps is:


App installation failed
18/06/2024 09:37:27
Hide details
Error code: 0x8024001E
Unknown

 

I've gone through the IntuneManagementExtension logs and can see these messages which relate to the Company Portal app ID "dc644022-cb6b-4c8a-b083-005392143a58"

 

[Win32App][WinGetApp][WinGetAppDetectionExecutor] Completed detection for app with id: dc644022-cb6b-4c8a-b083-005392143a58.
WinGet operation result:
Operation result = NotDetected
Installed version =
Reboot required = False
Installer Error code =
Extended error code =
Detection result:
Action status: Success
Detection state: NotDetected
Detected version:
Error code: IntuneManagementExtension 24/06/2024 10:10:01 21 (0x0015)


[Win32App] Toast message with: "C:\Program Files (x86)\Microsoft Intune Management Extension\agentexecutor.exe" -toast "ToastFailureMessage" "ODk3LU9TLUNvbXBhbnkgUG9ydGFs" "eyJDb21wYW55TmFtZSI6IkJyb3duIGFuZCBCcm93biwgSW5jIiwiQ29sb3JCYWNrZ3JvdW5kTG9nb1VyaSI6Imh0dHBzOi8vZmVmLm1zdWEwMS5tYW5hZ2UubWljcm9zb2Z0LmNvbS9Db250ZW50U2VydmljZS9TQ1NlcnZpY2UvQ29udGVudHMvYjBiMmQyNTgtOWM1YS00NDNjLWJiOTEtZTlmZGI1ZmE4YmZhIiwiV2hpdGVCYWNrZ3JvdW5kTG9nb1VyaSI6Imh0dHBzOi8vZmVmLm1zdWEwMS5tYW5hZ2UubWljcm9zb2Z0LmNvbS9Db250ZW50U2VydmljZS9TQ1NlcnZpY2UvQ29udGVudHMvMGE3NWZhYzUtYzE4NS00NTE3LWFiNWUtODkxNjY5ZDQwZWU3IiwiQWNjZW50Q29sb3IiOi0xNjc0NzgzNH0=" "0" IntuneManagementExtension 24/06/2024 10:10:01 21 (0x0015)


[Win32App][ReportingManager] Sending status to company portal based on report: {"ApplicationId":"dc644022-cb6b-4c8a-b083-005392143a58","ResultantAppState":2,"ReportingImpact":{"DesiredState":3,"Classification":2,"ConflictReason":0,"ImpactingApps":[]},"WriteableToStorage":true,"CanGenerateComplianceState":true,"CanGenerateEnforcementState":true,"IsAppReportable":true,"IsAppAggregatable":true,"AvailableAppEnforcementFlag":0,"DesiredState":2,"DetectionState":2,"DetectionErrorOccurred":false,"DetectionErrorCode":null,"ApplicabilityState":0,"ApplicabilityErrorOccurred":false,"ApplicabilityErrorCode":null,"EnforcementState":5000,"EnforcementErrorCode":-2145124322,"TargetingMethod":0,"TargetingType":2,"InstallContext":2,"Intent":3,"InternalVersion":1,"DetectedIdentityVersion":null,"RemovalReason":null} IntuneManagementExtension 24/06/2024 10:10:02 21 (0x0015)

 

 

[Win32App][WinGetApp][WinGetAppApplicabilityExecutor] Completed applicability check for app with id: dc644022-cb6b-4c8a-b083-005392143a58.
WinGet operation result:
Operation result = Ok
Installed version =
Reboot required = False
Installer Error code =
Extended error code =
Applicability result:
Action status: Success
Applicability state: Applicable
Applicability state message: Applicable
Error code: IntuneManagementExtension 24/06/2024 10:09:59 21 (0x0015)

 

[Win32App][WinGetApp][AppPackageManager] An error occurred during app install or upgrade.
Installer error code: -2145124322.
Exception: System.Exception: Exception from HRESULT: 0x8024001E. IntuneManagementExtension 24/06/2024 10:10:01 16 (0x0010)

 

[Win32App][WinGetApp][WinGetAppExecutionExecutor] Completed execution for app with id: dc644022-cb6b-4c8a-b083-005392143a58.
WinGet operation result:
Operation result = InstallError
Installed version =
Reboot required = False
Installer Error code = -2145124322
Extended error code = -2145124322
Execution result:
Action status: Failed
Enforcement state: Error
Reboot status: Clean
Error code: -2145124322 IntuneManagementExtension 24/06/2024 10:10:01 21 (0x0015)

 

 

3 Replies
Hi...

How are you installing the company portal? I assume it's the new Winget-based one. Or is it the latest beta one?
COuld you show us how you configured the install context. Is the install context set to user or system? (it should show in the properties of the company portal app)
Thanks for the reply. I ended up resetting the machine to start over and this time round the company portal installed.

Package Identifier: 9WZDNCRFJ3PZ
Installer Type: UWP
Install behavior: System

@Rudy_Ooms_MVP 
We're facing the same issue on Windows 11 V23H2 (Build 22631.3810) with Winget v1.2.10691. IT works fine on Windows 10 computers. I can install Company Portal manually from Microsoft Store but the Intune deployment fails on the same laptop with an error 0x00000000.

Publisher: Microsoft Corporation
Package Identifier: 9WZDNCRFJ3PZ
Installer Type: UWP
Install behavior: System
Category: No Category
 
[Win32App][ReportingManager] App with id: d5026456-5c08-412b-9257-2fae248bff00 and prior AppAuthority: V3 has been loaded and reporting state initialized. ReportingState: {"ApplicationId":"d5026456-5c08-412b-9257-2fae248bff00","ResultantAppState":null,"ReportingImpact":null,"WriteableToStorage":true,"CanGenerateComplianceState":true,"CanGenerateEnforcementState":true,"IsAppReportable":true,"IsAppAggregatable":true,"AvailableAppEnforcementFlag":0,"DesiredState":2,"DetectionState":2,"DetectionErrorOccurred":false,"DetectionErrorCode":null,"ApplicabilityState":0,"ApplicabilityErrorOccurred":false,"ApplicabilityErrorCode":null,"EnforcementState":5000,"EnforcementErrorCode":0,"TargetingMethod":0,"TargetingType":3,"InstallContext":2,"Intent":3,"InternalVersion":1,"DetectedIdentityVersion":null,"RemovalReason":null}