Sorry to be the bearer of bad news, but this is not possible.
Whilst Managed app config would get you part of the way (provisioning the user with managed app config), the user would still need to authenticate, and, if you're using O365, then you're likely to be using modern authentication through a web interface, of which managed app config can't and doesn't support
To be clear: this is not a limitation of SM, nor iOS: It's an implementation issue with O365 and Modern Auth