Jump to content

Recommended Posts

Posted

Hi,

 

Is it possible to give users access to a calendar belonging to a staff member? The person is away on leave ATM, and I cannot contact him. I believe the calendar is one he created, so is it possible to view that with powershell.

 

This shows for a given user, but does it show for calendars they have created and shared themselves?:

 

Get-MailboxFolderPermission -identity “username:\Calendar”

 

Hope this makes some sense. I don't want their personal calendar details.

 

Cheers

Posted

If you list his calendars using the following you should see the property "HasSubFolders" is $True for the folder "Calendar" any other calendars he has created will be listed here as child objects:

 

Get-MailboxFolder -Identity username:\Calendar -Recurse

 

You should be able to identify the one you need to add permissions on it using.

 

Add-MailboxFolderPermission -Identity username:\Calendar\$CalendarName -AccessRights ReadItems -User "[email protected]"

 

 

That should allow you to give a group of users read permission on the target calendar.Other access rights properties listed here.

Posted (edited)

Hi, thanks for all that. I just tried the first command, and it doesn't like the -Recurse parameter. (The command without the -Recurse works fine btw)

 

Also, once permission is given, how does the end user access the calendar?

Edited by SimonInOz
Posted
The recurse parameter on "Get-MailboxFolder" is supported on Exchange 2010 through to Exchange 2019 and Exchange Online. Are you definitely using "Get-MailboxFolder" and not "Get-MailboxFolderPermission"?
Posted

hmm, command didn't work for the user I wanted to look at, but did for my own. Not sure why, will have a look at it.

 

It says the specified mailbox does not exist. It does, he is a colleague and he is definitely on AD and O365 as a user with a mailbox.

Posted

You should not need to use -Recurse

 

Just running

Add-MailboxFolderPermission -Identity username:\Calendar -User "[email protected]" -AccessRights LimitedDetails

will add the option for someone to see the times and the name provided for the session (but not information in the notes)

 

The user can then just select to add a shared calendar and select it from the directory list

Posted
You should not need to use -Recurse

 

Just running

Add-MailboxFolderPermission -Identity username:\Calendar -User "[email protected]" -AccessRights LimitedDetails

will add the option for someone to see the times and the name provided for the session (but not information in the notes)

 

The user can then just select to add a shared calendar and select it from the directory list

 

-Recurse was to be used with Get-MailboxFolder NOT Get-MailboxFolderPermission. An optional step if you need to see what calendars they have.

Posted
Ok, I cannot seem to do this for any other users apart from myself on Powershell. How do I give myself enough rights to see other users calendars? Is it even possible?
Posted
If it's just for one user, can you not just do it in the Exchange admin console? Or is that only a thing in Office 365?
Posted (edited)

just to clear the Get-MailboxFolder -Identity username:\Calendar -Recurse command up that @sbrade47 suggested and what you have hit trying to use it, it does not allow admins to view other users folders. As per the following article https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/get-mailboxfolder?view=exchange-ps

 

So the behaviour you are experiencing @SimonInOz is correct, as others have said if its just for one users cal to allow access to another user just use the mgmt console and add the permissions from there (That coming from a >_ guy, never thought i would see the day! :-P). The cal will be presented to the user in their outlook client.

Edited by HPlum78

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...