Close Menu
Altcoinvest
    What's Hot

    Ethereum Foundation-Backed Program Exposes 100 Nort Korea Operatives Infiltrating Crypto Firms

    April 19, 2026

    SEC Gives Some Self-Custody Crypto Apps 5 Years to Sort Out Broker Licensing

    April 19, 2026

    Warren Accuses SEC’s Paul Atkins of Misleading Congress

    April 19, 2026
    Facebook X (Twitter) Instagram
    Altcoinvest
    • Bitcoin
    • Altcoins
    • Exchanges
    • Youtube
    • Crypto Wallets
    • Learn Crypto
    • bitcoinBitcoin(BTC)$75,624.00-2.12%
    • ethereumEthereum(ETH)$2,346.76-3.03%
    • tetherTether(USDT)$1.000.00%
    • rippleXRP(XRP)$1.43-2.93%
    • binancecoinBNB(BNB)$627.75-2.68%
    • usd-coinUSDC(USDC)$1.000.01%
    • solanaSolana(SOL)$85.75-3.52%
    • tronTRON(TRX)$0.3277850.11%
    • Figure HelocFigure Heloc(FIGR_HELOC)$1.041.31%
    • dogecoinDogecoin(DOGE)$0.094938-4.31%
    Altcoinvest
    Home»Exchange»Clean Up Certificates of Office 365 Exchange Online Application
    Clean Up Certificates of Office 365 Exchange Online Application
    Exchange

    Clean Up Certificates of Office 365 Exchange Online Application

    August 11, 2025
    Share
    Facebook Twitter LinkedIn Pinterest Email

    If you have run the Hybrid Configuration Wizard in your organization, it’s strongly recommended that you remove any custom certificates from the shared “Office 365 Exchange Online” application. This will harden your environment. In this article, you will learn how to clean up certificates from the Office 365 Exchange Online application.

    Service Principal clean up

    If the organization ever ran and completed the Hybrid Configuration Wizard (HCW) or configured OAuth authentication between Exchange and Exchange Online organizations, the Auth Certificate from your Exchange organization was uploaded to the first-party Service Principal.

    This practice is no longer recommended and should not be performed. The Auth Certificate must now be uploaded exclusively to the dedicated Exchange hybrid application. Everything is now integrated in the new Hybrid Configuration Wizard tool.

    After running the latest Hybrid Configuration Wizard and ensuring all your Exchange servers are running an Exchange build that supports this feature, you must run the cleanup.

    The dedicated Exchange hybrid application feature is supported starting with the following Exchange Server builds:

    Version Build number
    Exchange Server SE RTM 15.2.2562.17
    Exchange Server 2019 CU15 with April 2025 HU 15.2.1748.24
    Exchange Server 2019 CU14 with April 2025 HU 15.2.1544.25
    Exchange Server 2016 CU23 with April 2025 HU 15.1.2507.55

    Note: This also applies if you have removed your Exchange Server and previously run the Hybrid Configuration Wizard within the organization.

    Running the script in cleanup mode does not depend on a specific version of Exchange Server to be installed on-premises (you can run the script in cleanup mode independent of your Exchange Server version and even on a computer other than an Exchange Server).

    Important: It’s strongly recommended that you use the provided script to remove any custom certificates from the shared “Office 365 Exchange Online” application.

    Step 1. Download Configure Exchange Hybrid Application PowerShell script

    1. Download ConfigureExchangeHybridApplication.ps1 PowerShell script
    2. Save it to the C:\scripts folder

    Ensure the file is unblocked to prevent errors when running the script. Read more in the article Not digitally signed error when running PowerShell script.

    Step 2. Delete all certificates of Office 365 Exchange Online application

    The script will delete all certificates of the Office 365 Exchange Online first-party application’s Service Principal. This action ensures that any outdated or unnecessary certificates are removed, maintaining the security and integrity of the application. Use this syntax when you need to clean up the keyCredentials of the first-party Service Principal.

    1. Run the command below
    C:\scripts\.\ConfigureExchangeHybridApplication.ps1 -ResetFirstPartyServicePrincipalKeyCredentials
    1. Confirm with Y
    2. Sign in with your global administrator credentials
    3. Verify that the operation is successfully performed

    This is what it looks like.

    Clean Up Certificates of Office 365 Exchange Online Application scriptClean Up Certificates of Office 365 Exchange Online Application script

    That’s it!

    Read more: Renew certificate in Exchange Hybrid »

    Conclusion

    You learned how to clean up certificates from the Office 365 Exchange Online application. It’s strongly recommended to run this script on every organization that has previously run the Hybrid Configuration Wizard to remove any leftover certificates and harden your environment. If no certificates were found, no action will be taken.

    Did you enjoy this article? You may also like Remove Exchange Hybrid Configuration. Don’t forget to follow us and share this article.

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

    Related Posts

    How to Block Soft and Hard Match in Microsoft Entra ID

    April 7, 2026

    How to connect to Microsoft 365 with Microsoft Graph PowerShell

    March 27, 2026

    February 2026 Exchange Server Security Updates

    March 5, 2026

    How to Fix 550 5.1.10 RESOLVER.ADR.RecipientNotFound in Exchange Server

    March 5, 2026
    Add A Comment

    Comments are closed.

    Tweets by InfoAltcoinvest

    Top Posts

    How to Block Soft and Hard Match in Microsoft Entra ID

    April 7, 2026

    How to connect to Microsoft 365 with Microsoft Graph PowerShell

    March 27, 2026

    February 2026 Exchange Server Security Updates

    March 5, 2026

    Chainlink, Cardano and Ethereum Could Be Undervalued Amid Crypto Market Woes, According to One On-Chain Metric: Santiment

    January 27, 2026

    Ethereum price bulls eye breakout as descending resistance squeezes price, where will it go?

    December 31, 2025

    КАТАСТРОФА С ПЕРЕГОВОРАМИ – США ВСЕ БРОСИЛИ // НИКАКИХ ГАРАНТИЙ // О МИРЕ НЕ ДОГОВОРИЛИСЬ

    January 8, 2026

    SWIFT’s Multi-Chain Era: How Does XRP & XLM Fit In?

    January 23, 2026

    Altcoinvest is a leading platform dedicated to providing the latest news and insights on the dynamic world of cryptocurrencies.

    We're social. Connect with us:

    Facebook X (Twitter)
    Top Insights

    Ethereum Foundation-Backed Program Exposes 100 Nort Korea Operatives Infiltrating Crypto Firms

    April 19, 2026

    SEC Gives Some Self-Custody Crypto Apps 5 Years to Sort Out Broker Licensing

    April 19, 2026

    Warren Accuses SEC’s Paul Atkins of Misleading Congress

    April 19, 2026
    Get Informed

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.


    Facebook X (Twitter)
    • Home
    • About us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions
    © 2026 altcoinvest.com

    Type above and press Enter to search. Press Esc to cancel.