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, --groupId [groupId]
The ID of the Microsoft 365 Group to connect to Microsoft Teams. Specify either groupId or mailNickname but not both
--mailNickname [mailNickname]
The mail alias of the Microsoft 365 Group to connect to Microsoft Teams. Specify either groupId or mailNickname but not both
-h, --help
output usage information
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text. Default text
--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 --groupId 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