Question

I couldn't find much useful information on opening a CFEXCHANGE connection to Office365. After some playing around I got it to work. I am posting this here for informational purposes as it might be useful for others.

Was it helpful?

Solution

Because of the need to specify serverversion="2010" this will only work on CF10.

To establish a connection use the following code:

<cfexchangeConnection 
    action="open" 
    username ="#emailAddressForOffice365User#" 
    password="#passwordForOffice365User#"
    server="outlook.office365.com" 
    protocol="https"
    connection="myExchangeConnection"
    serverversion="2010">

The Office365 account I connected to had the settings which were set when it was created (i.e. I did not have to change any account settings for this to work).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top