Sharing Calendar to other Exchange Organizations or Office 365 . We would share using Organizational Relationships
if we need to share our Exchange 2013 Calendar to Non-Exchange Organizations like gmail or zimbra.
Or we need to have public calendars for our organizations in the internet . which his accessible via URL.
We can use sharing policies to achieve it . Let see how to achieve this .
Step 1 :
Note: This is done on Mailbox Servers
First we need to Make sure InternetWebproxy URL’s have been set in Exchange 2013 Servers
To Check The status of the URL’s
Get-ExchangeServer | fl inter*
To Set InternetWebProxy URL’s
Get-ExchangeServer | Set-ExchangeServer -InternetWebProxy https://mail.careexchange.in/owa
Step 2 :
Now Make sure OWA external URL is set . And CalendarEnabled is set to True
Get-OwaVirtualDirectory | fl Externalurl,CalendarEnabled
Now to set OwaVirtualDirectory ExternalUrls use the below shell command.
Set-OwaVirtualDirectory -Identity "CAS01" -ExternalUrl "<URL for CAS01>" -CalendarEnabled $true
Step 3 :
We need to create a sharing policy in order to allow anonymous calendar sharing
Its always recommended to create a new sharing policy . So that we can customize the policy as per our wish . when its required.
To Create New Sharing Policy
New-SharingPolicy -Name "Internet" -Domains 'Anonymous: CalendarSharingFreeBusySimple' -Enabled $true
Note:
Sharing policies have below options where we can have different type of customizations to specific domains .
-Domains
CalendarSharingFreeBusySimple
Share free/busy hours onlyCalendarSharingFreeBusyDetail
Share free/busy hours, subject, and locationCalendarSharingFreeBusyReviewer
Share free/busy hours, subject, location, and the body of the message or calendar itemContactsSharing
Share contacts only
'Contoso.com: CalendarSharingFreeBusySimple', 'Fabrikam.com: CalendarSharingFreeBusyDetail, ContactsSharing'
By Default AnonymousFeaturesEnabled is set to True. you can cross check it .
Get-OwaVirtualDirectory | fl anon*
Note : if you don’t want to create a new sharing policy and want to mess up with the default policy
Run
Set-SharingPolicy -Name "Default Sharing Policy" -Domains 'Anonymous: CalendarSharingFreeBusySimple' -Enabled $true
Step 4 :
Apply the newly Created Sharing policy on the mailbox which needs this feature
Set-Mailbox CEO -SharingPolicy Internet
Now Login to OWA of CEO
Choose Calendar – Choose Share
Enter the Gmail Address or any non exchange organization email address
Now the other End .We have got the details of this calendar .
Now the calendar is visible via URL in browser
It can be added to Gmail .
Sample URL
webcal://mail.careexchange.in/owa/calendar/f50971bcbb3f48aa9a3ed2ea3b4c61c7@careexchange.in/c52ec0559e1b42f1a91cc3443faea4196601531922852437333/S-1-8-3585576920-3738051497-2994629991-3072103521/reachcalendar.ics
Note these URL’s can be used from Outlook as well .
Hope you have found this article useful .
Thank you .