Skip to content
Renew Secret Keys Using SCCM Console Configuration Manager

Renew Secret Keys Using SCCM Console Configuration Manager

Written By Anoop C Nair
Last Updated August 20, 2024
Posted In SCCM
SHARE

Let’s Renew Secret Keys using SCCM Console—a guide to renewing One or more Azure AD App Secrets used by cloud services. Let’s understand the meaning of the Configuration Manager notification message: One or more Azure AD app secrets used by Cloud Services will expire soon and Renew to avoid service disruption.

We will also see how to fix it. When the app’s security key expires, you must renew all the security keys if you have more than one.

Azure AD applications are used for many cloud-connected functions within Configuration Manager. ConfigMgr is connected to the cloud and uses different Azure services that require distinct configurations. Azure AD apps are created for each of these services.

Can’t Delete or Remove Azure AD Apps (used for Cloud Services) from SCCM Console? Here is the guide to removing those from MEMCM using WMI | WBEMTEST Remove Azure AD Apps From SCCM Console Using WMI HTMD Blog (anoopcnair.com).

Patch My PC

The Azure AD apps are required for services like Azure AD User Discovery, Cloud Management Gateway, Tenant Attach, Co-Management, etc… You can use a single or distinct Azure AD application(s) for multiple services.

Video Tutorial – Renew Secret Keys Using SCCM Console

The following video will teach you how to renew Secrete Keys, which are close to expiring, using the SCCM console Configuration Manager.

Renew Secret Keys Using SCCM Console Configuration Manager – Video.1

Renew Secret Key Using SCCM Console

First, don’t get confused about the Azure AD App security and secret keys. Both refer to the same thing.

Recently, I received a notification about “Renew Azure AD app secrets.” Let’s go through the process of renewing the secret keys for Azure AD Applications.

Renew Secret Keys Using SCCM Console Configuration Manager - Fig.1
Renew Secret Keys Using SCCM Console Configuration Manager – Fig.1

The following are the two secrets that are of immediate concern (expires in a month). These secret keys (highlighted in yellow) must be renewed to avoid service disturbance.

  • Click on the Hyperlink ( Renew secret key close to expiry) in the Console notification alert or
    • Navigate to \Administration\Overview\Cloud Services\Azure Active Directory Tenants – Applications.
    • Find out which apps are going to expire soon.
    • For the expiration date, check the column Secret Key Expiry (UTC).
Renew Secret Keys Using SCCM Console Configuration Manager - Fig.2
Renew Secret Keys Using SCCM Console Configuration Manager – Fig.2

Click on the application you want to renew (the secret key is close to expiry). Click the Renew Secret Key button from the Ribbon – Applications tab.

Renew Secret Keys Using SCCM Console Configuration Manager - Fig.3
Renew Secret Keys Using SCCM Console Configuration Manager – Fig.3

Sign in to Azure AD with appropriate permissions on Azure AD tenant (Azure AD Apps) – https://docs.microsoft.com/en-us/mem/configmgr/core/servers/deploy/configure/azure-services-wizard#about-azure-ad-apps.

NOTE! – For more information about each service’s required app permissions and configurations, see the relevant SCCM article in Available Services (Microsoft Docs). https://docs.microsoft.com/en-us/mem/configmgr/core/servers/deploy/configure/azure-services-wizard#available-services

Renew Secret Keys Using SCCM Console Configuration Manager - Fig.4
Renew Secret Keys Using SCCM Console Configuration Manager – Fig.4

The Secret key was successfully renewed for the Azure AD User discovery option.

Renew Secret Keys Using SCCM Console Configuration Manager - Fig.5
Renew Secret Keys Using SCCM Console Configuration Manager – Fig.5

Results

Once the Azure AD App secret keys/Security keys are renewed successfully, you can confirm the extended secret key expiry date. Also, verify the ConfigMgr services are working fine after renewing the secret key.

Renew Secret Keys Using SCCM Console Configuration Manager - Fig.6
Renew Secret Keys Using SCCM Console Configuration Manager – Fig.6

Resources

We are on WhatsApp now. To get the latest step-by-step guides, news, and updates, Join our Channel. Click here – HTMD WhatsApp

Author

Anoop C Nair has been Microsoft MVP for 10 consecutive years from 2015 onwards. He is a Workplace Solution Architect with more than 22+ years of experience in Workplace technologies. He is a Blogger, Speaker, and Local User Group Community leader. His primary focus is on Device Management technologies like SCCM and Intune. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security, Career, etc.

Written by

Anoop C Nair is Workplace Technology solution architect with 25+ years of experience in global enterprise organizations such as JP Morgan, Capgemini, etc. Microsoft Certified Trainer. Microsoft MVP from 2015 onwards for consecutive 11+ years! He also conducts Intune and modern workplace tech training for enterprise organizations. He is Blogger, Speaker, and Founder of HTMD Community and HTMD Conference. His main focus is on Device Management technologies like Intune, Windows, Cloud PC. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security.

Discussion · 10 comments

  1. When I try to renew secret key for two app I have this error:
    “Failed to renew the secret key for AAD server application. Failed to get server app”
    This because I have deleted these apps from Azure.
    Now, how can I delete also from SCCM to hide expired secret key notification on top of console?

    Thank you.

  2. after renewing the secret key in SCCM, i see the updated key in SCCM. In Azure, I see the new key (identified by the new expiry date.) But I also see the old key. is this normal? can i safely remove the old key?

  3. What do you do if the key already expired? I can’t seem to renew it now.
    Failed to renew the secret key for AAD Server application. Failed to get server app

  4. Hi

    I have similar to Carl lee, “after renewing the secret key in SCCM, i see the updated key in SCCM. In Azure, I see the new key (identified by the new expiry date.) But I also see the old key. is this normal? can i safely remove the old key?”

    The Entry within SCCM, Client ID of the SCCM Entry is now renewed , but in Azure a New key has been added automatically with a different Client ID, but the old key with the same as SCCM client ID is still showing with the old expire date.

    Has anyone else had this?? and is this renewed ?? even if the client ID of the new Azure key being different

  5. When I click on Renew Secret Key, the login window pops up. I log in successfullly. Then nothing happens. No message and the key is not renewed. Any thoughts?

  6. I have the same issue, when I click on renew secret key nothing pop up. It’s resolved by upgrading my role as global admin. I tried again and “Secret key successfully renewed!”.

  7. Hi Anoop/All,
    This is what i see when i try to RENEW secret key. any idea on this.

    Not HTTPS Url Redirect is not supported in web view.

Join the discussion

Your email address will not be published. Required fields are marked *

Related guides

Intune

Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws

Key Takeaways Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws! In the July 2026 Patch, Microsoft introduced new features designed to improve the overall Windows experience. The update adds enhancements to Windows Update for more flexible update management and introduces Point-in-Time Restore, providing an additional recovery option for […]

AC Anoop C Nair 9 min read
Intune

2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws

Key Takeaways 2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws! The June 2026 Windows 11 Patch Tuesday update brings several improvements to File Explorer. It adds support for additional archive formats, including UU, CPIO, XAR, and NuGet Packages (NUPKG). The update also preserves View and Sort preferences in […]

AC Anoop C Nair 10 min read
Intune

2026 May KB5089549 KB5087420 Windows 11 Patch | 0 Zero Day Vulnerabilities and 120 Flaws

Key Takeaways The Windows 11 May 2026 Patch KB5089549 KB5087420 Update brings important security fixes, performance improvements, and reliability enhancements across the operating system. The update introduces new features such as Xbox Mode for gaming, File Explorer improvements, enhanced input and sharing experiences, better taskbar and Windows Hello reliability, and additional enterprise management capabilities for […]

AC Anoop C Nair 8 min read
SCCM

ConfigMgr 2603 Introduces New Early Update Enrollment Process

Key Takeaways In this post we are discussing the ConfigMgr 2603 Introduces New Early Update Enrollment Process. Microsoft has officially released Configuration Manager version 2603 to the Early Update Ring, giving organizations an opportunity to test upcoming improvements before the global production rollout. The release is targeted at enterprises running ConfigMgr version 2409 or later […]

AC Anoop C Nair 3 min read