Changing (main) domain on o365 connector

Hi Community, dear Univention Team,

what’s the process to changing the (main) domain on office265. Atm UCS registered company.onmicrosoft.com as domain and than we have to chance it on Microsoft zu company.com … how to configure ucs to using company.com?
Thanks a lot,
meg

That would be great if possible… since the begin what i have done is adapt the script so when the user is created i change the domain… I now that should be done, but is working for me
Something like this

nano /usr/share/pyshared/univention/office365/azure_handler.py
#Search for def _create_user and change the line ...
attributes["userPrincipalName"] = attributes["userPrincipalName"].replace('@DOMAIN_IN_O365_UCS','@PRETENDED_DOMAIN')
#Restart the service
invoke-rc.d univention-directory-listener restart

As i mentioned… that could break, procede with caution.

In the moment i’m still running 2.4 version

1 Like
Mastodon