entra organization list
Retrieves a list of organizations
Usage
m365 entra organization list [options]
Options
-p, --properties [properties]
The comma separated list of properties to be returned.
-h, --help [help]
Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options
,examples
,remarks
,response
,full
. Default isoptions
.--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]
Output type.
json
,text
,csv
,md
,none
. Defaultjson
.--verbose
Runs command with verbose logging.
--debug
Runs command with debug logging.
Remarks
Applications granted the User.Read
permission are able to read only the id, displayName, and verifiedDomains properties of the organization.
All other properties return with null values. To read all properties, use at least Organization.Read.All
.
Examples
Retrieve organizations
m365 entra organization list
Retrieve specific info
m365 entra organization list --properties 'id,displayName,tenantType'
Response
- JSON
- Text
- CSV
- Markdown
[
{
"id": "e65b162c-6f87-4eb1-a24e-1b37d3504663",
"deletedDateTime": null,
"businessPhones": [
"4258828080"
],
"city": null,
"country": null,
"countryLetterCode": "IE",
"createdDateTime": "2023-02-21T19:56:38Z",
"defaultUsageLocation": null,
"displayName": "Contoso",
"isMultipleDataLocationsForServicesEnabled": null,
"marketingNotificationEmails": [],
"onPremisesLastSyncDateTime": null,
"onPremisesSyncEnabled": null,
"partnerTenantType": null,
"postalCode": null,
"preferredLanguage": "en",
"securityComplianceNotificationMails": [],
"securityComplianceNotificationPhones": [],
"state": null,
"street": null,
"technicalNotificationMails": [
"[email protected]"
],
"tenantType": "AAD",
"directorySizeQuota": {
"used": 1400,
"total": 300000
},
"assignedPlans": [],
"onPremisesSyncStatus": [],
"privacyProfile": {
"contactEmail": "[email protected]",
"statementUrl": ""
},
"provisionedPlans": [],
"verifiedDomains": [
{
"capabilities": "Email, OfficeCommunicationsOnline",
"isDefault": true,
"isInitial": true,
"name": "contoso.onmicrosoft.com",
"type": "Managed"
},
{
"capabilities": "Email, OfficeCommunicationsOnline, MoeraDomain",
"isDefault": false,
"isInitial": false,
"name": "contoso2.onmicrosoft.com",
"type": "Managed"
}
]
}
]
displayName: Contoso
id : e65b162c-6f87-4eb1-a24e-1b37d3504663
tenantType : AAD
id,deletedDateTime,city,country,countryLetterCode,createdDateTime,defaultUsageLocation,displayName,isMultipleDataLocationsForServicesEnabled,onPremisesLastSyncDateTime,onPremisesSyncEnabled,partnerTenantType,postalCode,preferredLanguage,state,street,tenantType
e65b162c-6f87-4eb1-a24e-1b37d3504663,,,,IE,2023-02-21T19:56:38Z,,Contoso,,,,,,en,,,AAD
# entra organization list --debug "false" --verbose "false"
Date: 4/18/2025
## Contoso (e65b162c-6f87-4eb1-a24e-1b37d3504663)
Property | Value
---------|-------
id | e65b162c-6f87-4eb1-a24e-1b37d3504663
countryLetterCode | IE
createdDateTime | 2023-02-21T19:56:38Z
displayName | Contoso
preferredLanguage | en
tenantType | AAD