Home > OS >  How to extract all domain users calendar events
How to extract all domain users calendar events

Time:08-29

We have G-suite business in our company and I was asked to create a script that extracts all calendar events from all the users in the company domain for future processing. The goal here is to create some useful KPIs for meeting times.

I know that I should use the Calendar API. In fact, I've already done that, but I think I'm missing something.

Should I run the script with an admin account?
Should all user's calendars be shared with the user that runs the script?

CodePudding user response:

If you use a service account with domain-wide delegation of authority you will not have to ask your domain users to share the calendars, but if your domain have just a few of users that might work too.

Related

Resources

  • Related