Share via


Setting permissions for published resource calendars not working

Question

Friday, July 1, 2016 7:09 PM

I want to publish resource calendars to a public URL to allow anonymous users to view only the meeting availability, but it is showing the full details.

Here are my external sharing settings:



I created a new resource calendar and attempted to publish it with these commands:

$CalName = 'mynewroom:\calendar'Set-MailboxCalendarFolder -Identity $CalName -PublishEnabled $trueGet-MailboxCalendarFolder -Identity $CalNameSet-MailboxCalendarFolder -Identity $CalName -DetailLevel LimitedDetails#Set-MailboxCalendarFolder -Identity $CalName -DetailLevel FullSet-MailboxCalendarFolder -Identity $CalName -PublishDateRangeTo OneYearSet-MailboxCalendarFolder -Identity $CalName -PublishDateRangeFrom OneYear

I get this error:

The policy doesn't allow anonymous sharing with Limited Details.   + CategoryInfo          : NotSpecified: (:) [Set-MailboxCalendarFolder], NotAllowedPublishingByPol  cyException   + FullyQualifiedErrorId : [<server GUID>,Time  tamp=7/1/2016 6:20:20 PM] [FailureCategory=Cmdlet-NotAllowedPublishingByPolicyException] BD7685768,M icrosoft.Exchange.Management.StoreTasks.SetMailboxCalendarFolder   + PSComputerName        : outlook.office365.com

All replies (1)

Monday, July 4, 2016 8:53 AM ✅Answered

Hi,

To share an Exchange calendar for anonymous users, please make sure you have do the following things:

1. Configure a sharing policy to allow users to share their calendar with all domains in server side (Office 365 or Exchange on-premises server).

2. Set permission level in client calendar side.

For details, please read: https://blogs.technet.microsoft.com/exchange/2014/04/15/how-to-publish-anonymous-calendar-sharing-url-in-exchange-online-or-exchange-2013/

In your scenario, the DetailLevel for your room calendar is wrong. If you want to share this calendar with only availability information, please try the following command to publish your room calendar:

Set-MailboxCalendarFolder mynewroom:\calendar -PublishEnabled $true -DetailLevel AvailabilityOnly -PublishDateRangeTo OneYear -PublishDateRangeFrom OneYear

Then run Get-MailboxCalendarFolder mynewroom:\calendar to follow the published calendar html (and ics) urls.

Regards,

Winnie Liang
TechNet Community Support

Please mark the reply as an answer if you find it is helpful.

If you have feedback for TechNet Support, contact [email protected].