Account Configuration doesn't respect Custom User Agent
I set up an EWS account in Thunderbird using a custom user agent to get around corporate app/device restrictions. I saw that Kalendar supports a custom user agent, but I can't add the account to Kalendar because it doesn't use the custom user agent in the initial setup when performing a login.
Microsoft login from https://outlook.office365.com/EWS/Exchange.asmx will return
Error Code: 530021
App name: Akonadi EWS
App id: 452b289a-7894-41d7-9cd4-d5275739fa27
Device identifier: Not available
Device platform: Android
Device state: Unregistered
Advanced -> User Custom User Agent is set to
Microsoft Office/16.0 (Windows NT 10.0; Microsoft Outlook 16.0.6326; Pro)