Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync users from multiple Azure tenant #2738

Open
StevCol1 opened this issue Jan 13, 2025 · 1 comment
Open

Sync users from multiple Azure tenant #2738

StevCol1 opened this issue Jan 13, 2025 · 1 comment
Labels
Feature - multi tenants Feature - user sync Issue type - help wanted General questions on how to use the plugins, e.g. configurations etc. Plugin - local_o365

Comments

@StevCol1
Copy link

Hello,
I would like to sync Azure AD users to my moodle from multi tenant. Is it possible with the "additional tenant" feature ?
Many thanks,

Steve

@weilai-irl
Copy link
Collaborator

Hi @StevCol1

Unfortunately the only feature supported in the additional tenant feature is SSO login. Having full multi tenant support in the integration would introduce a lot more complexities. Just to give some examples:

  • The plugin will need to maintain admin consent and application token for each tenant.
  • Users may be synced from multiple tenants, and in some cases, a user from one tenant can be a guest of other tenant.
  • Different user sync settings may be required in each tenant.
  • For the teams integration feature, if a course is configured to be synced to a team, there needs to be a control over in which tenant the team is created in.
  • There could be situation where a team from a course needs to be created in tenant A, but the teacher in the course is from tenant B. In this case, the team cannot be created because it doesn't have an owner.

The list will go on.

There has been a lot of discussions in the last few years, both internally and between Microsoft and us about this feature, but we haven't worked out a feasible solution.

So to answer your question, it's currently not possible sync users from multiple tenants, and this feature is not on the plan.

Regards,
Lai

@weilai-irl weilai-irl added Issue type - help wanted General questions on how to use the plugins, e.g. configurations etc. Feature - user sync Plugin - local_o365 Feature - multi tenants labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature - multi tenants Feature - user sync Issue type - help wanted General questions on how to use the plugins, e.g. configurations etc. Plugin - local_o365
Projects
None yet
Development

No branches or pull requests

2 participants