Skip to main content

Deploy-WtMsStoreApp

Create a MsStore app in Intune

Use this command to create an Microsoft Store app in Microsoft Intune.\r\n\r\nThis is an authenticated command, so call Connect-WtWinTuner before calling this command.

Syntax

PackageId (default)

Deploy an app to Intune by specifying the package ID of the app in the Microsoft Store.

Deploy-WtMsStoreApp -PackageId <String> [-Categories <String[]>] [-AvailableFor <String[]>] [-RequiredFor <String[]>] [-UninstallFor <String[]>]
ParameterReq.TypeDescription
-PackageIdStringThe package id to upload to Intune.
-CategoriesString[]Categories to add to the app
-AvailableForString[]Groups that the app should available for, Group Object ID or AllUsers / AllDevices
-RequiredForString[]Groups that the app is required for, Group Object ID or AllUsers / AllDevices
-UninstallForString[]Groups that the app should be uninstalled for, Group Object ID or AllUsers / AllDevices

SearchQuery

Deploy an app to Intune by searching for packages and pick the first one, use carefully!

Deploy-WtMsStoreApp -SearchQuery <String> [-Categories <String[]>] [-AvailableFor <String[]>] [-RequiredFor <String[]>] [-UninstallFor <String[]>]
ParameterReq.TypeDescription
-SearchQueryStringName of the app to look for, first match will be created.
-CategoriesString[]Categories to add to the app
-AvailableForString[]Groups that the app should available for, Group Object ID or AllUsers / AllDevices
-RequiredForString[]Groups that the app is required for, Group Object ID or AllUsers / AllDevices
-UninstallForString[]Groups that the app should be uninstalled for, Group Object ID or AllUsers / AllDevices

Examples

Add Firefox to Intune

Add Firefox to Intune and make available for AllUsers

Deploy-WtMsStoreApp -PackageId "9NZVDKPMR9RD" -AvailableFor AllUsers