Bug 56620 - print_users_and_group doesnt work anymore
print_users_and_group doesnt work anymore
Status: NEW
Product: UCS
Classification: Unclassified
Component: Office 365
UCS 5.0
Other Mac OS X 10.1
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
Mail maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-09-18 16:53 CEST by Dirk Ahrnke
Modified: 2023-09-21 15:40 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.069
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2023091421000198
Bug group (optional): Regression
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Ahrnke univentionstaff 2023-09-18 16:53:18 CEST

    
Comment 1 Dirk Ahrnke univentionstaff 2023-09-18 16:57:22 CEST
print_users_and_group is mentioned in https://help.univention.com/t/microsoft-office-365-connector/21839 as a tool usable e.g. to configure subscriptions.

office365=5.8:

root@dn1:~# /usr/share/univention-office365/scripts/print_users_and_groups defaultADconnection
Using Azure AD connection alias 'defaultADconnection'.
Traceback (most recent call last):
  File "/usr/share/univention-office365/scripts/print_users_and_groups", line 178, in <module>
    print_users_and_groups(adconnection_alias)
  File "/usr/share/univention-office365/scripts/print_users_and_groups", line 71, in print_users_and_groups
    plan['service'] for user in users
  File "/usr/share/univention-office365/scripts/print_users_and_groups", line 72, in <genexpr>
    for plan in user.assignedPlans
TypeError: 'NoneType' object is not iterable