Forum Discussion
PaulKoning
Jun 19, 2023Brass Contributor
Can't make a goup calendar readonly anymore with Powershell
Hi, We have some groups where regular group members are not allowed to make changes to the group calendar. I was able achieve this with Powershell as described in this post: Calendar permissions i...
sgalluccio
Jul 27, 2023Copper Contributor
Hi everyone,
I have the same problem, I entered the command:
Set-UnifiedGroup "MYGROUP" -CalendarMemberReadOnly
It seems to be propagating well, as there's no problem in Outlook Webmail for member.
On the other hand, I'm getting some strange behavior on Outlook:
- Outlook must be configured in cache mode, to see Microsoft 365 groups.
- Members can't modify items created by a group 365 owner => Perfect
- User can still create new meetings in the Microsoft 365 group's calendar, but he's the only one to see it, and cannot be modified/deleted afterwards.
- Restarting Outlook clears the cache, and previously created meetings disappear.
Do you have the same problem ?
Do we need to wait a little longer (command launched 4 hours ago) ?
Thank you !
I have the same problem, I entered the command:
Set-UnifiedGroup "MYGROUP" -CalendarMemberReadOnly
It seems to be propagating well, as there's no problem in Outlook Webmail for member.
On the other hand, I'm getting some strange behavior on Outlook:
- Outlook must be configured in cache mode, to see Microsoft 365 groups.
- Members can't modify items created by a group 365 owner => Perfect
- User can still create new meetings in the Microsoft 365 group's calendar, but he's the only one to see it, and cannot be modified/deleted afterwards.
- Restarting Outlook clears the cache, and previously created meetings disappear.
Do you have the same problem ?
Do we need to wait a little longer (command launched 4 hours ago) ?
Thank you !
- DN-57May 13, 2024Copper ContributorHello! Did you ever get any answers for the "strange behavior"? I am seeing similar issues where OWA respects the read-only flag, but desktop clients (Outlook for Mac and Outlook for Windows) allow entries and modification of events, but such edits don't write back to the Group Calendar and stay local to the user.
- DN-57May 15, 2024Copper ContributorI'll reply to my own question since I got a decent explanation of why this is happening:
The behavior you’re experiencing with the M365 Group calendar is due to the way Outlook for Mac and Windows handles calendar permissions and caching compared to Outlook on the web (OWA).
When you set a group calendar to be read-only using the PowerShell command Set-UnifiedGroup -Identity “GroupName” -CalendarMemberReadonly, this permission is enforced directly on the server side. Outlook on the web (OWA) interacts with the server more directly and in real-time, which means it will immediately respect these permissions.
On the other hand, Outlook for Mac and Windows clients maintain a local cache of the mailbox and group calendar data. When a user attempts to create a new meeting in the group calendar, the Outlook client allows this because it doesn’t immediately check the server for the current permission level. The meeting appears to be created successfully and is visible to the user because it is temporarily stored in the local cache.
However, since the group calendar is actually set to read-only on the server, these changes are not synchronized back to the server, and therefore other users do not see them. The user who created the meeting also cannot modify or delete it because the server does not grant write permissions to the calendar.
Once the user restarts Outlook, the client re-syncs with the server, the local cache is updated, and any non-synchronized items that are not permitted by the server permissions (like the meetings created in a read-only calendar) are removed.
This discrepancy between the client-side behavior and the actual permissions set on the server is why you are seeing this behavior. It is essentially an issue with the Outlook client not immediately reflecting the server-side permissions until a re-sync occurs.
To address this, you might want to inform users about this behavior so that they understand that any entries they make in the read-only calendar on their Outlook client will not be saved and will disappear after a restart or re-sync. Unfortunately, there isn’t much that can be done on the user’s end to change this behavior, as it’s a limitation of how Outlook clients handle group calendar permissions and caching. - ryanbunceMay 13, 2024Copper Contributor
I'm not having this issue on the client side of things and what you're describing is different than what I was experiencing. I couldn't set the RO flag at all once Microsoft "fixed" (still don't know quite what they did) it I was able to set the flag and it's worked properly since. Sorry I couldn't be more help!
- Kris_Petrov_1986Jul 27, 2023Copper ContributorI have a case with MSFT about the M365 groups being visible in Outlook desktop client. But this is another topic. I see that if I don't have my Outlook with Cached Mode enabled (set to All) I won't be able to see the groups.
So...with that said I think proper experience is expected with OWA but not entirely with Outlook desktop client. That's what I've observed so far.