Forum Discussion
Configuring iOS 12 for O365 Exchange using MFA (OAuth)
Dan StranathanHave you fond anything about this?
I have a similar issue and I am deploying on IOS12.2+ with Native Mail App and MFA. Deployment and first registration are working well but after a couple of hours mail stop syncing and I have an "Account error" message:
We are also having the exact same issue, since around iOS 12.2
We've extracted logs from a device and they talk about oAuth tokens failing to refresh.
Raised support ticket with Microsoft but they havent been able to assist.
Have you had any progress or luck with your issue?
Error>: DAEASOAuthTokenRefreshResponse response is not NSHTTPURLResponse. Game over
<Notice>: Received a Transient Network Error: refrehing OAuth Token failed with Error Error Domain=NSURLErrorDomain Code=-1002 "unsupported URL" UserInfo={NSLocalizedDescription=unsupported URL, NSUnderlyingError=0x102bc0ce0 {Error Domain=kCFErrorDomainCFNetwork Code=-1002}}
May 13 11:45:26 iPhone accountsd(DAAccountAuthenticator)[1296] <Error>: Authenticator FAILED Trying To Refresh OAuth2 credentials for account <private> Networking Error
- StephanBrissonJun 04, 2019Copper Contributor
webber1979Yes we were able to make it work properly. We are using Airwatch (VMware Workspace One) and we had to change our email profiles deployment parameters. We had to add the OAuth parameter to the email profile but then the user name in the profile was the following: domain\user@domain. It was working in the initial logon (for about an hour) but when the refresh token was expiring the profile was unable to match the user name with anything.
We had to delete the username and the domain from the Email profile (pushed by Airwatch) and then it worked fine.
- webber1979Jun 05, 2019Copper Contributor
Thanks for the reply.
Think your issue might be different to ours, we already have oAuth turned on and we use UPN as the username. I've changed this to primarysmtpaddress and hope this may help.
I've also tried removing their activesync device partnership prior to the migration to see if this helps.