The service principal with appId could not be found in the Azure Active Directory tenant. Please retry the operation. above error while creating Microsoft Entra domain service . we are planning to setup fslogix profile for Azure VDI but not able t

Oscar Sanchez 0 Reputation points
2025-05-14T16:50:21.74+00:00
The service principal with appId  could not be found in the Azure Active Directory tenant. Please retry the operation. above error is while implementing Microsoft Entra domain service . we are planning to setup fslogix profile for Azure VDI but not able to setup microsoft entra domain service for GCC. 
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
25,075 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Goutam Pratti 6,170 Reputation points Microsoft External Staff Moderator
    2025-05-14T23:14:13.1833333+00:00

    Hello @Oscar Sanchez ,

    The error message you are encountering indicates that the service principal required for Microsoft Entra Domain Services is missing from your Azure Active Directory tenant. To resolve this issue, you can check for the missing service principal and recreate it if necessary.

    1. Check for Missing Service Principals:
      In the Microsoft Entra admin center, navigate to Enterprise applications and select All applications. Look for the application ID associated with the service principal that is reported as missing.
    2. Recreate the Service Principal:
      If the service principal with the application ID is missing you can recreate it using Microsoft Graph PowerShell. Install the Microsoft Graph PowerShell module if you haven't done so, and run the following command:
      If needed, install the Microsoft Graph PowerShell module and import it as follows:
         Install-Module Microsoft.Graph -Scope CurrentUser
      
         New-MgServicePrincipal -AppId "--give your app id"
         
      

    If you are still facing the issue Re-register the Microsoft Entra namespace by following this document: Re-register the Microsoft Entra namespace

    For additional Information follow: Known issues: Service principal alerts in Microsoft Entra Domain Services , Common errors and troubleshooting steps for Microsoft Entra Domain Services

    Hope this information helps. Let us know if you have any additional queries. Happy to assist you further.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.