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
Sharing policies have below options where we can have different type of customizations to specific domains .
CalendarSharingFreeBusySimpleShare free/busy hours only
CalendarSharingFreeBusyDetailShare free/busy hours, subject, and location
CalendarSharingFreeBusyReviewerShare free/busy hours, subject, location, and the body of the message or calendar item
ContactsSharingShare 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
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 .
Note these URL’s can be used from Outlook as well .
Hope you have found this article useful .
Thank you .