Skip to main content

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 is options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Remarks

info

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

[
{
"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"
}
]
}
]

More information

CTRL + M