microsoft / o365-moodle

Office 365 and Azure Active Directory plugins for Moodle
GNU General Public License v3.0
180 stars 136 forks source link

Question: Moodle and Azure AD integration with Guest Users #2080

Open manuel-faria opened 2 years ago

manuel-faria commented 2 years ago

Hi,

I would like to know if the Moodle plugin would work for Teams guest users as well.

Thank you, Manuel

weilai-irl commented 2 years ago

Hi @manuel-faria,

I confirm Moodle course and Teams integration works for guest users too.

The test case performed and passed is as follows:

Please note the following limitations:

  1. The guest user needs to be from another Microsoft 365 tenant, otherwise the user will not be able to login to Teams to see the list of organisations she is a guest of.
  2. The Azure app used for integration needs to be configured to support "Accounts in any organizational directory (Any Azure AD directory - Multitenant)" in the "Supported account types" section of the "Authentication" tab of the app settings, so that accounts from other tenants can make use of the app.
  3. Silent SSO in the Moodle tab in Teams may not work for guest users. This means when the guest user tries to access the Moodle tab in Teams, they will see two buttons asking them to "Login to Microsoft 365" or "Login manually". Clicking the first button will log them in, and they will be able to access Moodle tab contents normally from that point.

I hope the instructions are clear.

Regards, Lai

Minush1 commented 2 years ago

Hi,

I used Microsoft Graph API to invite external guest users. When the users accept the invitation, if the Identities provider is 'mail', then the user is not able to log in to Moodle plugin using "Login to Microsoft 365".

The user is able to login to Teams, just not Moodle. I would like to know what is the issue and the solution please.

Capture

image

Thank you, Minush

azmatksa commented 1 year ago

Hi,

I synced the guest user in Moodle, but I notice that the guest user created without firstname and lastname, any idea what could be the reason?

Thanks, Azmat