Intune Installation Problem

FCK 0 Zuverlässigkeitspunkte
2025-03-13T09:14:23.1166667+00:00

Hi there,

We have been trying to install MS365 apps for some time, but so far only partially successful...

Office 2019 was installed on the laptops via XML, we first tried it in Intune with the app ‘Install MS365 Apps’, but without success.

We then created our own .xml, the installation XML contains a line that deletes Office 2019 and then installs MS365, we installed this programme as a WIN32 app. It has worked on 4 computers, on all others there are fatal errors, e.g. : (0x80070643) and 0x8007426E, otherwise the programme is pending installation.

Here is the new installation xml script:

<Configuration ID="">

<Display Level="None" AcceptEULA="True"/>

<Property Name="FORCEAPPSHUTDOWN" Value="True"/>

<Remove>

<Product ID="Standard2019Volume"/>

</Remove>

<Info Description=""/>

<Add OfficeClientEdition="64" Channel="Current" MigrateArch="TRUE">

<Product ID="O365BusinessRetail">

<Language ID="de-de"/>

<ExcludeApp ID="Groove"/>

<ExcludeApp ID="Lync"/>

</Product>

<Product ID="VisioStd2019Volume" PIDKEY="">

<Language ID="de-de"/>

<ExcludeApp ID="Groove"/>

<ExcludeApp ID="Lync"/>

</Product>

</Add>

<Property Name="SharedComputerLicensing" Value="0"/>

<Property Name="FORCEAPPSHUTDOWN" Value="FALSE"/>

<Property Name="DeviceBasedLicensing" Value="0"/>

<Property Name="SCLCacheOverride" Value="0"/>

<Property Name="AUTOACTIVATE" Value="1"/>

<Updates Enabled="TRUE"/>

<RemoveMSI/>

<AppSettings>

<Setup Name="Company" Value=""/>

<User Key="software\microsoft\office\16.0\excel\options" Name="defaultformat" Value="51" Type="REG_DWORD" App="excel16" Id="L_SaveExcelfilesas"/>

<User Key="software\microsoft\office\16.0\powerpoint\options" Name="defaultformat" Value="27" Type="REG_DWORD" App="ppt16" Id="L_SavePowerPointfilesas"/>

<User Key="software\microsoft\office\16.0\word\options" Name="defaultformat" Value="" Type="REG_SZ" App="word16" Id="L_SaveWordfilesas"/>

</AppSettings>

<Display Level="Full" AcceptEULA="TRUE"/>

</Configuration>

The question now is how we can get Office 2019 uninstalled and MS365 installed in one go without the users noticing anything.

After 2 weeks and a lot of testing, we are very desperate ...

Lg Chris

Microsoft Intune
Microsoft Intune
Eine cloudbasierte Microsoft-Verwaltungslösung, die Funktionen für die Verwaltung mobiler Geräte und Anwendungen und die PC-Verwaltung bietet.
25 Fragen
0 Kommentare Keine Kommentare
{count} Stimmen

1 Antwort

Sortieren nach: Am hilfreichsten
  1. ZhoumingDuan-MSFT 16,525 Zuverlässigkeitspunkte Externe Microsoft-Mitarbeiter
    2025-03-14T02:46:41.75+00:00

    Hi, @FCK

    From your description, I know you want to uninstall Office 2019 and install MS365.

    To uninstall Office 2019, here is a PowerShell script you can refer to.

    $OfficePath = "C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeC2RClient.exe"

    if (Test-Path $OfficePath) {

    Start-Process -FilePath $OfficePath -ArgumentList "/update user displaylevel=false forceappshutdown=true updatetoversion=16.0.12527.20278" -Wait -NoNewWindow
    
    Start-Sleep -Seconds 10
    

    }

    Write-Output "Attempting Office uninstall..."

    $OfficeScrub = "C:\ProgramData\Microsoft\Office\OfficeScrub.cmd"

    Invoke-Expression -Command "$OfficeScrub ALL /quiet /norestart"

    Start-Sleep -Seconds 10

    Restart-Computer -Force

    You can test on your targeted device and upload it into Intune, then deploy it.

    https://learn.microsoft.com/en-us/mem/intune-service/apps/intune-management-extension

    For installing MS365, please first uninstall it and you can use the following xml to replace the same place in your xml and re-deploy it.

    <Configuration>

    <Display Level="None" AcceptEULA="TRUE"/>
    
    <Add OfficeClientEdition="64" Channel="Current">
    
        <Product ID="O365BusinessRetail">
    
            <Language ID="de-de"/>
    
            <ExcludeApp ID="Groove"/>
    
            <ExcludeApp ID="Lync"/>
    
        </Product>
    
    </Add>
    
    <Property Name="SharedComputerLicensing" Value="0"/>
    
    <Property Name="DeviceBasedLicensing" Value="0"/>
    
    <Property Name="AUTOACTIVATE" Value="1"/>
    
    <Updates Enabled="TRUE"/>
    
    <RemoveMSI/>
    

    </Configuration>

    Also, here is a link to troubleshoot error message.

    https://techuisitive.com/intune-win32-app-deployment-failed-with-error-code-0x80070643/

    Non-official, just for reference.

    Hope it can help you.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 Kommentare Keine Kommentare

Ihre Antwort

Fragesteller*innen können Antworten als akzeptierte Antworten markiert werden, wodurch Benutzer*innen wissen, dass diese Antwort das Problem gelöst hat.