Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Add-MailboxPermission for Office 365 mailboxes error

$
0
0

Hi,

I have a hybrid Exchange 2010 / Office 365 environment. I am getting errors when trying to grant full access for groups to mailboxes in Office 365.

I am using this line:

Add-MailboxPermission -Identity "Mailbox Name" -User "Group Name" -AccessRights FullAccess -InheritanceType All

An it generates this error:

Add-MailboxPermission: "Mailbox Name" wasn't found. Please make sure you've typed it correctly.

Also I am not able to find mailboxes with Get-Mailbox "Mailbox Name"

I am only able to connect to mailboxes by using Get-RemoteMailbox "Mailbox Name"

The mailboxes only exist in Office 365 and as a result the Add-MailboxPermission or Get-RemoteMailbox cmdlets do not seem to work.

Can anybody explain what is happening or what I need to do to get this to work please?



Viewing all articles
Browse latest Browse all 21975

Latest Images

Trending Articles



Latest Images

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