You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/aad-replace-owner-with-a-different-one/README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,10 @@
6
6
7
7
Find all the Microsoft 365 Groups that a user is an Owner of and replace them with someone else useful for when an employee leaves and ownership needs to be updated.
8
8
9
+
Example usage of CLI for Microsoft 365 sample:
10
+
11
+

12
+
9
13
# [PnP PowerShell](#tab/pnpps)
10
14
11
15
```powershell
@@ -166,7 +170,7 @@ process {
166
170
167
171
if ($PSCmdlet.ShouldProcess($group.displayName, "Replace owner '$OldOwnerUpn' with '$NewOwnerUpn'")) {
0 commit comments