Dear All,
If you are working for any company then Server Settings Option is blocked from your outlook, their is another option to get Port & Server details from Office 365 as bellow
Step 1. Goto https://www.office.com
Step 2. After clicking on “Sign in” it direct to Office 365 Home Page
Step 3. It redirect to your mail Box
Step 4. Go as shown in above image & after that you get POP, IMAP, SMTP Settings as bellow