Intune: How to enable Android for Work enrollments

Intune allows multiple devices to be enrolled and managed. Most of the device types are allowed by default: Android, iOS, macOS, Windows, etc. However, one thing to note is that Intune treats Android for Work devices completely differently than Android devices. There are completely different configuration profiles and actions designated just for Android for Work. Most importantly, Android for Work enrollments are blocked by default. This post shows how you can enable Android for Work enrollments.

  1. Log into Azure (https://portal.azure.com)
  2. Open the Intune Console
  3. Click on Device enrollment
  4. Click on Android for Work enrollment 
  5. Complete the prerequisites.
  6. Go to Enrollment Restrictions 
  7. You can create a new enrollment restriction or edit the default one. It’s easiest just to edit the default one.
  8. Under “Platforms” switch the toggle for Android for Work from “Block” to “Allow.” 

And that’s it! Now you can enroll Android devices with an Android for Work container. Note that if an Android device is capable of Android for Work, then the enrollment type will be Android for Work by default (which is probably why AfW enrollments are turned off by default).

Backing Up Mobile Photos as a Google Drive User

Overview

There are a ton of different cloud storage solutions for storing mobile photos: Amazon Photos, Onedrive, Google Photos, Google Drive, etc. I personally have been using Gmail since it first went live, so it was natural for me to use Google Drive as well. The service not only gives me a place to store files and photos, but it extends the space for my email too, which was beginning to max out. The question is: is Google Drive the best solution for backing up mobile photos?

 

Usage

I really started researching this when I was in Hong Kong, and wanted to back up my memories in case something happened to my phone. The first thing that I learned is that Google Photos and Google Drive are separate products. They are not synced perfectly and in fact have completely different storage sites. You can subscribe to Google Photos and not Google Drive, and vice versa. This leads to some major problems:

  1. You cannot touch Google Photo files from Google Drive without downloading your entire Google Photos cache.
    • There is a setting in Google Drive called “Auto Backup” which allows you to automatically upload your mobile photos into Google Photo. This is convenient, because Google Photos has a lot of tools to manipulate photos, and is an overall better product for viewing photos.
    • The problem with the automatic setting is that Google Drive will not upload your photos to Google Drive. This sounds nonsensical but it’s true. If you use the Auto Backup setting, you will be able to see your photos in Google Photos, but you will be unable to see it in Google Drive.
    • If you want to see the mobile photos that you just uploaded, you will have to also turn on the “Google Photos” folder, which will upload your entire Google Photos database into your Google Drive.
  2. Duplicate photos will show up in Google Drive if you download the entire Google Photos folder.
    • Long time users like me will probably have this setting turns on:
    • The “Google Drive” setting in Google Photos will automatically sync Google Drive photos into Google Photos.
    • So if you download the entire Google Photos folder into Google Drive, you will be downloading the photos that you automatically uploaded, resulting in duplicate photos in your Google Drive!

 

Clarification

This all may be difficult to understand so I drew a diagram:

  • Top row: For many users, Google Drive photos are automatically synced to Google Photos.
  • Middle row: On your mobile device, from the Google Drive app, if you turn on “Auto Backup” it will upload your photos to Google Photos. You will not be able to see these photos in Google Drive unless your Google Photos folder is downloaded.
  • Bottom row: On your mobile device, from the Google Drive app, if you turn on the “Google Photos” folder then your entire Google Photos folder will be downloaded into your Google Drive. However, this will be a new folder in your Google Drive, which means that you will have a duplicate of all your photos!

 

There is a way to perfectly use this system:

  1. Have no photos
  2. Set up Google Drive
  3. In Google Drive settings, sync the Google Photos folder to Google Drive
  4. In Google Photos settings, do not sync Google Drive photos to Google Photos
  5. In the Google Drive or Google Photos app, upload your mobile photos on the go. Your photos will be uploaded into your Google Photos app, which will be visible in Google Drive.

 

I can’t do this however, because this requires using the “Google Photos” folder in “Google Drive” as the primary and central source of photos. I personally have been using a different folder in Google Drive, and it has decades worth of data. I don’t want to change my primary source of photos to Google Photos.

 

Conclusion

It is hard for me to recommend using the Google ecosystem to back up mobile photos. The fact that Google Photos and Google Drive are different products, and are difficult to use together (unless you do it the exact right way), means that a lot of users like me will either have to do research or make mistakes. Photo services should not be this complicated. If the Google Drive app uploaded photos to Google Drive, then this entire ecosystem would be way easier to use. But it doesn’t.

 

I do have the option of one day downloading my entire Google Photos folder, deleting everything inside, and then moving my primary photos folder into the Google Photos folder. I haven’t tried this yet, but I have a feeling that it’s not as simple as it seems.