Hello @YogeshDeshpande-9530
I Understand that the error message indicates that the service principal with the specified appId is missing from your Azure Active Directory tenant. Since you are encountering a 403 error when attempting to create the service principal manually, it suggests that your account may not have sufficient permissions to perform this action, even though you are a Global Administrator.
To resolve this issue, follow these steps:
- First, provide consent for the required scopes by running:
Connect-MgGraph -Scopes Application.ReadWrite.All, Directory.ReadWrite.All
- After that, create the service principal by using the following command:
New-MgServicePrincipal -AppId "2565bd9d-da50-47d4-8b85-4c97f669dc36"
For additional Information please refer this document: https://learn.microsoft.com/en-us/entra/identity/domain-services/alert-service-principal#alert-aadds102-service-principal-not-found
Do let us know if you have any further Queries. we are happy to assist you further.