IAdmM365TenantCompanyInfo

The IAdmM365TenantCompanyInfo interface provides information about a company associated with a Microsoft 365 tenant.

Properties

  • Property

  • Description

  • City

  • Gets the town or city specified for the Microsoft 365 tenant.

  • Country

  • Gets the country specified for the Microsoft 365 tenant.

  • CountryLetterCode

  • Gets the two-letter code of the country where the company is located.

  • DirectorySynchronizationEnabled

  • Gets a value indicating whether Active Directory and Microsoft 365 are synchronized using Microsoft Entra Connect.

  • LastDirSyncTime

  • Gets the UTC time when the latest directory synchronization occurred.

  • MarketingNotificationEmails

  • Gets a list of email addresses to send marketing notifications to.

  • OrganizationName

  • Gets the company name.

  • PostalCode

  • Gets the company's postal or zip code for mail delivery.

  • PreferredLanguage

  • Gets the language for all communications that are sent from Microsoft to the company.

  • State

  • Gets the state or province specified for the Microsoft 365 tenant.

  • Street

  • Gets the street address specified for the Microsoft 365 tenant.

  • TechnicalNotificationEmails

  • Gets email addresses to receive communications about Microsoft 365 service status and directory synchronization notifications.

  • TelephoneNumber

  • Gets the primary telephone number registered in Microsoft 365.

Details

City

Gets the town or city specified for the Microsoft 365 tenant.

  • Type:
  • string
  • Access:
  • Read-only

Country

Gets the country specified for the Microsoft 365 tenant.

  • Type:
  • string
  • Access:
  • Read-only

CountryLetterCode

Gets the two-letter code of the country where the company is located. Possible country codes are defined in ISO 3166-1.

  • Type:
  • string
  • Access:
  • Read-only

DirectorySynchronizationEnabled

Gets a value indicating whether Active Directory and Microsoft 365 are synchronized using the Microsoft Entra Connect tool.

  • Type:
  • bool
  • Access:
  • Read-only

LastDirSyncTime

Gets the UTC time when the latest directory synchronization occurred. If Active Directory and Microsoft 365 have never been synchronized, the property returns DateTime.MinValue.

  • Type:
  • DateTime
  • Access:
  • Read-only

MarketingNotificationEmails

Gets a list of email addresses to send marketing notifications to.

  • Type:
  • string[]
  • Access:
  • Read-only

OrganizationName

Gets the company name.

  • Type:
  • string
  • Access:
  • Read-only

PostalCode

Gets the company's postal or zip code for mail delivery.

  • Type:
  • string
  • Access:
  • Read-only

PreferredLanguage

Gets the language for all communications that are sent from Microsoft to the company.

  • Type:
  • string
  • Access:
  • Read-only

State

Gets the state or province specified for the Microsoft 365 tenant.

  • Type:
  • string
  • Access:
  • Read-only

Street

Gets the street address specified for the Microsoft 365 tenant.

  • Type:
  • string
  • Access:
  • Read-only

TechnicalNotificationEmails

Gets email addresses to receive communications about Microsoft 365 service status and directory synchronization notifications.

  • Type:
  • string[]
  • Access:
  • Read-only

TelephoneNumber

Gets the primary telephone number registered in Microsoft 365.

  • Type:
  • string
  • Access:
  • Read-only

Requirements

Minimum required version: 2023

See also