Google Apps Script I want to add all users in an organization to a group

708 Views Asked by At

Using Google Apps Script I want to add all users in an organization to a group. If possible, it would be great if it also takes users in its sub-organization. I am waiting for your help in this matter. I also care about your suggestions.

2

There are 2 best solutions below

2
On

It is pretty easy to do even without Apps Script. Take a look at this link.

You can also achieve the same programmatically by using the Google Workspace Admin API.

0
On

No turn is what I want. I want to add a student ONU all users to a group. I want to do this with apps script in this process. Actually very understandable