Skip to main content

entra m365group renew

Renews Microsoft 365 group's expiration

Usage

m365 entra m365group renew [options]

Options

-i, --id [id]

The ID of the Microsoft 365 group to renew. Specify either id or displayName, but not both.

-n, --displayName [displayName]

Display name of the Microsoft 365 Group to renew. Specify either id or displayName, but not both.

-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

If the specified id doesn't refer to an existing group, you will get a The remote server returned an error: (404) Not Found. error.

Examples

Renew the Microsoft 365 group with id 28beab62-7540-4db1-a23f-29a6018a3848

m365 entra m365group renew --id 28beab62-7540-4db1-a23f-29a6018a3848

Renew the Microsoft 365 group with displayName Finance

m365 entra m365group renew --displayName Finance

Response

The command won't return a response on success.

CTRL + M