Answering this a bit late, for future reference - no problem to have your Moodle instance hosted in AWS, Linux server to use the Office 365 integration. The two are not connected.
Moodle office tool integrations
Office 365 integration - Must be Moodle hosted into Azure
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.