I tried to create a google calendar event with attendees, and it didn't work (threw an error of domain wide delegation).
I activated the domain wide delegation and rerun the script, ending with the same error,
Which lead me to wonder, does the Domain Wide Delegation require a G-Suite account?
- I'm using a service account
- Without the Attendees the scripts works fine
- The service account has a calendar shared to it, and the service account has modify permissions to this calendar (events without attendees are created successfully)
- I want to create the events on this calendar and add attendees to the event (If i will be able to create events to a calendar that's not shared with the service account it would be preferred)