Passa al contenuto principale

Microsoft365TenantResponse

Successful response with one Microsoft365Tenant

errorintegerrequired

Always 0 in a successful response

Constant value: 0
messagestring | nullnullablerequired

Always null in a successful response

data objectrequired

Microsoft 365 tenant of the account, with its contact data and the state of the Microsoft Customer Agreement

tenant_idintegerrequired
microsoft_uuidstring | nullnullablerequired

Id of the tenant at Microsoft (tenant UUID); null until detected

domain_prefixstring | nullnullablerequired

Prefix of the .onmicrosoft.com domain of the tenant

microsoft_domainstring | nullnullablerequired

Full .onmicrosoft.com domain of the tenant

importedbooleanrequired

Whether the tenant was transferred from another partner (tenant_choice transfer) instead of created new (new)

first_namestring | nullnullablerequired
last_namestring | nullnullablerequired
countrystring | nullnullablerequired

Country of the tenant, as an ISO 3166-1 alpha-2 code, for example IT

company_namestring | nullnullablerequired
addressstring | nullnullablerequired
citystring | nullnullablerequired
statestring | nullnullablerequired

State or province of the tenant address

postal_codestring | nullnullablerequired
email_addressemailnullablerequired
phone_prefixstring | nullnullablerequired

International phone prefix with the leading +, for example +39

phone_numberstring | nullnullablerequired
localestring | nullnullablerequired

Locale of the tenant, for example it_IT or en_US

account_loginstring | nullnullablerequired

Username of the administrator account of the tenant, whose password is sent by email; null when not available

mca_compliantboolean | nullnullablerequired

Whether the Microsoft Customer Agreement (MCA) has been accepted for the tenant; null until checked

mca_sign_datedate-timenullablerequired

Date and time the Microsoft Customer Agreement was accepted; null when not known

mca_template_idstring | nullnullablerequired

Template of the accepted Microsoft Customer Agreement, as an id or as the URL of the agreement; null when not accepted

mca_errorstring | nullnullablerequired

Message of the supplier on the check of the Microsoft Customer Agreement, for example customer is not provisioned yet; null when there is none

metarequired

Always null: only the paginated lists have a meta

Constant value: null
Microsoft365TenantResponse
{
"error": 0,
"message": "string",
"data": {
"tenant_id": 0,
"microsoft_uuid": "string",
"domain_prefix": "string",
"microsoft_domain": "string",
"imported": true,
"first_name": "string",
"last_name": "string",
"country": "string",
"company_name": "string",
"address": "string",
"city": "string",
"state": "string",
"postal_code": "string",
"email_address": "[email protected]",
"phone_prefix": "string",
"phone_number": "string",
"locale": "string",
"account_login": "string",
"mca_compliant": true,
"mca_sign_date": "2024-07-29T15:51:28.071Z",
"mca_template_id": "string",
"mca_error": "string"
}
}