Hi folks,
I would like to use GAM to effectively prohibit users in our Google Workspace (or a specific OU) from hiding their calendars.
We have an issue with employees hiding their Google calendars, which makes it difficult for staff and administrators to schedule meetings. Despite making free/busy the default and telling employees that they shouldn't hide their calendars, many still do.
Currently, our employee OUs are configured to set calendar sharing free/busy by default, with the option of showing event details to people in the organization...But we want to prohibit users from hiding their calendars entirely.
It seems to describe this exact issue: Run the scripts every now and then, users who hide their calendars will have it automatically changed to free/busy, and eventually they'll get the picture.
But the script doesn't seem to work as intended. The Findstr/Grep output doesn't capture the user's email address that would be necessary to update to free/busy. It's just the line with the domain and the calendar status, without the address itself. Of course, I could run the first command, eg:
"gam ou_and_children_ns /employee print users fields primaryEmail | gam csv - gam calendar ~primaryEmail showacl > out.txt"
And manually identify users who have hidden their calendar, but that's cumbersome.
Any ideas?