Jump to content


anyweb

Unified Device Management with Configuration Manager 2012 R2 - Part 9. Deploying Apps to Android devices

Recommended Posts

In Part 1 of this mini series we integrated Windows Intune with System Center 2012 R2 Configuration Manager. In Part 2 we added Support for iOS devices (Iphone, iPad). In Part 3 we learned the difference between App Package for iOS (*.ipa file) and applications from the Apple App Store. We learned how to deploy them to iOS devices and configured the deployment type so that the applications were made available to the user based on the iPhone or Ipad operating system version, in addition we also checked device Ownership information and deployed the application based on those requirements.

 

In Part 4 we learned how to use and configure compliance settings in order to enable or disable certain configurable features on iOS devices. We enforced a Password requirement and enforced a minimum password length as this is a common requirement for organizations. In Part 5 we enabled support for Windows 8.1 devices (both Windows RT 8.1 and Windows 8.1 Enterprise) so that they could be managed via System Center 2012 R2 Configuration Manager integrated with Windows Intune. In Part 6 we deployed Windows 8.1 apps (appx) to Windows 8.1 devices. In Part 7 we looked at how to make Windows 8.1 store apps available in the Company Portal and how to make them featured apps with their own categories.

 

In Part 8 we added support for Android and learned how to deploy mobile device settings to Android devices. We enforced a Password requirement and saw how to enable File encryption on Android devices and we used resource explorer to browse the phone properties and to see if the device was a Jailbroken or rooted device. In this Part, we will learn how to deploy native APK (Android application package file) apps and how to deploy apps from Google Play. We'll learn that Available deployments to Users work but Available deployments to devices fail and we'll see how to make our deployed app featured apps within the Company Portal and with their own categories.

 

Step 1. Create an App Package for Android (*.apk)

In the Configuration Manager console, select the Software Library, expand applications, and navigate to our previously created folders called Modern Applications (created in Part 3 of this series, you can download the powershell script in Step 1 here), and then to the subfolder called Android. Right click and choose Create Application as shown in the screenshot below:-

 

create application.png

 

Select App Package for Android (*.APK files) from the Type drop down menu and then browse to the UNC path of where you have downloaded your Android App. I downloaded the following sample app which I found after doing a quick search.

 

specify settings for this application.png

 

you'll be informed that the wizard has successfully imported the App Package

 

Create Application Wizard successfully imported the app package.png

 

fill in some General Information about the App Package

 

General Information.png

 

and click your way through the rest of the wizard until completion

 

create application wizard complete.png

 

Step 2. Distribute our app to the cloud

Now that we have created our app, we need to distribute it to our cloud Distribution Point (Windows Intune DP) so that our Intune Users can download the content. To distribute the app, right click it and choose Distribute Content.

 

Distribute Content.png

 

Review selected content

 

Review Selected Content.png

 

You'll be shown what content is going to be distributed, it's only one app, so that's all you'll see listed

 

Review the content to distribute.png

 

In the content destination screen, click the Add drop down and select Distribution Point from the choices available as in the screenshot below

 

add distribution point.png

 

You'll see that MANAGE.MICROSOFT.COM is already selected, click Ok.

 

manage microsoft com.png

 

continue through the wizard until completion

 

Distribute Content Wizard complete.png

 

You can monitor the distribution of your App in DistMgr.log and also using the outgoingcontentmanager.log which records content uploaded to Windows Intune.

 

outgoingcontentmanager.png

 

and in the Configuration Manager console, we can see that app's content status in the Monitoring Node by right clicking on the Asset Details and choose More Details

 

more details.png

 

which will give us details of that status

 

content successfully distributed.png

 

Once you have verified that the content has successfully distributed you can continue with the next step.

 

 

Step 3. Deploy the App

Now we want to make our Intune Users aware of the new app, to do so, we will deploy it. Right click on our Android app and choose Deploy

 

Deploy Android App.png

 

This brings up another wizard, for Target Collection click on browse, and select our previously created Windows Intune Users collection

 

Deploy Demo to Windows Intune Users.png

 

the content screen will show our previously distributed content,

 

Deployment Content.png

 

and the next screen allows us to select the Action (install or uninstall) and purpose (Available or Required), if you want the user to have no choice, then select Required, or if you want the users to have a choice in installing this app choose a purpose of Available

 

Note: The way you deploy apps to mobile devices or mobile device users using Windows Intune Integration with Configuration Manager (hybrid scenario) will decide the outcome of the deployment (i.e. whether it works or not). For example, you can only deploy apps with an Available purpose to Users, however you can deploy apps with a Required purpose to Users and Devices. In other words, if you deploy an App with an Available purpose and target it to a Device collection then nothing will happen (the App will not appear in the Company Portal).

 

Install available deployment.png

 

Click your way through the rest of the wizard until completion

 

Deploy app wizard complete.png

 

Step 4. Create an App using Google Play

Apps from the App Store (Google Play) can also be made available in the Company Portal. To do so we once again start the Create Application Wizard. Navigate to our previously created folders called Modern Applications and then to the subfolder called Android, and to the subfolder within that called Google Play. Right click and choose Create Application as shown in the screenshot below:-

 

Create Application Google Play.png

 

Select App Package for Android on Google Play in the Type drop down menu and then click browse

 

App package for Android on Google Play.png

 

Google play should open, click on Apps on the left of the google play menu

 

Google Play opens.png

 

In the Apps menu, browse via Category and select the Google Play app you want to make available to your Android users, I find it easier to find apps by maximizing the screen. In the screenshot below i've chosen Business as the Category and then selected Microsoft Remote Desktop from the list of available apps (many many apps).

 

select the app you want in Google Play.png

 

Select the app by clicking on it, it will bring up some additional options like Install and Add to wishlist, but you should not click on either, instead click on OK

 

click on OK.png

 

Now you should see the Google Play url for the app you selected has populated itself in the Location field

 

Location Field populated via Google Play.png

 

enter some details about the app...

 

Details about the app.png

 

and continue to the end of that wizard.

 

Create google play app wizard complete.png

 

Step 5. Deploy the Google Play Android App.

As Google Play apps are already distributed in Googles own 'store' there's no need for us to distribute them to a distribution point, all we need to do is to Deploy the App, so let's do that, same as step 3 above. Right click on the App, choose Deploy

 

Deploy Microsoft Remote Desktop.png

 

Select the Windows Intune Users User collection and continue through the wizard until completion.

 

Deploy Microsoft Remote Desktop to Windows Intune Users is complete.png

 

 

Step 6. Make the App a Featured App and Categorize it

Select the Remote Desktop App we just added, right click it, and choose Properties, then select the Application Catalog tab, place a checkmark in the Display this as a featured app and highlight it in the Company Portal as shown below

 

Display this as a featured app and highlight it in the company portal.png

 

Next click on the Edit button to the right of User Categories and then click on Create to create a Category, give the new category a suitable name like Android Google Play app

 

create user category.png

 

Click Apply and then click OK to close.

 

 

Step 7. Verify the end user experience on an Android device

Now all the hard work is done, it's time to see the fruits of our labor, log on to an Android Device, start up the company portal and enter your credentials when prompted

 

Screenshot_2014-05-02-13-41-05.png

 

Once the Company Portal has loaded, it's quite likely that the Android device will not have received any new policy yet, so the applications we deployed above won't appear in the Company Portal (yet), if this is the case, wait and then try again.

 

Screenshot_2014-05-02-14-49-45.png

 

After the policy has finally taken, your Deployed apps appear in the company portal

 

Screenshot_2014-05-03-22-45-39.png

 

 

Success :-)

 

Troubleshooting

If your apps are not installing please do read my note above in Step 3.

 

Recommended Reading

Summary

Deploying applications (apk apps) to Android Devices is relatively easy to do using the Configuration Manager 2012 R2 with Windows Intune Integration.

 

Downloads

You can download a Microsoft Word copy of this guide here.

 

How can I manage modern devices using System Center 2012 R2 Configuration Manager Part 9.zip

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.