lithnet / googleapps-managementagent

Google Workspace Management Agent for MIM 2016
MIT License
12 stars 4 forks source link

Add staff users to classroom_teachers group #48

Closed TheSnootch closed 4 years ago

TheSnootch commented 4 years ago

I can't seem to wrap my head around how to do this. I have users importing/exporting correctly. Now I want to make sure all my staff are automatically added to the classroom_teachers group. I've imported the group from Google to the MV but can't figure out how to add the users to the group. All my staff have an attribute in the metaverse (employeeType=Staff).

Do I need to add code in the extension dll while processing the group object or while processing the staff user object?

I'm pretty sure the code needed is something like: csentry("members").values.add("user@myusers.com")

I just don't know where to put it.

ryannewington commented 4 years ago

Hi,

You can't typically manipulate objects like that in the metaverse. The MV needs to represent the state of objects in other systems.

You should flow the group and users into the MIM service. From there, you can create a criteria- based group that adds all your staff into, and flow the membership back out to google.

TheSnootch commented 4 years ago

That's unfortunate. I've never used the MIM MA to do anything. Any chance you could point me to a step by step document on how to do this?

ryannewington commented 4 years ago

I always go back to Carol's guides when it comes to configuring the FIM service. She has lots of helpful guides that should get you through. http://www.wapshere.com/missmiis/fim-walkthroughs-create-the-fim-ma

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs.