Skip to main content
Device and App Management resources enable you to manage mobile applications, app configurations, and app assignments across iOS, Android, macOS, and Windows platforms.

Resource Categories

Mobile Apps

Win32, iOS, macOS, Android apps

App Configuration

Managed app configuration policies

App Assignments

App deployment and targeting

Common Use Cases

Application Deployment

# Deploy Win32 app to all devices
resource "microsoft365_graph_beta_device_and_app_management_win32_app" "firefox" {
  display_name = "Mozilla Firefox"
  publisher    = "Mozilla"
  
  app_installer = {
    installer_file_path_source = "/path/to/Firefox.intunewin"
  }
  
  install_command_line   = "msiexec /i \"Firefox Setup.msi\" /qn"
  uninstall_command_line = "msiexec /x {GUID} /qn"
}

# Assign to all devices
resource "microsoft365_graph_beta_device_and_app_management_mobile_app_assignment" "firefox_all_devices" {
  mobile_app_id = microsoft365_graph_beta_device_and_app_management_win32_app.firefox.id
  intent        = "required"
  
  target = {
    target_type = "allDevices"
  }
}

Mobile App Configuration

# iOS managed app configuration
resource "microsoft365_graph_beta_device_and_app_management_ios_managed_device_app_configuration_policy" "outlook" {
  display_name = "Outlook Configuration"
  
  # Configuration settings
}

Platform Support

PlatformApp TypesConfigurationAssignment
WindowsWin32, WinGet, Web, Office Suite
macOSPKG, DMG, LOB, VPP
iOS/iPadOSStore, Web Clip, LOB
AndroidManaged, LOB

Key Features

  • Upload and package apps
  • Configure detection rules
  • Define install/uninstall commands
  • Set requirements and dependencies
  • Manage app supersedence
  • Target all devices or all licensed users
  • Assign to specific groups
  • Use assignment filters for granular control
  • Set install intents (required, available, uninstall)
  • Configure exclusion groups
  • Platform-specific configurations
  • Managed app settings
  • Custom XML/JSON configurations
  • App protection policies integration

Next Steps

1

Explore Mobile Apps

Learn about mobile app resources for different platforms
2

Configure Apps

3

Deploy Apps

Create app assignments to target users and devices

Build docs developers (and LLMs) love