Azure AD has issued a SAML token for another instance of the application with the identifier (EntityID) spn:(string). Delete the other instance or update the identifier (EntityID) value on the application side.

Samuel Purcell 36 Reputation points
2021-09-03T01:58:30.683+00:00

Getting the following error when trying to integrate Okta and Azure. Okta is the SP in this scenario.

"Azure AD has issued a SAML token for another instance of the application with the identifier (EntityID) spn:f3c9ff37-1f6f-45ef-8ec1-e76841d2f31f. Delete the other instance or update the identifier (EntityID) value on the application side."

I have tried removing the Azure custom SAML 2.0 application and creating a new one. All of the metadata on both sides appears to be correct.

Is this issue in Azure or Okta and what do I need to change to correct it?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} vote

Accepted answer
  1. AmanpreetSingh-MSFT 56,876 Reputation points Moderator
    2021-09-03T04:00:23.417+00:00

    Hi @Samuel Purcell • Thank you for reaching out.

    This seems to be a configuration issue at Azure side. Could you please check below points:

    1. Navigate to Azure Active Directory > Enterprise Applications > Search for the Okta app. If there are multiple instances of the servicePrincipal, please delete one of the instances from the directory. Also delete the associated Application objects under Azure AD > App Registrations, and click on delete permanently button under Deleted applications (Preview) tab of App registrations blade as well.
    2. If there is only one instance of the application under Enterprise Applications blade, please make sure that there is an identifier (EntityID) is marked as default.

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.

0 additional answers

Sort by: Most 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.