Microsoft Entra ID
Standards

Entra Id Scim Api Reference

In brief

The SCIM API reference now states that mailNickname may be omitted, null, or empty when creating a user. Microsoft Entra ID derives it from the characters before the first @ in userName. After creation, it cannot be removed with PATCH.

What Entra admins need to know

SCIM integrations can omit mailNickname when appropriate, but should account for Entra ID deriving the value. No administrator action is required.

This editorial summary was generated by AI from the documentation changes. Verify important details in the full Microsoft Learn article.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

  "schemaExtensions": [
    {
      "schema": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User",
      "required": truefalse
    },
    {
      "schema": "urn:ietf:params:scim:schemas:extension:Microsoft:Entra:2.0:User",
      "required": truefalse
    }
  ],
  "meta": {

"schemaExtensions": [ { "schema": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User", "required": truefalse } ], "meta": {

  • displayName

  • urn:ietf:params:scim:schemas:extension:Microsoft:Entra:2.0:User:mailNickname

Example 1 – Create a new user

{
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User",
    "urn:ietf:params:scim:schemas:extension:Microsoft:Entra:2.0:User"
  ],
  "active": true,
  "displayName": "Example User",
  "name": {
    "familyName": "Example familyName",
    "givenName": "Example givenName"
  },
  "urn:ietf:params:scim:schemas:extension:Microsoft:Entra:2.0:User": {
    "mailNickname": "abc123"
  }
}

Returns the SCIM representation of the user created.

Update a user

The /users endpoint allows a PATCH request to be made for updating an existing user profile.

  • For PATCH operations, while updating complex multi-valued attributes like addresses, the path property only supports “[type eq " work"]" filter.

  • Mandatory attribute mailNickname can't be removed using PATCH operation.

Example 1 – Update an attribute value

Example 1 – Create a new user

{
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User"
  ],
  "active": true,
  "displayName": "Example User",
  "name": {
    "familyName": "Example familyName",
    "givenName": "Example givenName"
  }
}

Returns the SCIM representation of the user created.

In this example, Microsoft Entra ID derives the mailNickname value abc123 from userName.

Update a user

The /users endpoint allows a PATCH request to be made for updating an existing user profile.

  • For PATCH operations, while updating complex multi-valued attributes like addresses, the path property only supports “[type eq " work"]" filter.

  • After a user is created, the mailNickname attribute can't be removed by using a PATCH operation.

Example 1 – Update an attribute value

Daily Entra.News

Get daily email updates

Get a concise summary of the latest Microsoft Entra updates delivered straight to your inbox.

Loading the secure signup form…