Univention Bugzilla – Bug 50719
[O365] Extend default list of Office service plans
Last modified: 2020-02-18 15:27:10 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.
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'
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
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
Released with App version 4.4/office365=3.2