Set-MsolCompanySecurityComplianceContactInformation
Updated: July 30, 2015
Applies To: Azure, Azure Active Directory, Office 365, Windows Intune
Note
- The cmdlets were previously known as the Microsoft Online Services Module for Windows PowerShell cmdlets.
The Set-MsolCompanySecurityComplianceContactInformation cmdlet is used to set company-level security and compliance contact preferences. This includes email addresses and phone numbers of the tenant’s security and compliance contacts. The contact will be used for notification purposes.
Syntax
Set-MsolCompanySecurityComplianceContactInformation [-SecurityComplianceNotificationEmails <string[]>] [-SecurityComplianceNotificationPhones <string[]>] [-TenantId <guid>] [<CommonParameters>]
Parameters
-SecurityComplianceNotificationEmails <string>
Company-level security and compliance contact email address.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-SecurityComplianceNotificationPhones <string>
Company-level security and compliance contact phone number.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-TenantId <Guid>
The unique ID of the tenant to perform the operation on. If this is
not provided then the value will default to the tenant of the current
user. This parameter is only applicable to partner users.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
Examples
The following example shows the use of this cmdlet.
Example 1
The following command sets multiple email addresses as company-level security and compliance contacts and respective phone numbers for each contact.
Set-MsolCompanySecurityComplianceContactInformation -securityComplianceNotificationEmails “KatelynCarey@contoso.com "," LewisBowler@contoso.com" -SecuritComplianceNotificationPhones “555-555-0012 ","555-555-0199”
Additional Resources
There are several other places you can get more information and help. These include: