Answered by:
AD, managers, and Team Calendars - The mechanics of

Question
-
Hi All
Can anyone point me at some good resources for understanding & managing the way that Team Calendars automatically created from the 'Manager' field in AD accounts work in Exchange 2013 & Outlook 2013 please?
Searching just seems to return a lot of info relating to manually creating a calendar for use by teams. Many thanksThursday, March 10, 2016 4:28 PM
Answers
-
Hi Paul,
I am not sure if any code in development team can achieve your requirement. To double confirm it, I suggest you can ask a question in Exchange development forum to find if anyone can help:
https://social.technet.microsoft.com/forums/exchange/en-us/home?forum=exchangesvrdevelopment
I do further researching on your requirement, just a folder permission is needed to be added for a team manager. Maybe a script to add folder permission with a filter such as Manager field can work as a workaround. For example: Administrator is the manager of the Product team. And the Manager field in all team members are set to Administrator. Then we can try the following commands:
$ManagedByAdministrator = Get-Recipient | where {$_.Manager -eq "contoso.com/Users/Administrator")}
$ManagedByAdministrator | ForEach {Add-MailboxFolderPermission -Identity “$($_.Name):\Calendar” -User Administrator -AccessRights "Editor"}Hope it helps.
Regards,
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.
Winnie Liang
TechNet Community Support- Proposed as answer by Winnie LiangMicrosoft contingent staff Saturday, March 26, 2016 6:57 AM
- Marked as answer by Winnie LiangMicrosoft contingent staff Wednesday, April 6, 2016 4:50 AM
Friday, March 25, 2016 8:24 AM
All replies
-
Hi,
The team calendar is configured in the Manager field of user’s Properties. We can set the Manager field of user Properties in Exchange server or ADUC. To edit Manager field in ADUC, please do:
1. Open Active Directory Users and Computers.
2. Expand Domain.com > Users.
3. Right-click the user, click Properties.
4. In Organization tab, click the Change button and add the Manager in the Name field of Manager section.In Exchange 2013, we can open EAC (Exchange Admin Center), click recipients > mailboxes, double-click the user mailbox. Edit the Manager field in the Organization tab.
In Outlook client side, if the Manager field in Exchange is populated, the Team: calendar will appear in Outlook for that user by default. You can also prevent the calendar from showing in Outlook by going to the Calendar pane and selecting Calendar Groups, then unchecking 'Show Manager's Team Calendars'.
Regards,
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.
Winnie Liang
TechNet Community SupportFriday, March 11, 2016 8:33 AM -
Hi Winnie
Umm.. Thanks for that, but I already have the manager field populated for staff.
I'm more interested in the mechanics of the Team Calendar creation & how to manipulate it.
Which part of Exchange creates the Calendars?
Are they stored & kept updated regularly?
If so, where?
Are they built on-the-fly each time?
Are there any shell commands for manipulating them?
Can I change defaults applied on creation?
In particular at the moment I'm hoping to find out whether it's possible to change the default permission given to the manager. I would like the manager to be given full permissions on the calendars of their team, but the team members to just be able to see basic details of other members with no editing rights.
The idea of a dynamic Team Calendar is a really great one, but as is so often the case, any obvious related functionality is either missing or really well buried.
Many thanks,
PaulFriday, March 11, 2016 3:15 PM -
Any info please?
Anyone?Monday, March 21, 2016 4:12 PM -
Hi Paul,
Sorry that I couldn't find any reference about the Manager field and Team Calendar mechanics. Hope that the following thread helps:
I noticed that you want to set the calendar folder permission for the Manager, I suggest we can create a dynamic distribution group for a team in Exchange side, then set calendar folder permission by using group as a workaround.
Regards,
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.
Winnie Liang
TechNet Community SupportWednesday, March 23, 2016 2:51 AM -
Hi Winnie
Many thanks. The discussion at the end of the link seems to pretty much come to the same opinion really - There's no information on working with the auto-created team Calendars.
We 'could' create a dynamic group for each team & set an owner & members, but there are a lot of them & they're quite dynamic membership-wise. Too much maintenance required.
The auto created one would be the ideal solution, if only the manager had edit rights...
Maybe a suggestion to the development team for the next release?
Thanks again.Thursday, March 24, 2016 4:42 PM -
Hi Paul,
I am not sure if any code in development team can achieve your requirement. To double confirm it, I suggest you can ask a question in Exchange development forum to find if anyone can help:
https://social.technet.microsoft.com/forums/exchange/en-us/home?forum=exchangesvrdevelopment
I do further researching on your requirement, just a folder permission is needed to be added for a team manager. Maybe a script to add folder permission with a filter such as Manager field can work as a workaround. For example: Administrator is the manager of the Product team. And the Manager field in all team members are set to Administrator. Then we can try the following commands:
$ManagedByAdministrator = Get-Recipient | where {$_.Manager -eq "contoso.com/Users/Administrator")}
$ManagedByAdministrator | ForEach {Add-MailboxFolderPermission -Identity “$($_.Name):\Calendar” -User Administrator -AccessRights "Editor"}Hope it helps.
Regards,
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.
Winnie Liang
TechNet Community Support- Proposed as answer by Winnie LiangMicrosoft contingent staff Saturday, March 26, 2016 6:57 AM
- Marked as answer by Winnie LiangMicrosoft contingent staff Wednesday, April 6, 2016 4:50 AM
Friday, March 25, 2016 8:24 AM -
Hi Winnie
That's a thought, thank you.
If it's turned around a little to return a list of all users whose 'Direct Reports' list is not empty (managers), and for each of the returned managers run through their direct reports (managed) list giving the manager edit rights on the managed users calendar we wouldn't have to maintain a list of managers.
That script could then be run on a schedule.
If the code to do that pops straight into your head, would you mind sharing it here please?
Looks like you're pretty good at this :)
If not, many thanks for the kickstart.
Best regards,
PaulTuesday, April 12, 2016 3:53 PM