How can I disable a phone from getting email if it's already authorized?

%3CLINGO-SUB%20id%3D%22lingo-sub-917608%22%20slang%3D%22en-US%22%3EHow%20can%20I%20disable%20a%20phone%20from%20getting%20email%20if%20it's%20already%20authorized%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-917608%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20trying%20to%20figure%20out%20how%20I%20can%20disable%20a%20user's%20mobile%20device%20from%20syncing%20with%20Outlook%20if%20it's%20already%20syncing%20now.%3C%2FP%3E%3CUL%3E%3CLI%3EI%20tried%20going%20into%20the%20EAC%20and%20clicking%20Disable%20ActiveSync%20and%20OWA%20for%20devices%20but%20that%20had%20no%20effect.%26nbsp%3B%20The%20phone%20can%20still%20send%20and%20receive%20email.%3C%2FLI%3E%3CLI%3EI%20then%20tried%20running%20the%20Remove-MobileDevice%20command%20for%20the%20phone%20which%20does%20remove%20it%2C%20but%20as%20soon%20as%20Outlook%20refreshes%2C%20it%20puts%20the%20phone%20right%20back%20in%20the%20system%20and%20keeps%20working.%3C%2FLI%3E%3C%2FUL%3E%3CP%3EWhat%20can%20I%20do%20if%20I%20need%20to%20stop%20someone%20from%20accessing%20their%20email%20on%20their%20phone%3F%26nbsp%3B%20Preferably%20something%20through%20Powershell%20since%20I%20need%20to%20do%20this%20for%20a%20number%20of%20people%20but%20if%20I%20have%20to%20click%20through%20the%20GUI%2C%20I%20can%20make%20that%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-917608%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Super Contributor

Hi there,

 

I'm trying to figure out how I can disable a user's mobile device from syncing with Outlook if it's already syncing now.

  • I tried going into the EAC and clicking Disable ActiveSync and OWA for devices but that had no effect.  The phone can still send and receive email.
  • I then tried running the Remove-MobileDevice command for the phone which does remove it, but as soon as Outlook refreshes, it puts the phone right back in the system and keeps working.

What can I do if I need to stop someone from accessing their email on their phone?  Preferably something through Powershell since I need to do this for a number of people but if I have to click through the GUI, I can make that work.

 

Thanks!

4 Replies
Highlighted

Disabling ActiveSync should not have any effect, as the Outlook app now uses a new protocol. OWA doesn't relate to the mobile Outlook app. The -OutlookMobileEnabled parameter is what you should use.

 

Removing the device should work however, perhaps with some delay due to token expiration and stuff (you can try revoking tokens to speed it up). Other than that, you can use device access rule or blacklist the client for EWS.

 

All this and more is summarized here: https://docs.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/outlook-for-ios-and-...

Highlighted

@Vasil MichevI set my own account to OutlookMobileEnabled: False but am still able to send and receive from my phone.  Maybe it takes a bit to take effect so I'll try again in a bit.

 

The reason we are doing this is we have an internal Mobile Device Policy that everyone has to agree to if they want to sync their email to their phone.  We want to disable the ability to get email on their phones by default and then we can enable it for people as they sign the policy form.  Is there a good way to do that?   I thought I saw something you could set so all device go into quarantine as soon as they try to connect and then we could Allow the device for people once they've agreed to the policy.

 

Thanks.

Highlighted

Ok so here's the update.

After a while, my Outlook app did come up and tell me I was blocked so it appears that setting the OutlookMobileEnabled setting does prevent people from getting into Outlook.

 

I also found these instructions that will push every phone into Quarantine when it connects:

https://blogs.technet.microsoft.com/praveenkumar/2015/08/19/how-to-block-or-quarantine-all-devices-b...

 

If I use the OutlookMobileEnabled setting, I can set that to False for all users and then set it to True once someone signs our policy document.  Pro is that it's on the user's account and not phone specific.  Con is that it has to be done through Powershell and I don't know if there's a way to make False be the default for all new users that get created.

 

If I use the Quarantine method, I can make this the default so all phones get blocked by default.  Pro is that it's automatic, it can send an email when a phone goes in quarantine, and it can be released through the GUI.  Con is that it's per device so any time a user gets a new phone, we'll have to release it.

 

Is there any setting that applies at the user lever, can be made defaulted to off for all users, and can be turned on/off from within the Admin portal?

 

Thanks.

Highlighted

There isn't one. The OutlookMobileEnabled is client-specific, it will not block clients other than Outlook, so you might want to combine that with the additional ActiveSync controls. It's very easy to automate via PowerShell, so you can just provide a script instead of the UI option.