Skip to content

Commit a974e48

Browse files
authored
Merge pull request #28547 from MicrosoftDocs/daisyfell-manage-groups
new sections
2 parents b28aa36 + 5ec7a9f commit a974e48

2 files changed

Lines changed: 34 additions & 13 deletions

File tree

microsoft-365/admin/create-groups/explain-groups-knowledge-worker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Explaining Microsoft 365 Groups to your users"
3-
ms.reviewer: bhatre
3+
ms.reviewer: batre
44
ms.date: 05/21/2025
55
f1.keywords: NOCSH
66
author: DaniEASmith

microsoft-365/admin/create-groups/manage-groups.md

Lines changed: 33 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Manage a group in the admin center"
3-
ms.reviewer: rahulnayak
4-
ms.date: 06/17/2024
3+
ms.reviewer: batre
4+
ms.date: 05/23/2025
55
f1.keywords: NOCSH
66
author: DaniEASmith
77
ms.author: danismith
@@ -42,6 +42,22 @@ Go to the Microsoft 365 admin center at <a href="https://go.microsoft.com/fwlink
4242

4343
3. Update the name and description, and then select **Save**.
4444

45+
## Change the email address or email domain of the group
46+
47+
You can change the email address of a Microsoft 365 group or Microsoft Teams by using the Microsoft 365 admin center. Just select the group and select @edit email address.
48+
49+
You can also use the following EXO PowerShell command to change the primary SMTP address of a Microsoft 365 group/Teams:
50+
51+
```powershell
52+
Set-UnifiedGroup <Group Name> -PrimarySmtpAddress <new SMTP Address>
53+
```
54+
55+
Example:
56+
57+
```powershell
58+
Set-UnifiedGroup Marketing -PrimarySmtpAddress [email protected]
59+
```
60+
4561
## Manage group owners and members
4662

4763
1. In the admin center, expand **Teams & groups**, and then click <a href="https://go.microsoft.com/fwlink/p/?linkid=2052855" target="_blank">**Active teams & groups**</a>.
@@ -88,20 +104,25 @@ This option is great if you want to have a company email address such as info@co
88104
## Permanently delete a Microsoft 365 group
89105

90106
Sometimes you may want to permanently purge a group without waiting for the 30 day soft-deletion period to expire. To do that, start PowerShell and run this command to get the object ID of the group:
91-
92-
```powershell
93-
Get-MgDirectoryDeletedItem
107+
108+
First, install Microsoft Graph PowerShell.
109+
110+
Then run the following command:
111+
112+
```powershell
113+
Connect-MgGraph -Scopes "Group.ReadWrite.All"
94114
```
95115

96-
Take note of the object ID of the group, or groups, that you want to permanently delete.
97-
98-
> [!CAUTION]
99-
> Purging the group removes the group and its data forever.
100-
101-
To purge the group run this command in PowerShell:
116+
Then use this command to list deleted groups:
117+
118+
```powershell
119+
Get-MgDirectoryDeletedGroup
120+
```
121+
122+
Note down the ID of group you are looking to permenantly delete and then run the following command:
102123

103124
```powershell
104-
Remove-MgDirectoryObject -DirectoryObjectId <objectId>
125+
Remove-MgDirectoryDeletedItem -DirectoryObjectId <ID of the group to be permenantly deleted>
105126
```
106127

107128
To confirm that the group has been successfully purged, run the *Get-MgDirectoryDeletedItem* cmdlet again to confirm that the group no longer appears on the list of soft-deleted groups. In some cases it may take as long as 24 hours for the group and all of its data to be permanently deleted.

0 commit comments

Comments
 (0)