Install 0365 by xml - macmiester/luci GitHub Wiki
On a Microsoft Windows Terminal Server Process: Download and install Office Configuration Tool from Microsoft.com Once incstalled, configure the installconfiglocal.xml file (use Notepad++) Open an Admin Command Prompt and CD to directory containing installer. Run the following 2 commands to completion. setup.exe /download installconfiglocal.xml setup.exe /configure installconfig.xml
Excellent resource: Deploy 0365 on RDS