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
Write-Host-ForegroundColor Red "No valid user. Please check the Microsoft Graph connection."
100
+
return
101
+
}
84
102
}
85
103
86
104
Write-Host"Searching for mailbox items with the specified $($MailboxExtendedProperty.Count) extended properties in the mailbox of $($user.UserPrincipalName)."
Copy file name to clipboardexpand all lines: docs/M365/Remove-MailboxExtendedProperty.md
+20-1
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,22 @@ Lastly, repeat the search to check the named properties no longer appear in the
16
16
17
17
### Syntax:
18
18
19
-
Example to search the mailbox for messages with any named properties matching the specific pattern and remove them from the messages.
19
+
Example to search the mailbox for messages with any named properties matching the specific pattern and remove them from the messages, using delegated access.
Example to search the mailbox for messages with any named properties matching the specific pattern and remove them from the messages, using application access.
This script uses the [ExchangeOnlineManagement PowerShell module](Search-MailboxExtendedProperty.md#install-exchangeonlinemanagement-powershell-module) and an Exchange Online connection to be successfully established by a Tenant Admin.
@@ -48,3 +57,13 @@ To connect to Graph, using delegated access, and you don't know the credentials
This script uses the [ExchangeOnlineManagement PowerShell module](#install-exchangeonlinemanagement-powershell-module) and an Exchange Online connection to be successfully established by a Tenant Admin.
@@ -58,17 +66,27 @@ To connect to Graph, using delegated access, and you don't know the credentials
0 commit comments