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 |
---|---|
mailContact_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. |
Sample provisioning request - Create Mail Contact
<ProvisioningPlan>
<AccountRequest op="Create">
<AttributeRequest name="accountType" op="Add" value="Mail Contact"/>
<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>
Same provisioning request - Modify Mail Contact
<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>
Sample provisioning request - Delete Mail Contact
<ProvisioningPlan nativeIdentity="DummyContact">
<AccountRequest nativeIdentity="microsoft.mailContact:615a0c76-b18f-476c-b448-83610a600973" op="Delete"></AccountRequest>
</ProvisioningPlan>