Hello,
We have Sophos Mobile (cloud) deployed with an on premises EAS Proxy (Server 2012R2) That communicates with our on Premises Exchange 2010 Server (2008 R2) to enforce rules on only allowing the Sophos Secure Email App to access Exchange via Activesync. On the EAS proxy Server, we have a powershell instance setup to communicate with Exchange to query our mobile devices. However as soon as the powershell instance executes, it errors out with the following (In Red):
2018-07-31 16:13:42,884 INFO [Timer-0 EASProxyInstance_SophosEAS] Connection statistics for instance '1:SophosEAS': inbound: 0, outbound: 0
2018-07-31 16:13:42,884 INFO [Timer-0 EASProxyInstance_SophosEAS] Memory statistics: free: 1655.79 MB, max: 27305.00 MB, total: 1963.00 MB
2018-07-31 16:14:42,884 INFO [Timer-0 EASProxyInstance_SophosEAS] Connection statistics for instance '1:SophosEAS': inbound: 0, outbound: 0
2018-07-31 16:14:42,884 INFO [Timer-0 EASProxyInstance_SophosEAS] Memory statistics: free: 1655.79 MB, max: 27305.00 MB, total: 1963.00 MB
2018-07-31 16:15:42,893 INFO [Timer-0 EASProxyInstance_SophosEAS] Connection statistics for instance '1:SophosEAS': inbound: 0, outbound: 0
2018-07-31 16:15:42,893 INFO [Timer-0 EASProxyInstance_SophosEAS] Memory statistics: free: 1655.79 MB, max: 27305.00 MB, total: 1963.00 MB
2018-07-31 16:16:42,895 INFO [Timer-0 EASProxyInstance_SophosEAS] Connection statistics for instance '1:SophosEAS': inbound: 0, outbound: 0
2018-07-31 16:16:42,895 INFO [Timer-0 EASProxyInstance_SophosEAS] Memory statistics: free: 1655.79 MB, max: 27305.00 MB, total: 1963.00 MB
2018-07-31 16:17:42,905 INFO [Timer-0 EASProxyInstance_SophosEAS] Connection statistics for instance '1:SophosEAS': inbound: 0, outbound: 0
2018-07-31 16:17:42,905 INFO [Timer-0 EASProxyInstance_SophosEAS] Memory statistics: free: 1655.79 MB, max: 27305.00 MB, total: 1963.00 MB
2018-07-31 16:17:48,297 INFO [Timer-0 EASProxyInstance_SophosEASPowershell] Starting Office 365 Task
2018-07-31 16:17:56,297 ERROR [Timer-0 PowerShell_SophosEASPowershell] Error executing Query Mobile Devices command: Get-MobileDevice : The term 'Get-MobileDevice' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.At line:1 char:23+ [Console]::Out.Write((Get-MobileDevice | select Identity, DeviceId, DeviceAccess ...+ ~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Get-MobileDevice:String) [], Co mmandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
2018-07-31 16:17:56,297 ERROR [Timer-0 EASProxyInstance_SophosEASPowershell] Office 365 Task failed
java.io.IOException: Error executing command
at com.sophos.mobilecontrol.easproxy.server.powershell.PowerShell.executeCommand(PowerShell.java:99)
at com.sophos.mobilecontrol.easproxy.server.EASProxyInstance$Office365Task.run(EASProxyInstance.java:374)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
As the error states, I'm assuming the failure is due to Exchange 2010 not recognizing the "Get-MobileDevice' command. Running this command locally on the exchange server yields the same error results. Has anyone else come across this while implementing EAS Proxy? It does say Exchange 2010 is supported in the documentation...
Thank You,
Eric
This thread was automatically locked due to age.