Closed Badr1600 closed 2 years ago
I'm unable to replicate this, this works for me:
$data = [
'displayName' => 'demo',
'givenName' => 'Demo Smith',
'surname' => 'Smith',
'mobilePhone' => '07429561809'
];
$emails = MsGraph::contacts()->store($data);
Whenever I try to create a new contact with businessPhones or mobilePhone this error message is returned.
{"error":{"code":"UnableToDeserializePostBody","message":"were unable to deserialize "}}
It appears that the store function works only with these parameters: