[SOLVED] Error installing package tis-microsoft-teams-uwp

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
erems
Messages: 46
Registration: Apr 25, 2023 - 3:52 p.m.

January 27, 2026 - 5:07 PM

Good morning,

Some computers are experiencing an error when installing the latest package tis-microsoft-teams-uwp 25332.1210.4188.1171-69

The error seems very similar to the one in this thread: viewtopic.php?t=3804

Code: Select all

Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 1260, in run_powershell
    result = run(cmd,
  File "C:\Program Files (x86)\wapt\waptutils.py", line 2263, in run
    raise CalledProcessErrorOutput(proc.returncode, cmd, ''.join(output))
waptutils.CalledProcessErrorOutput: Command '"C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -OutputFormat text -EncodedCommand "JABQAHIAbwBnAHIAZQBzAHMAUAByAGUAZgBlAHIAZQBuAGMAZQAgAD0AIAAiAFMAaQBsAGUAbgB0AGwAeQBDAG8AbgB0AGkAbgB1AGUAIgAKAEEAZABkAC0AQQBwAHAAeABQAHIAbwB2AGkAcwBpAG8AbgBlAGQAUABhAGMAawBhAGcAZQAgAC0ATwBuAGwAaQBuAGUAIAAtAFAAYQBjAGsAYQBnAGUAUABhAHQAaAAgACIATQBTAFQAZQBhAG0AcwAtAHgANgA0AC4AbQBzAGkAeAAiACAALQBTAGsAaQBwAEwAaQBjAGUAbgBzAGUAIAAgAHwAIABDAG8AbgB2AGUAcgB0AFQAbwAtAEoAcwBvAG4AIAA=" ' returned non-zero exit status 1.
Output:#< CLIXML
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><S S="Error">Add-AppxProvisionedPackage : Échec de Add-AppxProvisionedPackage. Code d'erreur = 0xc1570118_x000D__x000A_</S><S S="Error">Au caractère Ligne:2 : 1_x000D__x000A_</S><S S="Error">+ Add-AppxProvisionedPackage -Online -PackagePath "MSTeams-x64.msix" -S ..._x000D__x000A_</S><S S="Error">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S="Error">    + CategoryInfo          : NotSpecified: (:) [Add-AppxProvisionedPackage], COMException_x000D__x000A_</S><S S="Error">    + FullyQualifiedErrorId : Microsoft.Dism.Commands.AddAppxProvisionedPackageCommand_x000D__x000A_</S><S S="Error"> _x000D__x000A_</S></Objs>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\common.py", line 4455, in install_wapt
    exitstatus = setup.install()
  File "C:\temp\waptjrb38bp8\setup.py", line 27, in install
  File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 1263, in run_powershell
    raise CalledProcessErrorOutput(e.returncode, cmd, e.output)
waptutils.CalledProcessErrorOutput: Command '"C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -OutputFormat text -EncodedCommand "JABQAHIAbwBnAHIAZQBzAHMAUAByAGUAZgBlAHIAZQBuAGMAZQAgAD0AIAAiAFMAaQBsAGUAbgB0AGwAeQBDAG8AbgB0AGkAbgB1AGUAIgAKAEEAZABkAC0AQQBwAHAAeABQAHIAbwB2AGkAcwBpAG8AbgBlAGQAUABhAGMAawBhAGcAZQAgAC0ATwBuAGwAaQBuAGUAIAAtAFAAYQBjAGsAYQBnAGUAUABhAHQAaAAgACIATQBTAFQAZQBhAG0AcwAtAHgANgA0AC4AbQBzAGkAeAAiACAALQBTAGsAaQBwAEwAaQBjAGUAbgBzAGUAIAAgAHwAIABDAG8AbgB2AGUAcgB0AFQAbwAtAEoAcwBvAG4AIAA=" ' returned non-zero exit status 1.
Output:#< CLIXML
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><S S="Error">Add-AppxProvisionedPackage : Échec de Add-AppxProvisionedPackage. Code d'erreur = 0xc1570118_x000D__x000A_</S><S S="Error">Au caractère Ligne:2 : 1_x000D__x000A_</S><S S="Error">+ Add-AppxProvisionedPackage -Online -PackagePath "MSTeams-x64.msix" -S ..._x000D__x000A_</S><S S="Error">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S="Error">    + CategoryInfo          : NotSpecified: (:) [Add-AppxProvisionedPackage], COMException_x000D__x000A_</S><S S="Error">    + FullyQualifiedErrorId : Microsoft.Dism.Commands.AddAppxProvisionedPackageCommand_x000D__x000A_</S><S S="Error"> _x000D__x000A_</S></Objs>

CalledProcessErrorOutput: Command '"C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -OutputFormat text -EncodedCommand "JABQAHIAbwBnAHIAZQBzAHMAUAByAGUAZgBlAHIAZQBuAGMAZQAgAD0AIAAiAFMAaQBsAGUAbgB0AGwAeQBDAG8AbgB0AGkAbgB1AGUAIgAKAEEAZABkAC0AQQBwAHAAeABQAHIAbwB2AGkAcwBpAG8AbgBlAGQAUABhAGMAawBhAGcAZQAgAC0ATwBuAGwAaQBuAGUAIAAtAFAAYQBjAGsAYQBnAGUAUABhAHQAaAAgACIATQBTAFQAZQBhAG0AcwAtAHgANgA0AC4AbQBzAGkAeAAiACAALQBTAGsAaQBwAEwAaQBjAGUAbgBzAGUAIAAgAHwAIABDAG8AbgB2AGUAcgB0AFQAbwAtAEoAcwBvAG4AIAA=" ' returned non-zero exit status 1.
Output:#< CLIXML
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><S S="Error">Add-AppxProvisionedPackage : Échec de Add-AppxProvisionedPackage. Code d'erreur = 0xc1570118_x000D__x000A_</S><S S="Error">Au caractère Ligne:2 : 1_x000D__x000A_</S><S S="Error">+ Add-AppxProvisionedPackage -Online -PackagePath "MSTeams-x64.msix" -S ..._x000D__x000A_</S><S S="Error">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S="Error">    + CategoryInfo          : NotSpecified: (:) [Add-AppxProvisionedPackage], COMException_x000D__x000A_</S><S S="Error">    + FullyQualifiedErrorId : Microsoft.Dism.Commands.AddAppxProvisionedPackageCommand_x000D__x000A_</S><S S="Error"> _x000D__x000A_</S></Objs>
Thank you for your help.
Best regards.
Last edited by erems on Feb 16, 2026 - 10:26, edited 1 time.
gadam
Messages: 23
Registration: Oct 30, 2025 - 2:46 p.m.

January 28, 2026 - 3:53 PM

Good morning,

I'm unable to reproduce your problem in my test environment. That said, error code 0xc1570118 seems to indicate that a previous installation or uninstallation did not complete successfully.

Can you try removing the package from a station with

Code: Select all

wapt-get remove nomdupaquet
or if there is no WAPT Teams package present, use the PowerShell command

Code: Select all

Remove-AppxProvisionedPackage -PackageName "MSTeams" -Online -AllUsers
Then restart the installation and keep us informed?

If this works, I will add the uninstallation before installation to the store package.

Sincerely
Gwenaël
erems
Messages: 46
Registration: Apr 25, 2023 - 3:52 p.m.

January 30, 2026 - 09:22

Hello,

after encountering the error on about sixty machines, I reverted to package version 25275.2601.4002.2815-68, which doesn't have the same issue.

I saw that a new version (26005.204.4249.1621) is in PREPROD on the store; I'll try again with that one and let you know.

Thank you.
erems
Messages: 46
Registration: Apr 25, 2023 - 3:52 p.m.

February 4, 2026 - 9:22 AM

Good morning,

I therefore have the same error with the new version of the package (26005.204.4249.1621).

Despite the WAPT installation error, the app was successfully reinstalled and is the latest version according to audit-appx. The app is also fully functional on the PC.

The uninstallation commands you suggested do not work.

If I try to uninstall package 25275.2601.4002.2815-68 from the console, I get an error:
error-teams-uwp.jpg
error-teams-uwp.jpg (51.71 KB) Viewed 8441 times
So there might be a problem with the information being sent to WAPT for this package (?)
erems
Messages: 46
Registration: Apr 25, 2023 - 3:52 p.m.

February 16, 2026 - 10:26

Hello,

to follow up, the issue has finally disappeared with version 26005.213.4315.4117-71 of the teams-uwp package.

I am therefore marking this as resolved.
Regards.
Locked