September 16, 2021
cfexchangeconnection does not work with Exchange Online / EWS 365
Comments
(3)
September 16, 2021
cfexchangeconnection does not work with Exchange Online / EWS 365
Newbie 1 posts
Followers: 0 people
(3)

Hi,

we have an older internal application that is still running on coldfusion 2016 (not so easy to update because of using Coldbox and other frameworks). And we need to move the connection from our OnPrem Exchange (which is working fine) to the 365 cloud. But it doesn’t work and I read that cfexchangeconnection doesn’t work at all with Exchange Cloud, is this true? Is there another solution for Coldfusion 2016?

I am grateful for any information and help
Karsten

3 Comments
2021-09-22 17:53:50
2021-09-22 17:53:50

As the others have said, it would help to hear what error you got. What they offer may solve the problem, or another issue to consider is that you may have your old CF2016 still running also on an old update of whatever Java version it’s using (whether Java 8 or 11). Both those (whichever you may be using) have had updates as recently as July of this year (Java 8 update 301 and Java 11 update 12).

If you look at the CF Admin and its “settings summary” page, you will see it showing the “java version”. Let us know what it reports. If it’s something quite older than these, you may find that your problem can be solved simply by updating the JVM that CF uses. I have a blog post with more on that, Solving problems calling out of CF via https, by updating JVM.

Otherwise, hope you get somewhere with the other suggestions.

Like
2021-09-21 14:39:50
2021-09-21 14:39:50

What error are you seeing and what are your current CFExchange params?  We are able to connect to our O365 services no problem (for now) with these connection settings:

<cfexchangeconnection action=”open”
username=”#Username#”
password=”#userpswd#”
server=”outlook.office365.com”
protocol=”https”
serverversion=”2010″
connection=”testconn1″
formBasedAuthentication=”true”
formBasedAuthenticationURL=”https://outlook.office365.com/owa/auth/owaauth.dll”>

Like
2021-09-21 07:59:53
2021-09-21 07:59:53

What is specific error you see than you linked CF with Azure cloud. ?
For 2016 worker setup, app you have to add 2 heartbeat values in order to be connector backward compatible with older setup.

Like
Add Comment