Deploy an Application from Windows Store for Business via System Center Configuration Manager

The Windows Store for Business allow administrators to distribute both Online and Offline licensed Universal Apps to users. With the Online model, users must have an account provisioned in Azure Active Directory - this will give them access to the organization's private store within the public Windows Store. However, not all organizations have provisioned user accounts in Azure Active Directory.

In this post, we'll focus on how to distribute apps using the Offline model. In this scenario, you can take the .appx file for an app that has been made available for Offline use, and distribute the app with a management tool such as System Center Configuration Manager or the Windows Imaging and Configuration Designer. This post will outline how to distribute the application using System Center Configuration Manager Current Branch (in this post, SCCM 1602 is used for the app deployment).

The first thing we need is access to the Windows Store for Business - in order to access the Store for Business, you will need to be a Global Administrator in Azure Active Directory. Login or sign up for access to the Windows Store for Business here https://www.microsoft.com/en-us/business-store.

 

Credentials

 

 

Login

 

 

NOTE: In order to download Offline apps from the WSfB, you will need to enable the following setting under Account Information. Head to Settings - Account Information  1

 

Scroll towards the bottom of the page under the Offline Licensing section. Check the box for Show offline licensed apps to people shopping in the store. 2

 

 

Once you have access to the Store for Business, you can search for applications to view what is available Online vs Offline, or both. In this case, we are going to deploy the Power BI application in Offline mode.

1

 

Search for Power BI and click on the app in the search results. This will take you to a page with more info about the app. Note here that Power BI is available both Online and Offline.

 

 

2

 

Click Offline and choose Get the app. This will open a new window telling you that the app has been added to your inventory.

3

 

 

 

Click OK. This will take you to a new page where the Power BI appx files can be downloaded.

4

 

 

 

7

 

On this page you will see the appx files for the application to download, plus any prerequisites required for the application to run successfully. Click Download on the Download package for offline use and under the Required Frameworks section.

 

Download the files to a location which can be accessed by ConfigMgr (your standard source share for other ConfigMgr apps can be used for this).

Capture

 

 

Once the files have been downloaded, we can deploy the application via System Center Configuration Manager.

In the ConfigMgr admin console, go to Software Library - Application Management - Applications.

createapp

 

Right click and choose Creation Application. This will open the Create Application Wizard.

captureapp2

 

 

Choose the Windows app package (*.appx, *.appxbundle) type and specify the file location of the Power BI appx file which you had downloaded from WSfB. Click Next.

Capture

 

The next page will show you that the file imported successfully. If any prerequisites are missing from the folder the application is stored in, you will see a warning. Click Next.

Note: During testing I found that ConfigMgr displayed a warning when importing the Power BI appxbundle even when the prerequisites were included in the same folder - seems like it was not able to identify that the prereqs were correct. However, I was still able to install the Power BI application successfully on a Windows 10 device.

1

 

If ConfigMgr was able to successfully identify the appx/appxbundle plus all prereqs, you should see a screen similar to this:

test1

 

On this page you can specify items such as the Name, Publisher, and Administrative Category for the app. Click Next.

 

test3

 

test2

 

This page will display a summary of all the settings from the previous pages of the Create Application Wizard. Click Next.

test4

 

ConfigMgr will being to create the Power BI application

5

 

 

Once ConfigMgr finished the app creation, you will see this page. The Power BI app is now created and ready to deploy.

6

 

In the System Center Configuration Manager console, right click on the Power BI application which was just created and choose Deploy.

Capture

 

 

Choose a Collection to deploy the Power BI application to. In this case, Power BI is deployed to a collection of all Windows 10 machines. Click Next.

1

 

Choose a Distribution Point to distribute the Power BI app. Click Next.

2

 

 

On the Deployment Settings page, choose whether Power BI will be deployed as Available or Required. Click Next.

3

 

 

On the Scheduling page, choose when the application will be available for users to install. Click Next.

4

 

 

On the User Experience page, choose how users will be notified of the app install. Click Next.

5

 

 

On the Alerts page, choose if you want to be alerted for failed deployments and System Center Operations Manager alerts. Click Next.

6

 

 

The Summary page will display a list of all settings chosen for the Deploy Software Wizard. Click Next.

7 8

 

ConfigMgr will begin creating the application. Once complete, you should see this page:

9

 

 

Once the Power BI app has been created, logon to a Windows 10 machine to which the app was deployed.

Right click on the Windows button and open Control Panel.

Search for Configuration Manager and open the applet. On the Actions tab, initiate the Machine Policy Retrieval & Evaluation Cycle.

Open the AppDiscovery.log at C:\Windows\CCM. You should see entries similar to this:

 

10

 

 

Click on the Windows button and open Software Center. The Microsoft Power BI app should now be listed in Software Center; click Install. 11 12 13

 

 

The install will complete, and you should see the new Microsoft Power BI app listed in the Start Menu list of All Apps

14 15

 

 

That's it! You've now successfully deployed a Universal App using both the Windows Store for Business and System Center Configuration Manager.

 

Thanks for reading and please leave questions/comments below. Thanks!

Comments

  • Anonymous
    May 29, 2016
    To add to this: to see "Offline Licenced Apps" ensure you have the "Show offline licensed apps to people shopping in the store." checkbox checked under "account information".This is not checked by default.
    • Anonymous
      May 30, 2016
      Thanks for the tip Robby, I've updated the post to include that setting.Thanks.
      • Anonymous
        February 09, 2017
        Hi Teju, I need to know couple of things. 1.how to upgrade any wondows store app through sccm.. Both have same package family name but the version is bit different. 2.shall I uninstall win store app through software center? 3 . also where I can find that settings to show offline app mentioned in this thread. Please reply urgently required
  • Anonymous
    May 31, 2016
    Do I also need to download app Metadata ? Is it used by SCCM ?What about the licence file ?Is it possible to install multiple languages ?
    • Anonymous
      June 03, 2016
      Michel, The appx or appxbundle that you deploy should run on the user's computer based on their language pack - I Just tested downloading the Word mobile app and deployed to a Windows 10 VM running the fr-fr language pack; Word opened on the VM with the language applied.
      • Anonymous
        July 06, 2016
        I have made some test and it seems that licence file is always required (for free applications too).If missing, you get the following error into event viewer "Activation of app Microsoft.MicrosoftPowerBIForWindows_8wekyb3d8bbwe!Microsoft.MicrosoftPowerBIForWindows failed with error: No applicable app licenses found. "
  • Anonymous
    July 28, 2016
    How are app updates handled after deployed in this method? (Do the PCs need internet access? or do we have to check often and download new versions of the offline app?)
    • Anonymous
      September 05, 2016
      @NickD, for apps deployed via SCCM, you would need to re-deploy updated appx files through SCCM in order to update it
  • Anonymous
    September 09, 2016
    The comment has been removed
  • Anonymous
    September 20, 2016
    Hi, is there any way to add a personalized description for a deployed app? I am trying to add a description for some apps so the user can see in the phone app store what is this app for. Thanks!
    • Anonymous
      September 21, 2016
      Hi Carles, you can add a description when creating the application in the SCCM console - the description specified for the deployment type settings or in the Application Catalog section is what the user will see in Software Center and/or Application Catalog
  • Anonymous
    October 03, 2016
    The reason you are getting the error about dependencies is because you need to have downloaded them for ALL platforms regardless of what you are installing onto. x64 x86 and ARM. Once all are stored in the content folder the error goes away.
    • Anonymous
      October 10, 2016
      No you only need the dependencies that the appx package supports. So if a appx package supports only x64 you only need the x64 dependencies. I have the problem now that my first test roll-out went fine on a laptop and the package works, on the other computers it keeps saying no applicable app-license found but its the same content from SCCM as for the laptop it works for and the licence is included.
  • Anonymous
    November 02, 2016
    Tried to distribute an app offline using SCCM 2012 today but when running it from Software Center, the AppEnforce.log generates errors and it failes. The main error is "Failed to detect whether offline license is installed with error = 0x80041010 AppEnforce 02.11.2016 10:15:44 1152 (0x0480)"All files, including both encrypted and unencrypted license files are present in the source folder.
    • Anonymous
      January 24, 2017
      @Tommy Stephansen, did you get it resolved, since we experience the same problem with SCCM 1602.
  • Anonymous
    January 07, 2017
    Hi Teju, Very nice article - I like it! Would this procedure work on Windows 10 LTSB as well?- Michael
    • Anonymous
      February 06, 2017
      Hi Michael, since the Windows Store application is not available on LTSB, any application which redirects the user to the Windows Store cannot be installed, but you can still do offline appx/appxbundle deployments.
  • Anonymous
    January 18, 2017
    Lately - I just get the error "the app does not work on your device" from everything I try to pick from the Windows Store. I'm on 1606 - this feature used to work :/.