Does AAD SCIM Provisioning works if my app is running on localhost, just for testing ?

Akash Chopra 1 Reputation point
2021-06-01T05:09:58.147+00:00

I am trying to build a non gallery app that exposes a SCIM endpoint in java. Currently I have deployed it on localhost.
But When in the provisioning section, I provide the localhost path in the tenant URL , AAD SCIM interface is not able to connect to my app with the following error -

You appear to have entered invalid credentials. Please confirm you are using the correct information for an administrative account.

Error code: SystemForCrossDomainIdentityManagementCredentialValidationUnavailable
Details: We received this unexpected response from your application:

Message: An error occurred while sending the request.

Please check the service and try again.
Request-id: 013b6236-0049-4de2-a9d3-287112b47ec7

Please assist.

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

2 answers

Sort by: Most helpful
  1. Danny Zollner 10,801 Reputation points Microsoft Employee Moderator
    2021-06-09T19:21:43.427+00:00

    Our SCIM provisioning service does require public DNS availability. We have a new feature that is in a limited public preview that may be a better fit for this situation though - please check out this documentation and request access to the preview if it sounds like it meets your needs: https://learn.microsoft.com/en-us/azure/active-directory/app-provisioning/on-premises-scim-provisioning

    1 person found this answer helpful.

  2. Siva-kumar-selvaraj 15,721 Reputation points
    2021-06-03T07:30:14.78+00:00

    Hello @Akash Chopra ,

    Thanks for reaching out and apologize for delayed response.

    You can use http endpoints for testing locally, but the Azure AD provisioning service requires that your endpoint supports HTTPS and make sure your SCIM solution is compliance with TLS Protocol standard per this guidance.

    Here is sample SCIM endpoint in Azure Active Directory which you can use for testing.

    To learn more about, refer these articles:
    https://github.com/AzureAD/SCIMReferenceCode/wiki/Test-Your-SCIM-Endpoint
    https://learn.microsoft.com/en-us/azure/active-directory/app-provisioning/use-scim-to-provision-users-and-groups#building-a-custom-scim-endpoint

    Hope this helps.

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


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.