graph teams remove¶
Removes the specified Microsoft Teams team
graph teams remove [options]
||output usage information|
||The ID of the Teams team to remove|
||Don't prompt for confirming removing the specified team|
||Runs command with verbose logging|
||Runs command with debug logging|
Before using this command, log in to the Microsoft Graph, using the graph login command.
To remove the specified Microsoft Teams team, you have to first log in to the Microsoft Graph using the graph login command, eg.
When deleted, Office 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This applies only to Office 365 groups.
Removes the specified team
graph teams remove --teamId '00000000-0000-0000-0000-000000000000'
Removes the specified team without confirmation
graph teams remove --teamId '00000000-0000-0000-0000-000000000000' --confirm
- directory resource type (deleted items): https://docs.microsoft.com/en-us/graph/api/resources/directory?view=graph-rest-1.0