Skip to content

Add explicit owner group support for Teams and Channels#6

Open
Sup3rlativ3 wants to merge 1 commit into
Sekers:mainfrom
Sup3rlativ3:feat/owner-group-sync
Open

Add explicit owner group support for Teams and Channels#6
Sup3rlativ3 wants to merge 1 commit into
Sekers:mainfrom
Sup3rlativ3:feat/owner-group-sync

Conversation

@Sup3rlativ3
Copy link
Copy Markdown

Summary

This change adds explicit owner-group mapping support for Team and Private Channel membership sync.

What changed

  • added OwnerGroups support to the team/channel mapping config template
  • kept backward compatibility for existing Groups[].Role = "Owner" mappings
  • promoted mapped owners before removal/demotion checks so last-owner operations do not fail unnecessarily
  • added guarded handling for Graph "last owner" failures during member removal and owner-role removal
  • updated README documentation for OwnerGroups, Group mappings, and owner-role behavior

Validation

  • I have been using this for a few clients and it is working perfectly.
image

@Sekers
Copy link
Copy Markdown
Owner

Sekers commented Apr 27, 2026

Thank you @Sup3rlativ3 . I will do a code review when I next have the chance. I had some uncommitted updates to resolve as well.

@Sup3rlativ3
Copy link
Copy Markdown
Author

Sup3rlativ3 commented Apr 28, 2026

If you let me know once your changes are all done, I'll review mine and make them fit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants