Step 5. Run ‘cmd’ as administrator and CD to the folder you used for extracting the files.

type: setup.exe /download configuration.xml

The Office365 files will now be downloaded.

Step 6. When that’s complete run the next command:
setup.exe /configure configuration.xml

Step 7. When this command is complete Offce365 is installed on your terminal server.

Step 8. Make sure every user that should be using Office 365 has an active license in the Office 365 control panel.
Once you start Office365 on the server the program will come up with an activation screen, log in with the users credentials and you are ready to go!