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:
- 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 - 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.
- 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.
- 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:
- Create group - Microsoft Graph v1.0 | Microsoft Learn
- Deploy the Microsoft 365 LTI® app in Moodle | Microsoft Learn
- Set up and configure the Moodle LMS plugins | Microsoft Learn
- Introduction to Microsoft 365 Plugins - Teams | Microsoft Learn
- Resync owners
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.