Skip to main content

Calendar Integrations - Restricting Access

Written by Glenn Jones

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).


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 Entra/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:

To set the calendar security up, first create a "Mail Enabled Security Group"

Next, use the Exchange Powershell Module to connect to your 365 tenant.

“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.

Did this answer your question?