1

我正在开发从Google Group Setting API和 google group api 推送和拉取信息的客户端界面。此客户端界面是用 asp.net (vb.net) 编写的。我已通过 Google Group API 和 Group Setting API 成功创建群组、添加成员、删除成员和更改成员角色。

问题在于更新组设置,当我将组设置更新whoCanPostMessage为时ANYONE_CAN_POST,api 会引发以下错误:

Google.Apis.Requests.RequestError PermissionDenied:不允许外部实体发布。[400] 错误 [ 消息 [PermissionDenied: 无法允许外部实体发布。] 位置 [ - ] 原因 [无效] 域 [全局] ]

重要的一点是,只有当我将组设置更改为 时,我才会收到此错误whoCanPostMessageANYONE_CAN_POST所有其他选项,如“ALL_IN_DOMAIN_CAN_POST”、“ALL_MEMBERS_CAN_POST”和“ALL_MANAGERS_CAN_POST”都可以正常工作。

我不确定为什么在将设置更改whoCanPostMessageANYONE_CAN_POSTonly 时会出现上述错误。

谁能帮我解决这个问题?

4

1 回答 1

2

Found a solution.

  • Go to the admin console for your account (https://admin.google.com/).

  • Click Apps -> Google Apps -> Groups For Business -> Advanced Settings

  • Under "Members & email access"

    • Enable: "Group owners can allow members from outside this domain Domain admins can always add members from outside this domain"

    • Enable: "Group owners can allow incoming email from outside this domain"

Wait a minute.

Now I can modify all the settings that I could not before including "whoCanPostMessage".

Hope this helps.

于 2015-07-24T15:56:01.527 回答