AcceptMessagesOnlyFrom |
Gets or sets the senders that can send email messages to the contact.
This reference attribute can take senders in any of the following formats:
This reference attribute accepts the following object types:
|
Read, Write |
AcceptMessagesOnlyFromDLMembers |
Gets or sets the distribution groups whose members are allowed to send email messages to the contact.
This reference attribute can take distribution groups in any of the following formats:
This reference attribute accepts the following object types:
-
DistributionGroup
-
DynamicDistributionGroup |
Read, Write |
AcceptMessagesOnlyFromSendersOrMembers |
Gets or sets the senders who can send email messages to the contact.
This reference attribute can take senders in any of the following formats:
This reference attribute accepts the following object types:
-
Contact
-
DistributionGroup
-
DynamicDistributionGroup
-
Mailbox
-
MailUser |
Read, Write |
Alias |
Gets or sets the alias of the mail-enabled contact. |
Read, Write |
AllowUMCallsFromNonUsers |
Gets or sets whether to exclude or include the contact in directory searches.
This attribute can take one of the following values:
|
Read, Write |
AssistantName |
Gets or sets the name of the contact’s assistant. |
Read, Write |
BypassModerationFromSendersOrMembers |
Gets or sets the senders whose messages bypass moderation for the contact.
This reference attribute can take any of the following values for the senders:
-
Canonical name
-
Display name
-
Distinguished name (DN)
-
GUID
-
Name
-
Legacy Exchange DN
-
Primary SMTP email address
-
Moderation does not apply to the senders designated as moderators for the contact.
-
This reference attribute accepts the following object types:
-
Contact
-
DistributionGroup
-
DynamicDistributionGroup
-
Mailbox
-
MailUser |
Read, Write |
City |
Gets or sets the city of the contact. |
Read, Write |
Company |
Gets or sets the company of the contact. |
Read, Write |
CountryOrRegion |
Gets or sets the country or region of the contact. |
Read, Write |
CreateDTMFMap |
Gets or sets whether to create a dual-tone multi-frequency (DTMF) map for the contact.
This attribute can take one of the following values:
|
Read, Write |
CustomAttribute1 |
Get or set the additional custom values you specify. |
Read, Write |
CustomAttribute2 |
CustomAttribute3 |
CustomAttribute4 |
CustomAttribute5 |
CustomAttribute6 |
CustomAttribute7 |
CustomAttribute8 |
CustomAttribute9 |
CustomAttribute10 |
CustomAttribute11 |
CustomAttribute12 |
CustomAttribute13 |
CustomAttribute14 |
CustomAttribute15 |
Department |
Gets or sets the department of the contact. |
Read, Write |
DisplayName |
Gets or sets the name displayed in Microsoft 365 for the mail-enabled contact. |
Read, Write |
EmailAddresses |
Gets or sets the email alias of the contact. |
Read, Write |
ExtensionCustomAttribute1 |
Get or set the additional custom values you specify. These attributes are multivalued. To specify multiple values, use a comma as a separator. |
Read, Write |
ExtensionCustomAttribute2 |
ExtensionCustomAttribute3 |
ExtensionCustomAttribute4 |
ExtensionCustomAttribute5 |
ExternalDirectoryObjectId |
Gets the GUID of the contact. |
Read |
ExternalEmailAddress |
Gets or sets the contact’s e-mail address. |
Read, Write |
Fax |
Gets or sets the fax number of the contact. |
Read, Write |
FirstName |
Gets or sets the first name of the mail-enabled contact. |
Read, Write |
GrantSendOnBehalfTo |
Gets or sets the distinguished name (DN) of other senders that can send messages on behalf of the contact.
This reference attribute only accepts the following object type:
|
Read, Write |
HiddenFromAddressListsEnabled |
Gets or sets whether or not Microsoft 365 hides the contact from the address lists.
This attribute can take one of the following values:
|
Read, Write |
HomePhone |
Gets or sets the home phone number of the contact. |
Read, Write |
Initials |
Gets or sets the initials of the mail-enabled contact. |
Read, Write |
LastName |
Gets or sets the last name of the mail-enabled contact. |
Read, Write |
MacAttachmentFormat |
Gets or sets the Apple Macintosh operating system attachment format for messages sent to the contact.
This attribute can take the following values:
-
BinHex
-
UuEncode
-
AppleSingle
-
AppleDouble |
Read, Write |
MailTip |
Gets or sets the message displayed to senders when they start writing an email message to the contact. |
Read, Write |
MailTipTranslations |
Gets or sets the MailTip message translations in additional languages.
This attribute accepts the following format:
<LanguageLocale>:<MailTipMessageTranslation>
A MailTip message translation cannot exceed 250 characters. |
Read, Write |
Manager |
Gets or sets the manager of the contact. |
Read, Write |
MaxRecipientPerMessage |
Gets or sets the maximum number of recipients to which the contact can address a message. |
Read, Write |
MessageBodyFormat |
Gets or sets the message body format for messages sent to the contact.
The values this attribute can write depend on the value in the MessageFormat attribute.
When the value in the MessageFormat is Mime, the MessageBodyFormat attribute can write the following values:
When the value in the MessageFormat is Text, the MessageBodyFormat attribute can only write the Text value. |
Read, Write |
MessageFormat |
Gets or sets the message format for messages sent to the contact.
This attribute can take the following values:
|
Read, Write |
MobilePhone |
Gets or sets the mobile phone number of the contact. |
Read, Write |
ModeratedBy |
Gets or sets the moderators who are moderating the messages sent to the contact. To specify multiple moderators, use a comma as a separator.
This reference attribute is required if you set the value of the ModerationEnabled attribute to TRUE.
This reference attribute accepts the following object types:
|
Read, Write |
ModerationEnabled |
Gets or sets whether moderation is enabled for the contact.
This attribute can take one of the following values:
|
Read, Write |
Name |
Gets or sets the name of the mail-enabled contact. |
Read, Write |
Notes |
Gets or sets notes about the contact. |
Read, Write |
ObjectID |
Gets the unique object identifier (GUID). |
Read |
Office |
Gets or sets the office of the contact. |
Read, Write |
OtherFax |
Gets or sets the alternate fax number of the contact. |
Read, Write |
OtherHomePhone |
Gets or sets the alternate home phone number of the contact. |
Read, Write |
Pager |
Gets or sets the pager of the contact. |
Read, Write |
Phone |
Gets or sets the work phone number of the contact. |
Read, Write |
PhoneticDisplayName |
Gets or sets a phonetic pronunciation of the value specified in the DisplayName attribute for the contact. |
Read, Write |
PostalCode |
Gets or sets the postal code of the contact. |
Read, Write |
PostOfficeBox |
Gets or sets the post office box number of the contact. |
Read, Write |
RejectMessagesFrom |
Gets or sets the senders whose messages to the contact are rejected.
This attribute can take senders in one of the following formats:
This reference attribute accepts the following object types:
|
Read, Write |
RejectMessagesFromDLMembers |
Gets or sets the distribution groups whose members cannot send email messages to the contact (their messages are rejected).
This reference attribute can take distribution groups in one of the following formats:
This reference attribute accepts the following object types:
-
DistributionGroup
-
DynamicDistributionGroup |
Read, Write |
RejectMessagesFromSendersOrMembers |
Gets or sets the senders that cannot send email messages to the contact (their messages are rejected).
This reference attribute can take any of the following values for the senders:
This reference attribute accepts the following object types:
-
Contact
-
DistributionGroup
-
DynamicDistributionGroup
-
Mailbox |
Read, Write |
RequireSenderAuthenticationEnabled |
Gets or sets whether the senders that send messages to this contact must be authenticated.
This attribute can take one of the following values:
|
Read, Write |
SecondaryAddress |
Gets or sets the secondary address for the contact if it has Unified Messaging enabled. |
Read, Write |
SecondaryDialPlan |
Gets or sets a secondary Unified Messaging dial plan for the contact. |
Read, Write |
SendModerationNotifications |
Gets or sets whether to send status notifications to users when a message they sent to the moderated distribution group is rejected by a moderator.
This attribute can take one of the following values:
-
Always: Specifies that notifications are sent to all senders.
-
Internal: Specifies that notifications are only sent to the senders internal to your organization.
-
Never: Specifies that all status notifications are disabled. |
Read, Write |
SimpleDisplayName |
Gets or sets an alternate description of the contact in a situation where a limited set of characters is allowed.
The limited set of characters includes ASCII characters from 26 to 126. |
Read, Write |
StateOrProvince |
Gets or sets the state or province of the contact. |
Read, Write |
StreetAddress |
Gets or sets the street address of the contact. |
Read, Write |
TelephoneAssistant |
Gets or sets the phone number of the contact’s assistant. |
Read, Write |
Title |
Gets or sets the title of the contact. |
Read, Write |
UMCallingLineIds |
Gets or sets telephone numbers or telephone extensions that can be mapped to the contact if it has Unified Messaging enabled.
To specify multiple telephone numbers use a comma as a separator.
This attribute only accepts values that have less than 128 characters. |
Read, Write |
UMDtmfMap |
Gets or sets whether to create a user-defined DTMF map for the contact if it has Unified Messaging enabled. |
Read, Write |
UseMapiRichTextFormat |
Gets or sets a format for the MAPI Rich Text Format messages sent to the contact.
This attribute can take one of the following values:
-
Never: Specifies to convert all messages sent to the contact to the plain text format.
-
Always: Specifies to always use the MAPI Rich Text Format (RTF) for the messages sent to the contact.
-
UseDefaultSettings: Specifies to use the message format set in the MAPI client that sent the message to the contact. |
Read, Write |
UsePreferMessageFormat |
Gets or sets whether the message format specified for the contact overrides any global settings (such as those configured for the remote domain).
This attribute can take one of the following values:
|
Read, Write |
WebPage |
Gets or sets the web page address of the contact. |
Read, Write |
WindowsEmailAddress |
Gets or sets the email address of the contact stored in Active Directory. |
Read, Write |