Skip to content

aad o365group teamify

Creates a new Microsoft Teams team under existing Microsoft 365 group

Usage

m365 aad o365group teamify [options]

Options

-i, --id [id]
The ID of the Microsoft 365 Group to connect to Microsoft Teams. Specify either id or mailNickname but not both
--mailNickname [mailNickname]
The mail alias of the Microsoft 365 Group to connect to Microsoft Teams. Specify either id or mailNickname 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 full.
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text,csv,md. Default json
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Examples

Creates a new Microsoft Teams team under existing Microsoft 365 group with id e3f60f99-0bad-481f-9e9f-ff0f572fbd03

m365 aad o365group teamify --id e3f60f99-0bad-481f-9e9f-ff0f572fbd03

Creates a new Microsoft Teams team under existing Microsoft 365 group with mailNickname GroupName

m365 aad o365group teamify --mailNickname GroupName