Share via

Moodle Microsoft LTI tool fails to create new class groups/teams with error “Team owner not found for group”

samuel oladipupo 20 Reputation points
2026-04-23T18:03:44.7533333+00:00

Hello,

I am trying to use the Microsoft Education / Microsoft Teams LTI tool in Moodle to create new class groups for course meetings, but setup keeps failing for new courses.

Issue: When I open the Microsoft LTI tool inside a Moodle course, I get this message:

Course “Class Portal (PSWAPR2026M)” Setup Unsuccessful Team owner not found for group [group ID]

Because of this, I am unable to create new groups/teams for new class meetings.

Environment:

  • Moodle LMS
  • Microsoft 365 / Microsoft Education integration
  • Microsoft LTI tool used inside Moodle course pages
  • Using school Microsoft 365 accounts

What I have already checked:

  1. The Moodle course does have instructors enrolled with the Teacher role.
  2. The Microsoft 365 scheduled sync tasks in Moodle are running.
  3. In the Microsoft 365 admin center, I can see that a group is being created for the course, but it is showing as a HiddenMembership group.
  4. That group shows no owners under Membership > Owners.
  5. I also noticed that multiple groups with the same course name are being created, which makes me think duplicate/orphan groups may be forming during failed sync attempts.

What I need help understanding:

  • Why is the Microsoft LTI tool creating the group without assigning a valid owner?
  • Should the Moodle course instructor automatically become the group/team owner?
  • Is there a known issue with owner sync between Moodle and Microsoft 365 / Entra ID?
  • Are there specific Moodle role permissions, LTI settings, or Microsoft 365 settings required to allow owner assignment?
  • What is the correct way to clean up duplicate/orphan groups and restore proper team creation for new courses?

Any guidance on the exact root cause and recommended fix would be appreciated.

Thank you.Hello,

I am trying to use the Microsoft Education / Microsoft Teams LTI tool in Moodle to create new class groups for course meetings, but setup keeps failing for new courses.

Issue:
When I open the Microsoft LTI tool inside a Moodle course, I get this message:

Course “Class Portal (PSWAPR2026M)” Setup Unsuccessful
Team owner not found for group [group ID]

Because of this, I am unable to create new groups/teams for new class meetings.

Environment:

  • Moodle LMS
  • Microsoft 365 / Microsoft Education integration
  • Microsoft LTI tool used inside Moodle course pages
  • Using school Microsoft 365 accounts

What I have already checked:

  1. The Moodle course does have instructors enrolled with the Teacher role.
  2. The Microsoft 365 scheduled sync tasks in Moodle are running.
  3. In the Microsoft 365 admin center, I can see that a group is being created for the course, but it is showing as a HiddenMembership group.
  4. That group shows no owners under Membership > Owners.
  5. I also noticed that multiple groups with the same course name are being created, which makes me think duplicate/orphan groups may be forming during failed sync attempts.

What I need help understanding:

  • Why is the Microsoft LTI tool creating the group without assigning a valid owner?
  • Should the Moodle course instructor automatically become the group/team owner?
  • Is there a known issue with owner sync between Moodle and Microsoft 365 / Entra ID?
  • Are there specific Moodle role permissions, LTI settings, or Microsoft 365 settings required to allow owner assignment?
  • What is the correct way to clean up duplicate/orphan groups and restore proper team creation for new courses?

Any guidance on the exact root cause and recommended fix would be appreciated.

Thank you.

Microsoft Teams | Microsoft Teams for education | Meetings and calls | Other

Answer accepted by question author

  1. Alexis-NG 15,685 Reputation points Microsoft External Staff Moderator
    2026-04-23T19:36:24.2+00:00

    Hi samuel oladipupo,

    Good day, and thank you for articulating your concern so clearly.

    The issue is caused by the Microsoft LTI tool creating Microsoft 365 groups without assigning a valid owner. Since Teams requires at least one owner to complete provisioning, the process fails with the error “Team owner not found for group.”

    This typically occurs when the Moodle instructor cannot be properly resolved to a valid Microsoft 365 user, lacks the required Teams license, or when the integration does not have sufficient permissions to assign group owners. As a result, the system creates orphaned groups and retries provisioning, which leads to duplicate group creation.

    Even when sync tasks are running, owner assignment can fail due to the following conditions:

    1. Email / UPN mismatch: If there is a mismatch between the Moodle user email and the Microsoft Entra ID user principal name (UPN), the teacher identity cannot be resolved to a valid Microsoft 365 account, ownership cannot be assigned. For example: Moodle: ******@school.edu
      Azure AD: ******@tenant.onmicrosoft.com
      Result in no match > no owner
    2. User not linked via Microsoft 365 integration: Even when the email matches, the Moodle account must be properly linked to its corresponding Microsoft 365 account through the integration (such as OpenID Connect or the Microsoft 365 plugin). If this linkage is missing, the user cannot be identified by the LTI service.
    3. User not eligible for ownership: Ownership assignment may fail if the account is not eligible, such as when the user does not have a valid Teams-enabled license, the account is disabled, or the account is classified as an external/guest user. In Microsoft Entra ID, user eligibility directly impacts the ability to assign ownership roles.
    4. Insufficient application permissions: The LTI integration relies on application permissions in Microsoft Entra ID to manage groups. If the application has permission to create groups but lacks the required permissions to assign owners, it will create the group but leave it without any owners.

    You can avoid this by turning off the auto team creation in the LTI admin settings.

    For more information, please consult:

    If the issue persists after you verify these permissions, please reach out to Microsoft Support using your admin credentials to submit a support request through the Microsoft 365 Admin Center.

    Microsoft also provides customer service phone numbers based on your region. You can find the appropriate contact number here: Customer service phone numbers - Microsoft Support 

    This route ensures that a Microsoft support engineer can initiate a remote session to investigate backend configurations, run advanced diagnostic tools, and, if necessary, escalate the case to specialized teams with access to internal systems and logs. These backend resources are essential for resolving issues that go beyond what’s visible in the user interface.

    As community moderators, we’re here to guide you, but due to privacy and security limitations, we don’t have access to the backend tools required for a full resolution. For this reason, contacting Microsoft Support via the Admin Center is the most secure and efficient way forward.

     

    I hope this helps you resolve the issue quickly. I’m glad to assist and truly hope the information provided has been useful. Please feel free to reach out anytime if you need further assistance.  

    Thank you for your kindness and contributions to the forum. 


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.  

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2026-04-23T18:04:16.7233333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The behavior described is not covered in the provided documentation, and the exact root cause of the “Team owner not found for group” error cannot be determined from the context.

    The available guidance for Microsoft LTI with Moodle focuses on:

    • One‑time setup and registration of the LTI apps (Microsoft 365 LTI, Teams Assignments LTI, Teams Classes/Meetings LTI) between Moodle and Microsoft 365.
    • Ongoing use requirements (for example, users must sign in with Microsoft 365 accounts, cookies/pop‑ups allowed).
    • High‑level deployment steps for adding Teams classes or meetings as external tools in Moodle/Open LMS.
    • Support options for LMS and Microsoft 365 admins, and for instructors/learners.

    The documentation does not describe:

    • How group owners are assigned for course‑backed Microsoft 365 groups created from Moodle.
    • Any known issue where groups are created as HiddenMembership with no owners.
    • Any specific Moodle role/permission or Microsoft 365/Entra ID setting that controls owner assignment for these groups.
    • Any supported procedure for cleaning up duplicate/orphaned groups created by failed syncs.

    Given that, the only supported next step in the context is to escalate through the documented support channels so that tenant‑specific configuration, logs, and sync behavior can be reviewed:

    1. LMS and Microsoft 365 admins should contact Microsoft Education Support at the link provided in the docs to investigate the failed team creation, group ownership, and duplicate groups.
    2. If needed, instructors or learners can also use the in‑app Help/Feedback menu in the LTI app to report the issue from within the affected course.
    3. LMS admins can review the broader Microsoft 365/Teams LTI integration docs for Moodle/Open LMS to confirm that the LTI apps and plugins are configured exactly as required, but any change to group ownership behavior or cleanup of existing groups should be guided by support.

    References:

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.