Wednesday, 26 February 2014

Office365: Outlook 2007 cannot connect / configure profile

During the migration to Office365 we've prepared many computers with Office2007 installed.
Some of them could connect to Office365 immediately and others not.
Because we've had set gpo's for Outlook settings and autodiscover worked properly it was hard to find what caused the problem.

Problem - authentication
The problem was with authentication. Problematic Outlook's didn't have anonymous option in the security settings on connections tab.

Solution - Microsoft Updates
Outlooks which caused problems were set to NOT get Microsoft Updates.
After check the option to automatically get updates in Outlook settings and install them - anonymous option was in place and profiles has been configured properly.

Monday, 10 February 2014

Office365: Manually configure Outlook profile

If you have problems configuring Outlook profile with autodiscover, then reading this should help you. If you need to resolve this, check this post:

Steps for configure Outlook Office 365 profile manually:

1. Logon to Office365 from powershell as described here:

2. Get your mailbox cloud ExchangeGuid:

Get-Mailbox mailboxname |fl ExchangeGuid, OriginatingServer, PrimarySmtpAddress,UserPrincipalName

3. Copy this data to your computer with Outlook.

4. Go to your computer with Outlook.
5. Open Mail in Control Panel options. Click Add New Account.
6. Choose Manually configure server settings or additional server types

7. Choose Microsoft Exchange or compatible service:

8. Click More Settings:

9. In the connection tab, select Connect to Microsoft Exchange using HTTP:


10. Click Exchange Proxy Settings...

11. Fill in the tabs:


Click OK.

12. Go to the Security tab and select "Anonymous Authentication" in Logon network security:

Click OK.
13. In the Add New Account window fill fields with data that you've gathered from Office365

14. In the Server: you can use ExchangeGuid which is mailbox guid with the format:
ExchangeGuid@domain, for example

you can use Originating Server Name which will look for user name you provided, for example:

15. In the User Name, enter user PrimarySMTPAddress

Click Check Name

You should then get credential pop-up which is good sign:

16. In the user name field use the UserPrincipalName - probably the short alias.
17. Enter the password and...

Voila! You are in.

Well, you should, but... If you still have problems configuring this, then consider following, mostly if you had this profile earlier, for example after migration from on-premises to the cloud:

1.       Delete all Outlook credentials from Windows Credential Manager

2.       Go to the Control Panel/Mail

3.       Delete current profile

4.       Create new profile