Hi M N, Shashank I hope I can help you with this question.
The example in the RFC protocol shows how to handle multi-values.
RFC 7644 SCIM Protocol Specification September 2015
If the user was already a member of this group, no changes should be
made to the resource, and a success response should be returned.
The server responds with either the entire updated Group or no
response body:
HTTP/1.1 204 No Content
Authorization: Bearer h480djs93hd8
ETag: W/"b431af54f0671a2"
Location:
"https://example.com/Groups/acbf3ae7-8463-...-9b4da3f908ce"
The following example shows how to add one or more attributes to a
User resource without using a "path" attribute.
PATCH /Users/2819c223-7f76-453a-919d-413861904646
Host: example.com
Accept: application/scim+json
Content-Type: application/scim+json
Authorization: Bearer h480djs93hd8
If-Match: W/"a330bc54f0671c9"
{
"schemas":
["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
"Operations":[{
"op":"add",
"value":{
"emails":[
{
"value":"******@jensen.org",
"type":"home"
}
],
"nickname":"Babs"
}]
}
In the above example, an additional value is added to the
multi-valued attribute "emails". The second attribute, "nickname",
is added to the User resource. If the resource already had an
existing "nickname", the value is replaced per the processing rules
above for single-valued attributes.
To your second question.
The Get User Endpoint should give you more information about the user
https://learn.microsoft.com/en-us/graph/api/user-get?view=graph-rest-1.0&tabs=http#response-1
Does this help you?
If the reply was helpful, please don’t forget to upvote or accept it as an answer, thank you.