Google calendar api 谷歌日历API:服务帐户共享日历问题

Google calendar api 谷歌日历API:服务帐户共享日历问题,google-calendar-api,Google Calendar Api,我的设想: 为谷歌日历创建了一个服务帐户——比如MasterAccount。 使用另一个SlaveAccount并通过(共享:编辑设置)与MasterAccount共享日历 当我使用ServiceAccount访问SlaveCount共享日历时,出现访问被拒绝错误 using Google.Apis.Calendar.v3; using Google.Apis.Calendar.v3.Data; 如何使用服务帐户访问其他帐户?如果您想访问Google Apps域中用户的用户数据,请访问服务帐户

我的设想:

为谷歌日历创建了一个服务帐户——比如MasterAccount。 使用另一个SlaveAccount并通过(共享:编辑设置)与MasterAccount共享日历

当我使用ServiceAccount访问SlaveCount共享日历时,出现访问被拒绝错误

using Google.Apis.Calendar.v3;
using Google.Apis.Calendar.v3.Data;

如何使用服务帐户访问其他帐户?

如果您想访问Google Apps域中用户的用户数据,请访问服务帐户。若要将域范围的权限委派给服务帐户,请在或中为现有服务帐户启用域范围的委派,并启用域范围的委派。请检查此链接:Henry,您是否找到此方案的解决方案或其他方法?我们面临着完全相同的任务——访问与服务帐户共享的谷歌日历帐户。我们现在刚刚开始POC,因此没有遇到您的“拒绝访问”问题,但希望在出现问题时有一个解决方案。非常感谢!