Create/Modify/Delete Mail Contact Profile Attributes
The followings lists the create mail contact profile attributes:
Note
Attributes marked with an asterisk (*) are mandatory.
Attribute Name |
Description |
---|---|
displayName* |
Display name of the mail contact. |
mailContact_mail* |
External email address of the mail contact. |
mailContact_mailNickname |
Mail nickname of the mail contact. |
mailContact_givenName |
First name of the mail contact. |
mailContact_surname |
Last name of the mail contact. |
{
"ProvisioningPlan": {
"AccountRequest": {
"AttributeRequest": [
{
"name": "displayName",
"op": "Set",
"value": "DummyContact"
},
{
"name": "mailContact_mail",
"op": "Set",
"value": "DummyContact@gmail.com"
},
{
"name": "mailContact_mailNickname",
"op": "Set",
"value": "DummyContact"
},
{
"name": "mailContact_givenName",
"op": "Set",
"value": "DummyContact-FirstName"
},
{
"name": "mailContact_surname",
"op": "Set",
"value": "DummyContact-LastName"
}
],
"op": "Create"
}
}
}
<ProvisioningPlan>
<AccountRequest op="Create">
<AttributeRequest name="displayName" op="Set" value="DummyContact"/>
<AttributeRequest name="mailContact_mail" op="Set" value="DummyContact@gmail.com"/>
<AttributeRequest name="mailContact_mailNickname" op="Set" value="DummyContact"/>
<AttributeRequest name="mailContact_givenName" op="Set" value="DummyContact-FirstName"/>
<AttributeRequest name="mailContact_surname" op="Set" value="DummyContact-LastName"/>
</ProvisioningPlan>
{
"ProvisioningPlan": {
"AccountRequest": {
"AttributeRequest": [
{
"Attributes": {
"Map": {
"entry": {
"key": "assignment",
"value": "true"
}
}
},
"displayValue": "DummyGroupName",
"name": "groups",
"op": "Add",
"value": "0a9bd1d7-a993-47d6-ab01-0e4f709ef42b"
},
{
"name": "mailContact_city",
"op": "Add",
"value": "Delhi"
}
],
"nativeIdentity": "microsoft.mailContact:615a0c76-b18f-456c-b448-83610a600973",
"op": "Modify"
},
"nativeIdentity": "DummyContact"
}
}
<ProvisioningPlan nativeIdentity="DummyContact">
<AccountRequest nativeIdentity="microsoft.mailContact:615a0c76-b18f-476c-b448-83610a600973" op="Modify">
<AttributeRequest displayValue="DummyGroupName" name="groups" op="Add" value="0a9bd1d7-a993-49b8-ab01-0e4f709ef42b">
<Attributes>
<Map>
<entry key="assignment" value="true"/>
</Map>
</Attributes>
</AttributeRequest>
<AttributeRequest name="mailContact_city" op="Add" value="Delhi" />
</AccountRequest>
</ProvisioningPlan>
{
"ProvisioningPlan": {
"AccountRequest": {
"nativeIdentity": "microsoft.mailContact:615a0c76-b18f-476c-b556-83610a600973",
"op": "Delete"
},
"nativeIdentity": "DummyContact"
}
}
<ProvisioningPlan nativeIdentity="DummyContact">
<AccountRequest nativeIdentity="microsoft.mailContact:615a0c76-b18f-476c-b448-83610a600973" op="Delete"></AccountRequest>
</ProvisioningPlan>