Skip to main content
Nintex Community Menu Bar
Question

Exchange Online email with oAuth stopped working on multiple servers

  • November 25, 2025
  • 3 replies
  • 32 views

Forum|alt.badge.img+10

We’ve noticed on multiple servers (different customers) that K2 Five Exchange oAuth integration stopped working Nov 25, 2025. Note no changes to email configuration has been done. My suspicion is that MS is rolling out Exchange Server Online changes that affect K2’s oAuth integration (however, thats speculation at this point).

Anyone else running into this and any recommendations?

 

Receiving:  SourceCode.Workflow.Shapes.EWS: Autodiscover not available and mail cannot be sent. Reconfigure K2 server with valid Exchange settings.

In the K2HostSErver.log receiving the following message (can ignore system@k2.local as that’s not the real address):

 

"173383731","2025-11-24 03:23:31","Error","MessageBus","61012","ConnectionError","ExchangeWebServicesOrigin","61012 Exception from message source system@k2.local: Error code: Forbidden Error description: Forbidden System.Net.WebException: The request failed with HTTP status 403: Forbidden.

   at SourceCode.MessageBus.Ews.ExchangeWebServicesConnection.<>c__DisplayClass34_0.<GetNextMessageAsync>b__2(Object s, FindItemCompletedEventArgs e)

   at SourceCode.MessageBus.Ews.ExchangeWebServicesConnection.<>c__DisplayClass34_0.<GetNextMessageAsync>b__2(Object s, FindItemCompletedEventArgs e)","","","VM-CapEx360:C:\Program Files\K2\Host Server\Bin","173383731","74f7dddb51274ca8847fe536611838fa",""

3 replies

Albarghouthy
Forum|alt.badge.img+16

Hey Tim,

My understanding is that K2 doesn’t require Autodiscover for Exchange Online, but I could be wrong.

Have there been any recent firewall changes on your side? I’ve seen similar errors in locked-down environments where you need to whitelist the following endpoints:

  • autodiscover.outlook.com

  • autodiscover-s.outlook.com

  • autodiscover.<tenant>.onmicrosoft.com

You might also want to make sure you can reach graph.microsoft.com.

This is just a bit of a shot in the dark, but it’s worth checking.


Forum|alt.badge.img+10
  • Author
  • Scholar
  • November 25, 2025

Thanks for the suggestions.  I believe the autodiscover message is just a symptom since its turned to false in the connection string editor.  I think that’s just the default message when it can’t connect.  

These servers are integrated with the customer’s Exchange Online oAuth.  There may have been changes at the Azure policy level but that I have 2 customers, on the same day, with different versions of K2 Five, start getting the same error is a strong coincidence.

When I can I’ll try and redo the Exchange Online feature but that requires Azure Admin permissions so I need to wait on the customer.


Forum|alt.badge.img+10
  • Author
  • Scholar
  • November 26, 2025

Just an update.  The issue was resolved with no changes being made at either customer.  The working theory is that Microsoft made some changes to Exchange Online that caused these issues and either resolved them or rolled them back.

There were reports of reported issues with Outlook Classic clients which had issues yesterday and today when trying to connect.