Microsoft Exchange Policy Problem [solved]
Dear all,
Some time ago I finally bought a Jolla phone (I've been a long N900 user). Since I'd like to use my private Jolla also as my business phone, I need MS Exchange. I've been trying many things but cannot manage to get the Jolla to sync with our corporate MS Exchange server. I always get the message: "Oops, account could not be added" - Device does not support all server settings and policies required by this account.
Today, I finally discovered that I can retrieve a log file from the server:
RequestBody :
<?xml version="1.0" encoding="utf-8" ?>
<Provision xmlns="Provision:">
<Policies>
<Policy>
<PolicyType>MS-EAS-Provisioning-WBXML</PolicyType>
</Policy>
</Policies>
</Provision>
AccessState :
Allowed
AccessStateReason :
Global
ResponseHeader :
HTTP/1.1 200 OK
MS-Server-ActiveSync: 15.0
ResponseBody :
<?xml version="1.0" encoding="utf-8" ?>
<Provision xmlns="Provision:">
<Status>1</Status>
<Policies>
<Policy>
<PolicyType>MS-EAS-Provisioning-WBXML</PolicyType>
<Status>1</Status>
<PolicyKey>1234567890</PolicyKey>
<Data bytes="43"/>
</Policy>
</Policies>
</Provision>
RequestBody :
<?xml version="1.0" encoding="utf-8" ?>
<FolderSync xmlns="FolderHierarchy:">
<SyncKey>0</SyncKey>
</FolderSync>
AccessState :
Blocked
AccessStateReason :
Policy
ResponseHeader :
HTTP/1.1 200 OK
MS-Server-ActiveSync: 15.0
ResponseBody :
<?xml version="1.0" encoding="utf-8" ?>
<FolderSync xmlns="FolderHierarchy:">
<Status>142</Status>
</FolderSync>
Unfortunately, I can not edit the policies on the server side. Does anyone have a clue whether I can do something or whether this is a feature that is not supported by Sailfish yet?
Thanks!
Doing some more research leads me to the conclusion that there must be another policy mismatch. The status code 142 when trying to retrieve the folder hierarchy only means "DeviceNotProvisioned". I appreciate any idea that helps me getting further.
schumadr ( 2014-12-12 14:14:37 +0200 )editCheck here: https://together.jolla.com/question/12529/microsoft-exchange-not-working-with-company-exchange-server/ Basically, there are still some parameters not yet managed by Sailfish, encryption, for example.
Jordi ( 2014-12-12 15:55:34 +0200 )edit@schumadr - Do you know what policies the server requests ? maybe it also accept no-provisionable devices(you can change that while configuring the account), if you could connect with n900 that's the case then.
VDVsx ( 2014-12-12 17:56:18 +0200 )edit@Jordi - Thanks, I've seen that thread as well but since it's from early this year, I thought that it might not be up to date anymore. You may be right that there are some parameters still missing. @VDVsx - Unfortunately, I don't know which policies the server requests. Any way to log that? The MS Exchange does not work with the N900, the server refuses to sync.
schumadr ( 2014-12-12 22:24:08 +0200 )edit@schumadr - You can collect logs this way:
enable logging, in:
Enable file log and add a path for the log, like for example:
in the categories section make sure provision is set to 1, like this:
Reboot the device and then configure the account, wait until the sync is finished, examine the file to see if you want to remove some data, your email address, calendar entries names and folder names can be presented there, send me the logs to mail-logs at jolla dot com. After that turn file log off again by setting "enabled" to 0.Thanks a lot!
VDVsx ( 2014-12-15 10:03:15 +0200 )edit