Close Menu
Altcoinvest
    What's Hot

    GalaxyOne Head Wants Retail Investors to Stake More, Predict Less

    April 19, 2026

    Kelp Hacked, Losses Climb to $293M As Other Protocols Impacted

    April 18, 2026

    Iran, US issue conflicting statements on Strait of Hormuz

    April 18, 2026
    Facebook X (Twitter) Instagram
    Altcoinvest
    • Bitcoin
    • Altcoins
    • Exchanges
    • Youtube
    • Crypto Wallets
    • Learn Crypto
    • bitcoinBitcoin(BTC)$75,823.00-1.69%
    • ethereumEthereum(ETH)$2,354.44-2.65%
    • tetherTether(USDT)$1.000.00%
    • rippleXRP(XRP)$1.43-2.79%
    • binancecoinBNB(BNB)$630.41-2.07%
    • usd-coinUSDC(USDC)$1.000.01%
    • solanaSolana(SOL)$86.28-2.83%
    • tronTRON(TRX)$0.3296340.47%
    • Figure HelocFigure Heloc(FIGR_HELOC)$1.041.31%
    • dogecoinDogecoin(DOGE)$0.094919-4.38%
    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

    Cardano’s Hoskinson says Bitcoin’s quantum fix can’t save Satoshi Nakamoto’s BTC

    April 16, 2026

    Pump.fun launches Cashback Coins Rewards Feature

    February 18, 2026

    Elon Musk says SpaceX may put Dogecoin on the moon next year

    February 3, 2026

    How to Move System Public Folders from Exchange 2003 to 2010

    March 20, 2025

    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

    GalaxyOne Head Wants Retail Investors to Stake More, Predict Less

    April 19, 2026

    Kelp Hacked, Losses Climb to $293M As Other Protocols Impacted

    April 18, 2026

    Iran, US issue conflicting statements on Strait of Hormuz

    April 18, 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.