Skip to main content

entra m365group get

Gets information about the specified Microsoft 365 Group or Microsoft Teams team

Usage

m365 entra m365group get [options]

Alias

m365 aad m365group get [options]

Options

-i, --id <id>

The ID of the Microsoft 365 Group or Microsoft Teams team to retrieve information for

--includeSiteUrl

Set to retrieve the site URL for the group

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

Examples

Get information about the Microsoft 365 Group with id 1caf7dcd-7e83-4c3a-94f7-932a1299c844

m365 entra m365group get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844

Get information about the Microsoft 365 Group with id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 and also retrieve the URL of the corresponding SharePoint site

m365 entra m365group get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --includeSiteUrl

Response

{
"id": "ff99b38f-0a4b-4fbb-a034-b86988061e6d",
"deletedDateTime": null,
"classification": null,
"createdDateTime": "2023-06-01T20:18:30Z",
"creationOptions": [],
"description": "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more.",
"displayName": "Finance",
"expirationDateTime": null,
"groupTypes": [
"Unified"
],
"isAssignableToRole": null,
"mail": "finance@contoso.onmicrosoft.com",
"mailEnabled": true,
"mailNickname": "finance",
"membershipRule": null,
"membershipRuleProcessingState": null,
"onPremisesDomainName": null,
"onPremisesLastSyncDateTime": null,
"onPremisesNetBiosName": null,
"onPremisesSamAccountName": null,
"onPremisesSecurityIdentifier": null,
"onPremisesSyncEnabled": null,
"preferredDataLocation": null,
"preferredLanguage": null,
"proxyAddresses": [
"SMTP:finance@contoso.onmicrosoft.com"
],
"renewedDateTime": "2023-06-01T20:18:30Z",
"resourceBehaviorOptions": [],
"resourceProvisioningOptions": [],
"securityEnabled": false,
"securityIdentifier": "S-1-12-1-4288263055-1337657931-1773679776-1830684296",
"theme": null,
"visibility": "Public",
"onPremisesProvisioningErrors": []
}
CTRL + M