Univention Bugzilla – Bug 56296
office365/query: ValueError: No AD connection alias specified
Last modified: 2023-07-07 17:42:45 CEST
Maybe related to Bug 54642 Version: 5.0-2 errata425 Error: Internal server error during "office365/query". Request: office365/query Traceback (most recent call last): File "%PY3%/univention/management/console/base.py", line 344, in __error_handling six.reraise(etype, exc, etraceback) File "%PY3%/six.py", line 693, in reraise raise value File "%PY3%/univention/management/console/base.py", line 247, in execute function.__func__(self, request, *args, **kwargs) File "%PY3%/univention/management/console/modules/decorators.py", line 321, in _response result = _multi_response(self, request) File "%PY3%/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "%PY3%/univention/management/console/modules/decorators.py", line 443, in _response return list(function(self, iterator, *nones)) File "%PY3%/univention/management/console/modules/decorators.py", line 289, in _fake_func yield function(self, *args) File "%PY3%/univention/management/console/modules/office365/__init__.py", line 95, in query account = AzureAccount(self.adconnection_alias) File "%PY3%/univention/office365/microsoft/account.py", line 104, in __init__ raise ValueError(_('No AD connection alias specified\n') + extra_info) ValueError: No AD connection alias specified The reason might be that the Univention Configuration Registry variable office365/adconnection/wizard is not set. If it's not, you can set to the default value "defaultADconnection" Command to check: ucr get office365/adconnection/wizard Command to set: "ucr set office365/adconnection/wizard=defaultADconnection" Role: domaincontroller_master