exchange server
2413 TopicsExchange SE EWS Extended Protection / ARR SSL Bridging / Third-Party NTLM Authentication
We are troubleshooting a third-party SaaS integration that connects to Microsoft Exchange SE through EWS using NTLM authentication. The application successfully reaches Exchange through our reverse-proxy infrastructure, but NTLM authentication fails when EWS Extended Protection is configured as Allow. Exchange/IIS records the final authentication failure as: HTTP Status: 401.1 Win32 Status: 0x80090346 SSPI Error: SEC_E_BAD_BINDINGS Windows description: Client's supplied SSPI channel bindings were incorrect. We performed a controlled test where Extended Protection was temporarily changed from Allow to None on one Exchange server. The same third-party application then authenticated successfully through NTLM, established the expected service-account identity, received HTTP 200 from EWS, and the application reported a successful connection. Extended Protection was immediately restored to Allow after the test. Exchange Architecture Our on-premises Exchange environment consists of: Four Exchange Server mailbox servers. Two servers at each of two datacenter locations. Exchange Database Availability Group (DAG) providing mailbox database availability across the environment. Exchange client services are published through a pair of Microsoft ARR reverse-proxy servers in the DMZ. Windows Network Load Balancing is used on the proxy tier. ARR uses Exchange web farms containing multiple Exchange backend servers. EWS traffic is HTTPS from the external client to ARR and HTTPS again from ARR to Exchange, so the connection is SSL bridged rather than sent to Exchange as unencrypted HTTP. ARR uses Weighted Round Robin for the EWS backend farm. ARR backend HTTP keep-alive is enabled. Certificate Architecture The ARR and Exchange tiers intentionally use different certificates. ARR uses a publicly trusted certificate for the externally published Exchange namespaces. Exchange uses an internally issued PKI certificate for the internal Exchange HTTPS endpoints. This separation is intentional because the public certificate lifecycle is significantly shorter than our internal PKI certificate lifecycle, and we would prefer not to introduce recurring public certificate replacements across all Exchange servers unless required. Therefore, the SSL path is effectively: External application → HTTPS/public certificate → ARR → HTTPS/internal PKI certificate → Exchange EWS Exchange EWS Configuration The Exchange EWS virtual directories currently have: Windows Authentication: True Basic Authentication: True OAuth Authentication: True ExtendedProtectionTokenChecking: Allow ExtendedProtectionFlags: none ExtendedProtectionSPNList: empty IIS Windows Authentication for EWS has: Windows Authentication enabled Negotiate provider enabled NTLM provider enabled Extended Protection token checking: Allow Third-Party Client The third-party application identifies its EWS client as: exchangelib/3.3.0 (python-requests/2.32.4) The application is using NTLM authentication. Testing Performed We verified the following: The third-party application can reach the published EWS endpoint through ARR. TLS connectivity is successful. ARR successfully proxies the requests to Exchange. The Exchange EWS endpoint is reachable. The service account is enabled and its password is valid. The service account successfully authenticates to the same EWS environment using Basic authentication. The same service account successfully authenticates using independently tested NTLM authentication. Other applications successfully authenticate to the same Exchange environment. The third-party application reaches Exchange and begins NTLM negotiation, but Exchange rejects the final authentication with SEC_E_BAD_BINDINGS. We also reviewed domain-controller authentication logs during the failed authentication and did not observe a corresponding normal credential-validation failure for the service account. Controlled Extended Protection Test We performed a controlled A/B test on a single Exchange EWS virtual directory. Normal production configuration ExtendedProtectionTokenChecking = Allow Result: Third-party application reaches EWS. NTLM negotiation begins. Authentication does not establish the service-account identity. IIS returns HTTP 401.1. Final Win32 status is 0x80090346. SSPI reports SEC_E_BAD_BINDINGS. Temporary diagnostic configuration ExtendedProtectionTokenChecking = None Windows Authentication remained enabled. Result: The third-party application successfully completed NTLM authentication. Exchange identified the authenticated service account. The EWS transaction completed with HTTP 200 on both the frontend and backend. The third-party application's configuration interface reported Saved successfully. The test lasted only a few minutes, after which Extended Protection was immediately restored to: ExtendedProtectionTokenChecking = Allow Both Exchange servers involved in the test were subsequently verified to have Windows Authentication enabled and Extended Protection restored to Allow. No IIS reset, service restart, or server reboot was required during the test. Additional Security Context We do not want to leave Extended Protection disabled as a permanent workaround. We understand that Extended Protection / Channel Binding Token validation provides protection against NTLM credential-relay and man-in-the-middle attacks. We also have separate security work underway related to Extended Protection enforcement and want to ensure that the long-term solution for this integration does not weaken the intended Exchange security posture. Assistance Requested We would like Microsoft's or the Community's guidance on the following: Is our interpretation correct that the SEC_E_BAD_BINDINGS result is caused by the Channel Binding Token being generated against the external ARR TLS connection while Exchange validates it against the separate ARR-to-Exchange TLS connection? With IIS ARR performing SSL bridging, is using the identical certificate and private key on both the ARR and Exchange HTTPS endpoints the only Microsoft-supported method for using NTLM with Extended Protection in this topology? Is there any Microsoft-supported method for retaining: the publicly trusted certificate on ARR, the internal-PKI certificate on Exchange, SSL bridging, and Extended Protection, while supporting an NTLM EWS client that presents CBT? Is there a supported method to create a scoped exception for a specific third-party EWS integration while retaining Extended Protection for all other EWS, MRSProxy, and Exchange client traffic? If a scoped exception is supported, can it be restricted by a dedicated EWS publication path, virtual directory, application pool, hostname, source network, or other supported Exchange/IIS mechanism? Would Microsoft support a separate EWS publishing endpoint specifically for this application, or would that create an unsupported Exchange configuration? Does setting EWS ExtendedProtectionTokenChecking=None have implications for MRSProxy/EPA protection beyond normal EWS application traffic? Given that we have a multi-server DAG environment behind ARR, are there additional Extended Protection requirements regarding: certificate consistency, ARR affinity, TLS configuration, backend server selection, SPNs, or NTLM connection persistence? If Microsoft recommends using an identical certificate across ARR and Exchange, must this certificate be identical only for the Exchange servers participating in the EWS ARR farm, or must it be consistently deployed across all Exchange servers in the organization/DAG? What Microsoft-supported architecture would you recommend that allows us to keep Extended Protection enabled while avoiding unnecessary dependency on short-lived publicly issued certificates across the internal Exchange tier? Our goal is not to disable Extended Protection. We want to implement a supported configuration that preserves the NTLM relay protections provided by Extended Protection while allowing the required third-party EWS integration to function. We can reproduce both the failure and successful diagnostic test on demand and can provide IIS, Exchange HTTPProxy, ARR, and Extended Protection configuration output if required111Views0likes1CommentOutlook Classic and Exchange on-prem mailbox search misses recent emails
We had an odd problem from a handful of users on our Exchange on-premise environment. They are using: Outlook Classic version 2610 (build 20527.20194). Exchange on-premise version 0.1 (8.0.535.0). Windows Server 2019, version 10.0 (17763). We are running a 4-node DAG with users distributed evenly. Our environment is hybrid and we do also have online users. A small subset of users on one server (about 6 out of 1500) reported that Outlook search was not returning recent messages in search results. For example, a user would search for messages and get results from the previous week, but not the current week. The messages were in their inboxes and appeared to be properly synced to their OST files. My group advised local helpdesk to rebuild indexes and otherwise troubleshoot client-side search. This did not help. Helpdesk found that OWA search results were returning the same limited results. With this piece of information we restarted "HostControllerService" and "MSExchangeFastSearch" services on the impacted server, and users reported that search results returned to normal shortly after. Local help desk went through all the usual steps to resolve a search problem on the clients (rebuild the index, check Windows search health, OST sync status, and so on), and I am confident that they should have been able to resolve the problem if Outlook were behaving the way I expect, i.e. searching locally and only going back to the server for a shared mailbox, un-cached content, etc. Summary version, we are struggling to understand how troubleshooting and resolving a server-side search problem seemingly also resolved an Outlook Classic client-side search issue, understanding that the search should be executed on the client. Has anyone seen the same or know how to explain?183Views0likes1CommentMicrosoft’s New Initiative to Make On-Premises Servers More Secure
Microsoft’s Nov 5 post about New Investments to Reduce On-Premises Security Risk details some steps they plan to take to improve security for on-premises Exchange, SharePoint, and Skype for Business servers. It all sounds good until you consider some of the practical difficulties that the plan might encounter, like people not wanting to upgrade their servers or resisting any attempt by Microsoft to tell them what to do. Will the strategy work? Who knows! https://office365itpros.com/2026/11/25/on-premises-servers-secure/121Views0likes1CommentExchange SE Extended Protection
Hello Exchange On Prem admins. As we laugh in the face of service level outages I would like to share some tips and tricks to running Exchange SE in extended protection mode. The most critical component of enabling extended protection on IIS is the DNS namespace and the corresponding SAN that is attached to the certificate therein. Exchange is not entirely namespace aware, so what your clients connect to is not what it uses for internal operations such as eDiscovery through ECP and the Proxy healthset. Here are some tweaks that have made my environment run without errors : When using eDiscovery through the ECP your IIS cert must have the server FQDN in the SAN. When observing the proxy test monitor health sets, they use HTTPS://LocalHost, so localhost must be in the SAN. When configuring IP lock down the Exchange CSS script does not capture all of the applicable IPs that backend IIS operations operate on : Calls are made from the replication network, the user facing interfaces and the hidden 169.254.X.X DAG network. If you are multihomed and using IP restriction in IIS, make sure you include all of these networks, as it seems to choose at random. Stay secure, and stay on prem.243Views0likes3CommentsExchange Online Plan 1 and Planner
Now that Microsoft have confirmed they will kill Wunderlist/To-Do, what is planned for customers with an Exchange Online Plan 1 which use To-Do alongside Exchange/Outlook? As usual, Microsoft's official support announcment https://support.microsoft.com/en-us/planner/to-do-to-planner creates more questions that customer are faceing now than providing answers.192Views0likes2CommentsCould Adaptive, Capacity-Aware Recovery Orchestration Improve Exchange Online Resilience?
Sentinel AI – Adaptive Infrastructure Recovery & Traffic Intelligence Hello Microsoft Exchange Community, Following the publicly communicated Microsoft 365 and Exchange Online service disruptions in November 2026, I began examining the reliability challenges associated with large-scale cloud service recovery, traffic redistribution, infrastructure capacity, and secure connection establishment. Based on this technical analysis, I have developed an independent engineering proposal titled Sentinel AI – Adaptive Infrastructure Recovery & Traffic Intelligence. 1. Problem Context Large-scale cloud service disruptions can create complex recovery challenges, particularly when service availability decreases, traffic shifts toward remaining infrastructure, and recovery activities need to be coordinated under changing capacity conditions. Some key engineering challenges worth exploring include: Infrastructure overload during traffic redistribution. Uneven capacity utilization across available service instances. Retry amplification and uncontrolled request concurrency. Health-check signals that may not accurately represent service readiness. Recovery operations that risk introducing additional instability. Limited correlation of operational signals during complex incidents. These are general distributed-systems reliability challenges and are not assertions about Microsoft's internal implementation or the confirmed root cause of any particular incident. 2. Proposed Solution: Sentinel AI Sentinel AI is a proposed adaptive infrastructure recovery and traffic intelligence architecture designed to support cloud service resilience. Its objective is to combine intelligent monitoring, capacity-aware traffic management, controlled recovery orchestration, and evidence-based AI recommendations. The proposed architecture explores the following capabilities: A. Capacity-Aware Adaptive Traffic Management Continuously evaluate available infrastructure capacity. Distribute traffic according to service health and resource availability. Reduce the risk of overwhelming already-constrained infrastructure. Support controlled traffic redistribution during degraded conditions. B. Intelligent Health-Check and Readiness Evaluation Distinguish basic process availability from actual service readiness. Evaluate multiple operational signals before considering an instance healthy. Reduce the possibility of routing traffic toward services that are technically running but unable to handle requests reliably. C. Retry and Concurrency Intelligence Apply bounded concurrency and queue management. Introduce retry budgets and exponential backoff with jitter. Prevent uncontrolled retry amplification. Maintain predictable request handling under elevated load. D. Controlled Recovery Orchestration Gradually restore traffic using canary-based recovery. Monitor service health and capacity during each recovery stage. Define automatic rollback conditions. Require appropriate safeguards before expanding traffic to additional infrastructure. E. AI-Powered Incident Intelligence Correlate monitoring signals, logs, and service metrics. Identify abnormal patterns and potential cascading failure indicators. Generate evidence-linked diagnostic recommendations. Provide human operators with contextual incident insights. F. Human Oversight and Operational Governance Maintain human approval for high-impact recovery decisions. Record operational decisions and recovery actions. Provide auditability, rollback controls, and policy-based execution safeguards. 3. Proposed Architectural Objective The proposed Sentinel AI architecture follows a continuous operational feedback loop: Observe → Analyze → Decide → Validate → Recover → Learn The system is intended to help infrastructure teams make more informed recovery decisions while maintaining capacity constraints, service stability, and operational control. Importantly, AI recommendations would support engineering teams rather than independently control critical production infrastructure without authorization and safeguards. 4. Expected Engineering Benefits If implemented and validated successfully, the proposed approach could help explore improvements in: More controlled traffic redistribution. Reduced retry amplification during degraded conditions. Better visibility into service readiness. Safer and more gradual infrastructure recovery. Faster correlation of operational signals. Improved incident decision support. More predictable recovery behavior under changing capacity conditions. These are proposed outcomes, not measured or demonstrated results. 5. Validation and Implementation Approach The proposal recommends validating the architecture through an isolated test environment using synthetic services, simulated infrastructure constraints, and controlled fault-injection scenarios. Potential evaluation metrics include: Service recovery time. Request success and error rates. Queue depth and request latency. Infrastructure utilization. Retry amplification. Traffic distribution stability. Rollback effectiveness. The architecture has not been implemented or validated in Microsoft's production environment. Any practical evaluation involving Microsoft infrastructure would require explicit authorization. 6. Full Technical Proposal I have prepared a detailed technical document covering the problem analysis, proposed architecture, component-level design, decision logic, recovery workflows, security considerations, validation strategy, risks, and implementation roadmap. Read the complete technical proposal (PDF): https://drive.google.com/file/d/1y-A2rRdasBRpObSpSuW_6iU2miftkkL-/view?usp=sharing 7. Feedback and Technical Discussion I would genuinely appreciate feedback from Microsoft Exchange administrators, cloud infrastructure engineers, SRE professionals, and distributed-systems specialists. In particular, I would welcome technical perspectives on: The feasibility of capacity-aware recovery orchestration in large-scale cloud environments. Approaches to preventing retry amplification during infrastructure degradation. The effectiveness of readiness-based health checks and gradual traffic restoration. The practical role of AI-assisted incident intelligence in production reliability workflows. My intention is to contribute an independent engineering perspective and encourage constructive technical discussion around cloud infrastructure resilience. 8. Author Information Anurag Rajak AI Developer | Independent Engineering Research B.Tech in Information Technology Bansal Institute of Science and Technology (BIST) , Bhopal GitHub: https://github.com/anuragraja LinkedIn: https://www.linkedin.com/in/anurag-rajak-it/ Thank you for your time and consideration. Best regards, Anurag Rajak126Views0likes0CommentsIp exchange on spamlist
Have noticed that a range of Microsoft IP's are on blacklists. Examples (there is a whole range of them): 52.101.66.97 Listed on spamcop. 52.101.66.97 Listed on: 0SPAM Sender Score Reputation Network SORBS SPAM Emails from Exchange Online systems or those using Outlook Protection are being delayed to us by several hours. https://0spam.org/request?ip=52.101.66.97241Views0likes1CommentMigration from Exchange on prem to Exchange online
Will migration from on-premise Exchange to Exchange Online stop working as of October 2026? You can see this error in the logs:"Error: The job encountered too many transient failures (61) and is quitting. The most common failure is CommunicationErrorTransientException with the hit count 60." And in IIS you see error 401 The solution is to recreate the migration endpoint using the UPN (email address removed for privacy reasons) instead of "Domain\user". Simply modifying the existing endpoint will not work.375Views0likes1CommentMicrosoft Defender for Office 365: New “Move to Quarantine” Feature Coming Soon
Microsoft introducing Move to Quarantine, a new remediation action in Microsoft Defender for Office 365. It enables security teams to move potentially malicious email messages from users' mailboxes directly to Microsoft Defender quarantine. This provides a safer and more flexible way to contain suspicious messages that bypassed initial detection while preserving the ability to investigate, release, or permanently delete them later. This capability is available with Microsoft Defender for Office 365 Plan 2, including eligible Microsoft 365 subscriptions that include Plan 2. Rollout schedule General Availability (Worldwide): Beginning in early November 2026 and expected to complete by mid-December 2026 Remediate malicious email that was delivered in Office 365 - Microsoft Defender for Office 365 | Microsoft Learn412Views0likes0CommentsBackdoor.MSIL.Webshell.gen
Hello ; My antivirus detected Trojan -------------------- Probably infected object detected: Trojan HEUR:Backdoor.MSIL.Webshell.gen. Object name: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\owa\8e05b027\e164d61b\App_Web_z1qruv0b.dll MD5 file hash: fd34b27c2ea1a4702e265f6d1f05fe16 File SHA256 hash: a4f7b4261a9f70bd5247f497ff384012a71d75010765cc7174724ed04ed9b047 ---------------------- and w3wp.exe I alreday upgraded that to CU22 before this atttack and also installed the last Security patch for CU22. I ran the MSERT tool and other Security Script for Exchange . But has been removed but the mystery of the re-infections continues . Could you help me3.2KViews0likes1Comment