FIX – Error SCCM Azure AD Web App Already Exists

0
Azure AD Web App Already Exists

SCCM 1806 gives an option to deploy Cloud DP using Azure Resource Manager (ARM). However, I don’t recommend to use cloud DP rather you can use CMG to download content. As SCCM is going through many co-management enhancements, we have to delete the Azure AD Web app and recreate for testing purpose. In this post, we will see issues related to Azure AD Web App Already Exists.

Content

What is Azure Services for Cloud Mgmt?
Issue – Azure AD Web App Already Exists Error
How to FIX Error Azure AD Web App Already Exists

What is Azure Services for Cloud Mgmt?

Deploying the Azure service for Cloud Management enables SCCM clients to authenticate with the site using Azure Active Directory. You can also enable the discovery of Azure Active Directory resources for this tenant.

I would recommend reading How to create Azure services for a cloud management blog post to get more details. The above blog post will help you to build Azure Service for cloud management from SCCM console.

Azure AD Web Apps = Azure AD Server Apps

Issue – SCCM Azure AD Web App Already Exists Error

I hit an error while recreating the CMG (cloud Management Gateway). Even after deleting the existing Azure service created for Cloud Management, I was not able to create a new Azure Service for cloud management. I hit the below error:-

“An Azure AD Web app already exists for this tenant. Use the pre-existing app and click ok”

Azure AD Web App Already Exists

Even though I have deleted WEB APP in Azure for Authentication (Server App for SCCM) from Azure portal, I was getting above error. Let’s see what the quick fix to this issue is.

How to Fix Error Azure AD Web App Already Exists

I don’t recommend to perform any SQL DB changes to fix this kind of issue with Azure AD web application. I think it’s better to try to fix the issue from SCCM console itself.

  1. Navigate to -> \Administration\Overview\Cloud Services\Azure Active Directory Tenants
  2. Select the Azure AD Tenant from SCCM console List view
  3. Select the Web Application (server) from SCCM console Details Pane called Applications
  4. Click on DELETE button from Ribbon menu
  5. Now, recreate the applications using my previous post How to create Azure services for cloud management

Azure AD Web App Already Exists

Resources:-

SCCM 1806 New Features and Changes – https://www.anoopcnair.com/sccm-1806-new-features-video-walkthrough/

All Co Management Video Tutorial in one post – https://www.anoopcnair.com/setup-co-management-video-tutorials/

Integrate Apps with Azure AD – https://docs.microsoft.com/en-gb/azure/active-directory/develop/quickstart-v1-integrate-apps-with-azure-ad

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.