# View the Permissions of Outlook Calendar.

View the Permissions of Outlook Calendar.

I need to view permissions on a Shared Calendar that I have added from  Outlook Address Book. No idea who owns the Calendar or on  which mailbox is located.
When I right click on the calendar name / Properties, I see under Summary tab and under where it says: Folder Contacts: the name of a User who is no longer with the company and he has read Items and Folder visible permissions selected and greyed out.

I need to know in which mailbox the calendar is located so that I can either take  ownership of the mailbox or the Calendar.
I thought that the mailbox  belongs to that user, that has  read Items and Folder visible permissions selected and greyed out. ,but am not sure.

Thank you
###### Who is Participating?

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Enterprise Infrastructure Systems EngineerCommented:
so you know the calendar but not the user who created the calendar ? You can do something like this to start with

Get-Mailbox -ResultSize Unlimited | Get-MailboxFolderStatistics | Where-Object {$_.FolderType -eq "User Created" -and$_.folderpath -like "/calendar/*"} | select identity, name | ft -autosize

in this case you will see the users that have created mailbox folders and to filter other folders out you can narrow down the argument to /calendar/* as you see in the script line above. you should be able to find the calendar name and the users who has that folder created.

you can also give yourself owner rights over the calendar by
add-mailboxfolderpermission -identity riazansary@domain.com:\calendar -user youremail@domain.com -accessrights owner

let me know if this helped. Mark as solutions if it did :)
Author Commented:
is there anyway around using Outlook GUI to do that ?
Author Commented:
Also:

---in the first command:
Get-Mailbox -ResultSize Unlimited | Get-MailboxFolderStatistics | Where-Object {$_.FolderType -eq "User Created" -and$_.folderpath -like "/calendar/*"} | select identity, name | ft -autosize

Where do you specify the calendar name that we know about ?

--- in the second command
add-mailboxfolderpermission -identity riazansary@domain.com:\calendar -user youremail@domain.com -accessrights owner

we do not know yet  the owner of the mailbox who created the Calendar . I see you in your example you put  riazansary@domain.com
Senior Server EngineerCommented:
The only way to do it from Outlook itself is if you have to add the shared calendar to your Outlook, and then go to Properties ---> Permissions tab..............of course you need to have permission to be able to add it. If you don't, then the only way is as Riaz said, using the Exchange Shell.
Author Commented:
can some explain the 2 command Shells posted above what they do ?

---in the first command:
Get-Mailbox -ResultSize Unlimited | Get-MailboxFolderStatistics | Where-Object {$_.FolderType -eq "User Created" -and$_.folderpath -like "/calendar/*"} | select identity, name | ft -autosize

Where do you specify the calendar name that we know about ?

--- in the second command
add-mailboxfolderpermission -identity riazansary@domain.com:\calendar -user youremail@domain.com -accessrights owner

we do not know yet  the owner of the mailbox who created the Calendar . I see you in your example you put  riazansary@domain.com
Author Commented:
Silverwolf

I can add the Calendar to my Outlook
When I right click on the calendar name / Properties, I see under Summary tab and under where it says: Folder Contacts: the name of a User who is no longer with the company and he has read Items and Folder visible permissions selected and greyed out.

It Does not sound like that calendar belongs to that user , otherwise it would show as he has Full Control. If he  was the Owner,then I would just get authorized by HR and reset his password and login to his mailbox.

Riaz posted some commands above, but I need him or someone else to explain those commands :

---in the first command:
Get-Mailbox -ResultSize Unlimited | Get-MailboxFolderStatistics | Where-Object {$_.FolderType -eq "User Created" -and$_.folderpath -like "/calendar/*"} | select identity, name | ft -autosize

Where do you specify the calendar name that we know about ?

--- in the second command
add-mailboxfolderpermission -identity riazansary@domain.com:\calendar -user youremail@domain.com -accessrights owner

we do not know yet  the owner of the mailbox who created the Calendar . I see you in your example you put  riazansary@domain.com
Author Commented:
I want to add this information if it can help.
The shared Calendar shows up in Outlook Global Address List. It is just hard to find on which mailbox it resides .
Author Commented:
Any updates on this question whenever you get a Chance ?
Senior Server EngineerCommented:
Being the owner of a mailbox does not necessarily mean they had Full Permissions. The 2 are independent of each other, even though in some places the owner is given Full Access. For example in my company, the owner is just the person who has to approve any access or change related requests. Most times it is just a senior manager, who does not need access to the mailbox at all. So that could be the case in that instance.

As far as the powershell commands, the first command just pulls a report of all mailboxes that fits the Where-Object parameters. With the second command, as he states in his first post, it is to give you permissions to his calendar. The -identity is where you put the name or email address of the shared mailbox and the -user is where you put your username or email address.

Author Commented:
The -identity is where you put the name or email address of the shared mailbox and the -user is where you put your username or email address.

just to correct this:  It is Shared Calendar, not Shared Mailbox.
================================

Let me explain it clearly.

We have a customer  CUST1 that has Shared Calendar in his Outlook. He can do nothing with it other than just viewing the calendar appointments.He wants to have Full control of the Calendar.

When I right click on the calendar name / Properties,I do not see Permissions tab,  I see under Summary tab and under where it says: Folder Contacts: the name of a User(USER1) who is no longer with the company and he has read Items and Folder visible permissions selected and greyed out.
So even USER1 who shows there does not have Full Mailbox access, which means even if I take over his Mailbox, I might not be able to give myself or to CUST1 full permissions.
The Calendar shows up in Global Address List. But I do not know which mailbox holds that calendar.

For the Powershell above (1st command), it sounds like Exchange Administrator will have to list all calendars in all mailboxes( which is 1000s of mailboxes). I do not see a parameter that says just that specific calendar name.
Senior Technical ConsultantCommented:
In this scenario, the person with Exchange Admin rights (including View Only Administrator - Level 1) can view the permission details of this calendar/mailbox.

To find the Mailbox of the listed calendar:
> Display Name that you see in outlook/ Address Book is the mailbox name
> Open Address book, select the name of the calendar --> Right Click --> Properties  --> Check the Alias field that shows the mailbox login

To get the mailbox/calendar permission using Exchange Management Shell that is connected to your exchange organization:
> Get-MailboxFolderPermission -Identity Alias:\Calendar     (Alias is of the shared calendar that you noted down as explained above)
You should have at least View Only Administrator role assigned.
This will list the current permissions of the calendar.

To check the mailbox permission:
> Get-Mailboxpermission -Identity Alias | ?{$_.IsInherited -Eq$False}
This will list the users who has permission on this shared calendar mailbox.

Experts Exchange Solution brought to you by