Facebook Inc. has signed a deal to use Microsoft Corp.’s online email and other software, even as it develops its own workplace communication and collaboration service.

On Tuesday, Facebook is expected to announce plans to use Microsoft’s Office 365, the web-based version of the software giant’s suite of workplace productivity programs. Facebook previously used the on-premises versions.

The...