Simple Form to grant access to exchange online mailbox
Posted: Wed May 07, 2014 10:45 am
Building a simple form to grant "Reviewer" access to another exchange online mailbox.
$buttonSetReaderAccess_Click={
#TODO: Place custom script here
$modaccount = $textbox1.Text
$grantaccess =$textbox2.Text
add-mailboxfolderpermission $modaccount:\Calendar -user $grantaccess -accessrights Reviewer
When I click the button it comes back with:
The specified mailbox "\Calendar" doesn't exist.
ERROR: + CategoryInfo : NotSpecified: (0:Int32) [Add-MailboxFolderPermission], ManagementObjectNotFoundException
ERROR: + FullyQualifiedErrorId : 7860A59C,Microsoft.Exchange.Management.StoreTasks.AddMailboxFolderPermission
The power shell cmdlet I am trying to submit is:
Add-Mailboxfolderpermission john.doe@acme.com:\Calendar -user jane.doe@acme.com -AccessRights Reviewer
Any help or direction would be wonderful.
$buttonSetReaderAccess_Click={
#TODO: Place custom script here
$modaccount = $textbox1.Text
$grantaccess =$textbox2.Text
add-mailboxfolderpermission $modaccount:\Calendar -user $grantaccess -accessrights Reviewer
When I click the button it comes back with:
The specified mailbox "\Calendar" doesn't exist.
ERROR: + CategoryInfo : NotSpecified: (0:Int32) [Add-MailboxFolderPermission], ManagementObjectNotFoundException
ERROR: + FullyQualifiedErrorId : 7860A59C,Microsoft.Exchange.Management.StoreTasks.AddMailboxFolderPermission
The power shell cmdlet I am trying to submit is:
Add-Mailboxfolderpermission john.doe@acme.com:\Calendar -user jane.doe@acme.com -AccessRights Reviewer
Any help or direction would be wonderful.