Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Set-EntraTenantDetail

Set contact details for a tenant.

Syntax

Default (Default)

Set-EntraTenantDetail

 [-PrivacyProfile <PrivacyProfile>]
 [-MarketingNotificationEmails <System.Collections.Generic.List`1[System.String]>]
 [-TechnicalNotificationMails <System.Collections.Generic.List`1[System.String]>]
 [-SecurityComplianceNotificationMails <System.Collections.Generic.List`1[System.String]>]
 [-SecurityComplianceNotificationPhones <System.Collections.Generic.List`1[System.String]>]
 [<CommonParameters>]

Description

This cmdlet is used to set various contact details for a tenant.

For delegated scenarios, the signed-in user must have at least one of the following Microsoft Entra roles.

  • Application Administrator
  • Cloud Application Administrator
  • Privileged Role Administrator
  • User Administrator
  • Helpdesk Administrator

Examples

Example 1: Set contact details for a tenant

Connect-Entra -Scopes 'Organization.ReadWrite.All'
$params = @{
 MarketingNotificationEmails = @('amy@contoso.com', 'henry@contoso.com')
 SecurityComplianceNotificationMails = @('john@contoso.com', 'mary@contoso.com')
 SecurityComplianceNotificationPhones = @('1-555-625-9999', '1-555-233-5544')
 TechnicalNotificationMails = 'peter@contoso.com'
}

Set-EntraTenantDetail @params

This example demonstrates how to set various contact details for a tenant.

  • -MarketingNotificationEmails parameter indicates the email addresses that are used to send marketing notification emails.
  • -SecurityComplianceNotificationMails parameter indicates the email addresses that are used to send security compliance emails.
  • -SecurityComplianceNotificationPhones parameter specifies the phone numbers that are used for security compliance.
  • -TechnicalNotificationMails parameter indicates the email addresses that are used for technical notification emails.

Example 2: Set MarketingNotificationEmails for a tenant

Connect-Entra -Scopes 'Organization.ReadWrite.All'
Set-EntraTenantDetail -MarketingNotificationEmails @('amy@contoso.com','henry@contoso.com')

This example demonstrates how to set MarketingNotificationEmails detail for a tenant.

  • -MarketingNotificationEmails parameter indicates the email addresses that are used to send marketing notification emails.

Example 3: Set SecurityComplianceNotificationMails for a tenant

Connect-Entra -Scopes 'Organization.ReadWrite.All'
Set-EntraTenantDetail -SecurityComplianceNotificationMails @('john@contoso.com','mary@contoso.com')

This example demonstrates how to set SecurityComplianceNotificationMails detail for a tenant.

  • -SecurityComplianceNotificationMails parameter indicates the email addresses that are used to send security compliance emails.

Example 4: Set -SecurityComplianceNotificationPhones for a tenant

Connect-Entra -Scopes 'Organization.ReadWrite.All'
Set-EntraTenantDetail -SecurityComplianceNotificationPhones @('1-555-625-9999', '1-555-233-5544')

This example demonstrates how to set MarketingNotificationEmails detail for a tenant.

  • -SecurityComplianceNotificationPhones parameter specifies the phone numbers that are used for security compliance.

Example 5: Set TechnicalNotificationMails for a tenant

Connect-Entra -Scopes 'Organization.ReadWrite.All'
Set-EntraTenantDetail -TechnicalNotificationMails 'peter@contoso.com'

This example demonstrates how to set TechnicalNotificationMails detail for a tenant.

  • -TechnicalNotificationMails parameter indicates the email addresses that are used for technical notification emails.

Parameters

-MarketingNotificationEmails

The email addresses that are used to send marketing notification emails.

Parameter properties

Type:

System.Collections.Generic.List`1[System.String]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-PrivacyProfile

Represents a company's privacy profile, which includes a privacy statement URL and a contact person for questions regarding the privacy statement.

Parameter properties

Type:PrivacyProfile
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-SecurityComplianceNotificationMails

The email addresses that are used to send security compliance emails.

Parameter properties

Type:

System.Collections.Generic.List`1[System.String]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-SecurityComplianceNotificationPhones

One or more phone numbers that are used for security compliance.

Parameter properties

Type:

System.Collections.Generic.List`1[System.String]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-TechnicalNotificationMails

The email addresses that are used for technical notification emails.

Parameter properties

Type:

System.Collections.Generic.List`1[System.String]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object

Notes

Related Links


Feedback

Was this page helpful?