.net - Google Group Setting API, shows error on updating group setting -


i working on client interface pushes , pulls information google group setting api , google group api. client interface written in asp.net (vb.net). have created group, added members, removed members , changing role of members through google group api , group setting api.

problem updating group setting, when update group setting whocanpostmessage anyone_can_post, api throws following error :

google.apis.requests.requesterror permissiondenied: cannot allow external entities post. [400] errors [ message[permissiondenied: cannot allow external entities post.] location[ - ] reason[invalid] domain[global] ]

the important point that, getting error when changing group setting whocanpostmessage anyone_can_post, other options "all_in_domain_can_post", "all_members_can_post" , "all_managers_can_post" working fine.

i not sure why getting above mentioned error on changing setting whocanpostmessage anyone_can_post only.

can please assist me on this?

found solution.

  • go admin console account (https://admin.google.com/).

  • click apps -> google apps -> groups business -> advanced settings

  • under "members & email access"

    • enable: "group owners can allow members outside domain domain admins can add members outside domain"

    • enable: "group owners can allow incoming email outside domain"

wait minute.

now can modify settings not before including "whocanpostmessage".

hope helps.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -