Sync settings unexpected result - Unsuspending aad users with login blocked #1811
Labels
Feature - user sync
Issue type - help wanted
General questions on how to use the plugins, e.g. configurations etc.
Plugin - local_o365
Status - need more info
Further information requested to triage the issue.
Hi, currently having an issue when a specific set of options are enabled at the same time.
At present we have the following checked
[x] Create accounts in Moodle for users in Azure AD
[x] Update all accounts in Moodle for users in Azure AD
[x] Suspend previously synced accounts in Moodle when they are deleted from Azure AD
[ ] Delete previously synced accounts in Moodle when they are deleted from Azure AD (requires "suspend" option above)
[x] Re-enable suspended accounts for users in Azure AD
[x] Sync disabled status
Suspending/unsuspending has only recently been included in our syncs so i'm unsure when this result was introduced.
The issue we are having though is while deleted users in azure ad are being suspended correctly, users we previously suspended on moodle and revoked login on azure AD are being re-enabled within moodle.
I'm assuming this isn't an expected behaviour and the re-enable code is ignoring/overriding the disabled status code?
The text was updated successfully, but these errors were encountered: