Application with identifier 'https://sts.windows.net/xxxxxx/' was not found in the directory 'Default Directory'

CC0262 5 Reputation points
2023-07-12T09:15:27.2766667+00:00

I followed https://learn.microsoft.com/en-us/azure/active-directory/saas-apps/adobeexperiencemanager-tutorial this tutorial to set up my configurations in order to integrate Azure AD SSO with my local application. However, I am getting the error "AADSTS700016: Application with identifier 'https://sts.windows.net/xxxxxx/' was not found in the directory 'Default Directory'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant." I could not figure out the reason

Here is my Azure AD set up

User's image

User's image

Here's my SAML configuration User's image

This is the error code I get when logged in

User's image

Any help is appreciated. Thank you!

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 37,221 Reputation points Microsoft Employee Moderator
    2023-07-12T21:59:52.4133333+00:00

    @CC0262

    Thank you for your post!

    Error:

    AADSTS700016: Application with identifier 'https://sts.windows.net/xxxxxx/' was not found in the directory 'Default Directory'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.

    I understand that you followed the Azure Active Directory integration with Adobe Experience Manager documentation to set-up and configure Azure AD SSO, but when trying to login you ran into the AADSTS700016 error message. To hopefully help point you in the right direction or resolve your issue, I'll share my findings along with some troubleshooting steps below.


    Findings:

    Note: If you the Assignment Required option is set to yes, then users and other apps or services must first be assigned this application before being able to access it.

    User's image

    I hope this helps! If you're still having issues logging-in after assigning a user to your Adobe Experience Manager app, please let me know.

    Thank you for your time and patience throughout this issue.


    If the information helped address your question, please Accept the answer. This will help us and also improve searchability for others in the community who might be researching similar information.


Your answer

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