Release 3.9.5 for Moodle 3.9: v20210629
Release 3.9.5 for Moodle 3.9.x.
The most significant changes in this release are general improvements of Moodle and Teams integration. The whole integration process, including SSO, has been reviewed and a few improvements were applied according to guidelines from Microsoft. This should solve a few reporting of Teams integration related issues (#1138, #1466, #1550, #1487, #1486, #1620, #1580, #1499)
A complete review of Azure permissions required by the Azure app used for each feature in the Moodle integration was performed during this release. According to the outcomes of the review, the PowerShell script was updated, as well as the permission checks feature. Documentation on Moodle Docs (https://docs.moodle.org/310/en/Microsoft_365) will be updated in the coming days to reflect this. This will help advanced users to customise app permissions. (#1176)
The following features are introduced in this release:
- Add option to only suspend Moodle accounts whose connected Microsoft 365 accounts are deleted, but not deleting them in Moodle. (#1318)
- Add option to sync guest users in Microsoft 365 tenant in user sync task. (#1247)
- Add option to sync user suspension status between Microsoft 365 and Moodle. (#1685)
- Allow site admins to set class team or standard team preference. (#1684)
- Add option to re-enable a suspended Moodle user whose connected Microsoft 365 account is active. (#1618)
- Add option to sync "onPremisesExtensionAttributes" attributes of Office 365 users in user sync task.
The following bug fixes and improvements are applied in this release:
- Fix a bug in getting only the first 100 team members. (#1552) Thanks to @jamaur
- Fix a bug in the course updated event observer, which saving course setting changes fails on sites that don't have local_o365 fully configured. (#1646)
- Fix a bug in the group create task that would cause "No team found with Group Id" error on some groups. (#1668)
- Fix errors with "Undefined index: userPrincipalName" in user sync task. (#1484)
- Performance improvement when processing user deletions in the user sync task. (#1484)
- Update upgrade scripts in auth_oidc and local_o365 to avoid upgrade conflicts. (#1635)
- Clear force user password change preference when converting user to auth_oidc. (#1616)
- Add index to auth_oidc_token table. (#1683)
- Fix a bug in call to "set_time_limit()" function in the user sync task. (#1712)
- Remove duplicate buttons on customise course sync page.
Other changes:
- Move the token cleanup to from local_o365 to auth_oidc.