none
Error while installing office 365 in Windows docker container. - Wrong username and password. RRS feed

  • Question

  • Am trying to install office 365 in windows container. I have office trail version for a month.

    Below is my dockerfile:

    FROM mcr.microsoft.com/windows/servercore:ltsc2019

    ADD https://download.microsoft.com/download/2/7/A/27AF1BE6-DD20-4CB4-B154-EBAB8A7D4A7E/officedeploymenttool_11901-20022.exe C:

    RUN C:\officedeploymenttool_11901-20022.exe /quiet /passive /extract:C:

    COPY Setup.exe c:/temp/

    COPY configuration1.xml c:/temp/

    RUN Setup.exe /configure configuration1.xml

    ENTRYPOINT powershell

    It fails at setup.exe stage, stating wrong username and password.

    Below is my configuration.xml:

    <?xml version="1.0"?>

    -<Configuration ID="85****9c-59d5-4526-809e-f14*****1dc">

    -<Add ForceUpgrade="TRUE" Channel="Broad" OfficeClientEdition="64">

    -<Product ID="O365ProPlusRetail">

    <Language ID="en-us"/>

    <ExcludeApp ID="Groove"/>

    <ExcludeApp ID="OneNote"/>

    </Product>

    </Add>

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

    <Property Value="TRUE" Name="PinIconsToTaskbar"/>

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

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

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

    <Updates Enabled="TRUE"/>

    <RemoveMSI/>

    -<AppSettings>

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

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

    </AppSettings>

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

    <Logging Level="Standard" Path="C:\log.txt"/>

    </Configuration>

    Tuesday, August 13, 2019 6:06 AM