Question:
Is it possible to configure the username in Azure to the username in UCS?
Answer:
The UPN in Azure is always created from the localpart of the mailPrimaryAddress and the domainname that was configured during the MS365 setup wizard execution.
We have a feature request about that already.
https://forge.univention.org/bugzilla/show_bug.cgi?id=47259