Skip to content

Commit 2ceb66d

Browse files
authored
Merge pull request MicrosoftDocs#7006 from ZuoMS/master
[Hold] Add a new switch to Remove-MailboxFolderPermission
2 parents f1f7700 + fe7c445 commit 2ceb66d

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

exchange/exchange-ps/exchange/Remove-MailboxFolderPermission.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ For information about the parameter sets in the Syntax section below, see [Excha
2222

2323
```
2424
Remove-MailboxFolderPermission [-Identity] <MailboxFolderIdParameter> -User <MailboxFolderUserIdParameter>
25+
[-ResetDelegateUserCollection]
2526
[-Confirm]
2627
[-DomainController <Fqdn>]
2728
[-WhatIf]
@@ -42,6 +43,13 @@ Remove-MailboxFolderPermission -Identity [email protected]:\Training -User john@co
4243

4344
This example removes John's permissions to the Training folder in Kim's mailbox.
4445

46+
### Example 2
47+
```powershell
48+
Remove-MailboxFolderPermission -Identity [email protected]:\Calendar -ResetDelegateUserCollection
49+
```
50+
51+
This example will clear any corrupted delegate information from Kim’s mailbox.
52+
4553
## PARAMETERS
4654

4755
### -Identity
@@ -149,6 +157,24 @@ Accept pipeline input: False
149157
Accept wildcard characters: False
150158
```
151159

160+
### -ResetDelegateUserCollection
161+
This parameter is available only in the cloud-based service.
162+
163+
The ResetDelegateUserCollection switch can only be used together with -Identity parameter, and the value of Identity should be the user's primary calendar folder, for example, [email protected]:\Calendar. If you run into a problem when trying to add, change, or remove delegate permissions, it is possible that the delegate information stored in the LocalFreeBusy item or the PR_FREEBUSY_ENTRYIDS has become corrupted. Including this switch will delete those files and will downgrade any existing Delegates to Editor status. You will need to grant Delegate permissions again using -SharingPermissionFlag Delegate.
164+
165+
```yaml
166+
Type: SwitchParameter
167+
Parameter Sets: (All)
168+
Aliases:
169+
Applicable: Exchange Online
170+
171+
Required: False
172+
Position: Named
173+
Default value: None
174+
Accept pipeline input: False
175+
Accept wildcard characters: False
176+
```
177+
152178
### -SendNotificationToUser
153179
This parameter is available only in the cloud-based service.
154180

0 commit comments

Comments
 (0)