You need to sign in to do that
Don't have an account?
Dr. Thomas Miller
SCIM: Cannot create a new user with both Phone and MobilePhone.
When you try to create a user and send
"phoneNumbers":[
{
"type": "work",
"value": "02111234567"
},
{
"type": "mobile",
"value": "01721234567"
}
]
you get an error
{
"schemas": "[\"urn:ietf:params:scim:api:messages:2.0:Error\"]",
"detail": "INVALID:only_a_single_phone_is_allowed",
"status": 409
}
This happens although you can send either a work number (stored in Phone) or a mobile number (stored in MobilePhone) - and a GET call returns both numbers when the are set.
So the create (POST) or full update (PUT) request should be able to accept two numbers as well.
"phoneNumbers":[
{
"type": "work",
"value": "02111234567"
},
{
"type": "mobile",
"value": "01721234567"
}
]
you get an error
{
"schemas": "[\"urn:ietf:params:scim:api:messages:2.0:Error\"]",
"detail": "INVALID:only_a_single_phone_is_allowed",
"status": 409
}
This happens although you can send either a work number (stored in Phone) or a mobile number (stored in MobilePhone) - and a GET call returns both numbers when the are set.
So the create (POST) or full update (PUT) request should be able to accept two numbers as well.
This is working as documented. Please check below article and mentioned note.
https://help.salesforce.com/s/articleView?id=sf.identity_scim_update_users.htm&type=5
Thank you,
Sushant Thakur