Entra ID Provisioning not sending User-Agent header to SCIM server tenant

Miguel Rodriguez 20 Reputation points
2023-12-05T12:29:15.1833333+00:00

Hi, I created a "non-gallery" Enterprise Application from my Entra Admin Center and now I am testing the SCIM "Automatic" Provisioning following this guide: https://learn.microsoft.com/en-us/entra/identity/app-provisioning/use-scim-to-provision-users-and-groups#integrate-your-scim-endpoint-with-the-microsoft-entra-provisioning-service

In Admin Credentials I introduce the Tenant URL and the Secret Token and when I click on Test Connection I get a 403 (see screenshot). Apparently the requests coming from Entra ID are being blocked by the target firewall (SCIM server side) because they are lacking the "User-Agent" header. (E.g: request Id c902afe1-a3e8-48b4-a3a3-92801e786c6e)

Can you please confirm if this is correct? Is there anything I can do in Entra ID to provide this header in the request?

Thank you!

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

Accepted answer
  1. Danny Zollner 10,801 Reputation points Microsoft Employee Moderator
    2023-12-05T15:01:29.19+00:00

    Entra ID Provisioning does not currently send a User-Agent header. Per the HTTP spec, it is recommended but not required. Our engineering team has a backlog item to add this, but due to the potential that suddenly changing to include a header could disrupt existing consumers of the provisioning service's SCIM requests, this will be released in the future as part in a manner that is opt-in.

    At present, your options are to adjust the firewall rules to make an exception for the User-Agent header from the Entra ID Provisioning requests, or possibly look at using on-premises provisioning to pass the requests through an agent that runs on a server on your local network and only uses outbound connectivity, therefore bypassing the inbound firewall rules you mentioned.

    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.