You can connect your Eploy system with your Office 365 or Google calendars so that events in your calendars are visible in Eploy. The integration enables syncing individual users' calendars or system-wide (all users).
Details of how to setup either individually linked or all user access can be found in this article:
https://support.eploy.co.uk/hc/en-gb/articles/4406112882449
Restricting which users’ Exchange calendars are accessible by Eploy (Office 365)
Eploy never stores any calendar data and we do not cache any data – data is always retrieved ‘on the fly’. If you wish to restrict which users exchange calendars are accessible in Eploy, you can do this using a PowerShell script within your Azure/Office 365 admin.
You can create a group of users and specify if that group's calendars can/cannot be accessed. Firstly, setup the calendar sharing as detailed in the help guide above and then follow the instructions below.
Here is the PowerShell script you need to do this:
https://docs.microsoft.com/en-us/powershell/module/exchange/new-applicationaccesspolicy
To set the calendar security up:
Create a "Mail Enabled Security Group"
- Create a "Mail Enabled Security Group" in the Office Admin portal e.g. calendarsecurity@yourdomain.co.uk
- Add every user who’s calendar you wish to sync.
Use the Exchange Powershell Module to connect to your 365 tenant.
- https://www.powershellgallery.com/packages/ExchangeOnlineManagement/
- Run these:
- Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.5
- Import-Module ExchangeOnlineManagement
- Connect-ExchangeOnline -UserPrincipalName admin@yourdomain.co.uk
- New-ApplicationAccessPolicy:
- AppId 7d41920f-a928-45ee-b6eb-252e77a4f654 -PolicyScopeGroupId calendarsecurity@yourdomain.co.uk
- AccessRight RestrictAccess
- Description "Restrict this app to members of the CalendarSecurity group."
“RestrictAccess” is used above which means you put people into a group that you want to share, I could have used “DenyAccess” to deny just the people in that group.
7d41920f-a928-45ee-b6eb-252e77a4f654 is our App ID, this never changes.