Quantcast
Channel: Forum Microsoft Identity Manager
Viewing all articles
Browse latest Browse all 6657

Powershell - exchange - Add-MailboxPermission stopped working

$
0
0

I am calling the command Add-MailboxPermission in a powershell workflow activity. I recently noticed that it stopped working. It was working fine before. The command after that, Set-mailbox still works.Can someone help me?

param
(
   $AcctName
)

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010

add-MailboxPermission -Identity $AcctName -User "NT Authority\SELF" -Accessright 'Fullaccess' (stopped working)
set-mailbox -identity $AcctName -HiddenFromAddressListsEnabled $false (working fine)



Viewing all articles
Browse latest Browse all 6657

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>