@Nithyanandham Singaravadivelu
Now I know about this issue.
You could only open the Exchange online related port. But, for Office 365 account, it may integrate with others Office 365 functions which used by Outlook client. I think the Exchange online could supported for most functions.
The Microsoft 365 Common and Office Online is used to Office Online Server (AKA OOS)
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.