SCIM validator: userName -> not an email ?

Benoit Dupont 66 Reputation points
2022-10-25T19:03:51.253+00:00

Hello,

I need to validate my SCIM endpoint using the Microsoft SCIM validator: https://scimvalidator.microsoft.com/

Our endpoint needs a string without special characters as the userName.
The validator sends ******@olson.name but we need the validator to send monique_ohara

When I set the value of userName in the validator I have another issue because the validator sends two POST requests with the same userName.

So, how do I let the validator generate itself a userName that is not an email address ?

In our guidelines, we ask the client to map the mailNickname to userName.

Thanks

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. Owino Akelo - MSFT 76 Reputation points Microsoft Employee
    2022-11-03T13:23:01.887+00:00

    I get you. This loops me back to the earlier issue where you stated that you get two POST's with the same username. The validator is not able to support your scenario at the moment and I recommend you use our Postman collection available at https://github.com/AzureAD/SCIMReferenceCode/wiki to complete the rest of your tests. Let me know if this helps.

    0 comments No comments

  2. Benoit Dupont 66 Reputation points
    2022-11-03T19:37:49.827+00:00

    I tried to run your Postman collection, and the SCIM structure is composed of keys that are not in camelCase.

    Our endpoint is case-sensitive with camelCase.
    Azure AD and your validator send data in camelCase.

    Is it ok if I edit the Postman collection to use only camelCase keys.
    Or maybe you use multiple naming scheme on purpose ?

    Thanks.

    Sample of validator SCIM data

    {  
      "active": true,  
      "addresses": [  
        {  
          "type": "work",  
          "formatted": "09ES9ZOA0824",  
          "streetAddress": "9760 Herminio Streets",  
          "locality": "2FQ34CE2P6XG",  
          "region": "F1UX6Y5HWQQR",  
          "postalCode": "gd1 0re",  
          "primary": true,  
          "country": "Northern Mariana Islands"  
        }  
      ],  
      "displayName": "79DKDXY2ILW9",  
      "emails": [  
        {  
          "type": "work",  
          "value": "******@bradtke.info",  
          "primary": true  
        }  
      ],  
      "locale": "Q2S5S3HIQCWX",  
      "name": {  
        "givenName": "Imani",  
        "familyName": "Kara",  
        "formatted": "Henriette",  
        "middleName": "Jaunita",  
        "honorificPrefix": "Rosella",  
        "honorificSuffix": "Hubert"  
      },  
      "nickName": "JMD9H93WNF1R",  
      "phoneNumbers": [  
        {  
          "type": "work",  
          "value": "(884)818-2753 x5187",  
          "primary": true  
        },  
        {  
          "type": "mobile",  
          "value": "1-228-162-4332 x40140"  
        },  
        {  
          "type": "fax",  
          "value": "157-840-2123 x65988"  
        }  
      ],  
      "preferredLanguage": "DA03HAMASL8J",  
      "profileUrl": "GXTMAYBUSW91",  
      "roles": [  
        {  
          "primary": "True",  
          "display": "7YJ0435OPAFR",  
          "value": "SFB7GAEBTHM5",  
          "type": "0ETKIAEBGD82"  
        }  
      ],  
      "schemas": [  
        "urn:ietf:params:scim:schemas:core:2.0:User",  
        "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"  
      ],  
      "timezone": "WJ4MLGJTRXE1",  
      "title": "3HJ7PG06LY66",  
      "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {  
        "employeeNumber": "HNVC656GDO4C",  
        "department": "E15SUHY2ZN6A",  
        "costCenter": "9QMDX8RDYSTU",  
        "organization": "FZ3GYDBNOZUB",  
        "division": "UN9W5LWYDKM2"  
      },  
      "userName": "******@runte.co.uk",  
      "userType": "KCMVVOB45D1H"  
    }  
    
    0 comments No comments

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.