Bug 56900 - MS365: Error during initial azure user creation prevents further modification and recreation in azure
MS365: Error during initial azure user creation prevents further modification...
Status: NEW
Product: UCS
Classification: Unclassified
Component: Office 365
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
Mail maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-12-05 17:57 CET by Erik Damrose
Modified: 2023-12-11 08:54 CET (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.114
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2023112921000138
Bug group (optional):
Max CVSS v3 score:


Attachments
Patch to detect and set the correct default azure ad (746 bytes, patch)
2023-12-05 17:57 CET, Erik Damrose
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Damrose univentionstaff 2023-12-05 17:57:50 CET
Created attachment 11155 [details]
Patch to detect and set the correct default azure ad

If the initial creation of a user by the MS365 listener fails, the LDAP attr univentionOffice365ADConnectionAlias will not be written to the user. Further modifications on the user will fail, because of a typo in the code the listener cannot determine the default azure ad to provision the user in.

Log entries:

LISTENER    ( WARN    ) : o365: Alias 'd' from UCR 'office365/adconnection/filter' not listed in UCR 'office365
/adconnection/alias/'. Exiting.
LISTENER    ( WARN    ) : o365: Alias 'e' from UCR 'office365/adconnection/filter' not listed in UCR 'office365
/adconnection/alias/'. Exiting.
LISTENER    ( WARN    ) : o365: Alias 'f' from UCR 'office365/adconnection/filter' not listed in UCR 'office365
/adconnection/alias/'. Exiting.

Patch is attached and was tested successfully on an affected customer system.