Skip to main content

Update-WtIntuneApp

Update an app in Intune

Update the assignments and/or categories for an app in Intune.\r\n\r\nThis is an authenticated command, so call Connect-WtWinTuner before calling this command.

Syntax​

Default parameter set (default)​

Update-WtIntuneApp -AppId <String> [-Categories <String[]>] [-AvailableFor <String[]>] [-RequiredFor <String[]>] [-UninstallFor <String[]>] [-EnableAutoUpdate]
ParameterReq.TypeDescription
-AppId✅StringId of the app in Intune
-Categories❌String[]Categories to add to the app
-AvailableFor❌String[]Groups that the app should available for, Group Object ID or AllUsers / AllDevices
-RequiredFor❌String[]Groups that the app is required for, Group Object ID or AllUsers / AllDevices
-UninstallFor❌String[]Groups that the app should be uninstalled for, Group Object ID or AllUsers / AllDevices
-EnableAutoUpdate❌SwitchEnable auto update for the app

Examples​

Example 1​

Update the categories of an app and make it available for all users

Update-WtIntuneApp -AppId "1450c17d-aee5-4bef-acf9-9e0107d340f2" -UseDefaultCredentials -Categories "Productivity","Business" -AvailableFor "AllUsers" -EnableAutoUpdate