Okta Microsoft Office 365 Provisioning Error Occurs Due to a Duplicate ImmutableID
Last Updated:
Overview
When provisioning a new user in Microsoft Office 365, the provisioning flow fails with an error.
Another object with the same value for property onPremisesImmutableId already exists. httpStatusCode=400 errorCode=Request_BadRequest errorMessage="Another object with the same value for property onPremisesImmutableId already exists." client-request-id=11111 request-id=11111 timestamp='Fri, 16 Dec 2022 19:17:10 GMT' method=POST url=https://graph.microsoft.com/v1.0/users
This occurs because the ImmutableID matches an existing user in Microsoft Office 365. Resolve this issue by ensuring that the ImmutableID has a unique value for each user, as specified in Microsoft documentation.
Applies To
- Okta Identity Engine (OIE)
- Okta Classic Engine
- Microsoft Office 365
- Provisioning
Cause
This error occurs when provisioning a new user in Microsoft Office 365, and the ImmutableID matches the ImmutableID of an existing user.
Solution
How is the duplicate ImmutableID error resolved?
The ImmutableID must have a unique value for each user. Resolve this issue by following the guidance in the Microsoft Article to identify and fix duplicate attributes.
