We have a PHP calendar application that connects to google and syncs the events. We use Google Calendar API V3 and everything works perfect with private account, but is not working with G Suite accounts. We get 404 error when we submit the calendar ID (for a G Suite account). We had to create a service account on the main G Suite account and made public all the calendars to make it work, and it did work, but that is not viable solution for us... it's a company account and we cannot make public all the calendars.
Does anyone knows a solution on how to make this work ?
Thank you!
There can be restrictions on the maximum visibility of G suite calendars outside the domain and I assume that is what you are hitting. Instead of making the G suite calendars public you can delegate the authority over the domain to your service account: https://developers.google.com/google-apps/calendar/concepts/domain