Bug 50719 - [O365] Extend default list of Office service plans
[O365] Extend default list of Office service plans
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Office 365
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: Erik Damrose
Jürn Brodersen
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-01-15 16:27 CET by Erik Damrose
Modified: 2020-02-18 15:27 CET (History)
0 users

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: 2020011321000638
Bug group (optional): Usability, Workaround is available
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Damrose univentionstaff 2020-01-15 16:27:24 CET
The Office365 connector uses a default list of service plan names to detect valid Azure AD subscriptions to assign to Azure AD users. This is used to automatically assign useful subscriptions to users.

Background: Azure AD seems to have multiple subscriptions by default, but some make no sense to assign to users (e.g. FLOW_FREE). The UCRv office365/subscriptions/service_plan_names with its default serviceplan names 'SHAREPOINTWAC, SHAREPOINTWAC_DEVELOPER, OFFICESUBSCRIPTION' is used to select only useful subscriptions in the listener module.

It seems that newer subscriptions for schools do not have any of these default service plan names, but slighty different ones, e.g. SHAREPOINTWAC_EDU and OFFICEMOBILE_SUBSCRIPTION.

We should extend our default list of service plans. The issue is that subscription assignment is not working out-of-the-box, unless a valid serviceplan is configured in UCR. Debugging this issue is very time consuming.
Comment 1 Erik Damrose univentionstaff 2020-01-15 16:31:55 CET
Workaround is to adapt the list of 'good' service plan names, e.g.

ucr set office365/subscriptions/service_plan_names='SHAREPOINTWAC, SHAREPOINTWAC_DEVELOPER, OFFICESUBSCRIPTION, OFFICEMOBILE_SUBSCRIPTION, SHAREPOINTWAC_EDU'
Comment 2 Erik Damrose univentionstaff 2020-02-04 18:20:20 CET
commit ed3cf09eaca9dd7a8e9db22c8d7c4242370ff110 in branch 4.4
Extend service plan names to account for new subscriptions in Azure

I extended the default values and adapted the UCRv description.

univention-office365 2.0.2-71A~4.4.0.202002041810
Branch: ucs_4.4-0 Scope: office365

Please also check that the merge of the multi-tenant-squashed git branch to the 4.4 branch was successful
Comment 3 Jürn Brodersen univentionstaff 2020-02-06 22:59:17 CET
OK

What I tested:
merge multi-tenant-squashed on 4.4 -> OK
New user has plans according to "/usr/share/univention-office365/scripts/print_users_and_groups" -> OK
Comment 4 Erik Damrose univentionstaff 2020-02-18 15:27:10 CET
Released with App version 4.4/office365=3.2