Microsoft Intune

This book section is for MS Intune related documentations

Dynamic Device Group for Company-Owned Windows Devices

Field

Details

Document Type

How-To Guide - Create a Dynamic Group Runbook

Applies To

Microsoft Entra ID & Microsoft Intune

Audience

2nd Line, Entra ID & Intune Admin

Author

AK. Udofeh

Last Updated

Nov 2025

Overview

This document explains how to create a dynamic device group in Microsoft Entra ID (formerly Azure AD) that automatically includes all Company-owned Windows devices that are Microsoft Entra-Joined. This group can then be targeted for Intune policies.

Key properties used
Steps to Create the Dynamic Device Group
 (device.deviceOSType -eq "Windows") and (device.trustType -eq "AzureAD") and (device.deviceOwnership -eq "Company") and (managementType -eq "MDM")
Rule Breakdown

Limitation: Some co-managed or misreported devices may still appear; manual validation may be required.

Validate and Save
Common Device Attributes & Values

Property

Value

Meaning

device.trustType

AzureAD

Microsoft Entra joined (cloud-only)

 

ServerAD

Hybrid joined (on-prem AD + Entra)

 

Workplace

Registered only (personal/BYOD)

device.deviceOwnership

Company

Corporate-owned device

 

Personal

User-owned device

device.deviceOSType

Windows

Windows OS devices only

 

managementType

 

MDM

 

MDM/AD

Unknown

Managed via Intune or another MDM

Hybrid-managed

Not managed

device.deviceCategory

Type in your device category name

This depends on the category name that has been provisioned already

Dynamic groups are evaluated automatically whenever device properties change.

Ensure devices are marked as Company-owned during or after enrollment.

Combine a broad dynamic device group with compliance/enrollment policies and manual validation to ensure only Intune-managed devices receive policies.

HOW TO: Join a Windows Computer to Microsoft Intune

Field

Details

Document Type

How-To Guide - Join a Windows Computer to MS Intune Runbook

Applies To

Microsoft Entra ID & Microsoft Intune

Audience

2nd Line, Entra ID & Intune Admin

Author

AK. Udofeh

Last Updated

Nov 2025

Overview

This guide details the steps to follow to join a Company-owned Windows computer to Entra ID (formerly known as Azure AD). Joining a device to Microsoft Entra ID enables a secure Single Sign-On (SSO) experience to Corporate Apps, policy-based device management via Intune, and access controls via Entra ID Conditional Access Policy. It also allows Administrators to enforce compliance, manage updates, and remotely wipe lost or stolen devices.

The device must be Windows 10 or 11 Pro, Enterprise or Education. The device must have internet access to reach Microsoft Entra services during the join process. User must sign in with the Organisation's account, and the account must have permissions to join devices.

If another MDM agent (or on-prem AD join with GPO) is active, joining may fail or cause conflicts.

Your old workgroup profile will be separate from the new Entra ID profile, and some personalisation may be lost. As such, you may want to move your data in the Downloads, Documents, and Desktop folders and export your Internet browser bookmarks, saved passwords and store the backup files in OneDrive or Box Cloud Storage before starting the device join process.

You may have to install Company Portal from Microsoft Store if it is not already installed on your device.

Bonus: You may want to follow these links for a guide on how to export and restore your browser bookmarks and saved passwords.

HOW TO: Export & Import Microsoft Edge Browser Password

HOW TO: Export & Import Microsoft Edge Browser Bookmarks

HOW TO: Export & Import Chrome Browser Passwords

HOW TO: Export & Import Chrome Browser Bookmarks

Step 1: Click the Start menu on the Taskbar > type “Company Portal” in the search bar and click on the Company Portal App to open.

image.png

Step 2: Click “Sign in”.

image.png

Step 3: Type in your username and click Next.

image.png

Step 4: Type in your password and click Sign in.

image.png

Step 5: Type in the number shown into your Authenticator App to verify your log in.

image.png

Step 6: Click “Yes” to register your device with Entra ID.

image.png

Step 7: Click “Yes” to enrol your device for management in Intune.

image.png

Step 8: Allow the registration process to complete

image.png

image.png

Step 9: Select the category for this device (if unsure, please reach out to Helpdesk)

image.png

Step 10: Device enrolment successfully completed.

image.png

Step 11: You will need to "switch users" to log in to your new Organisation's account on your device. Click “Start” Menu > click your current user account > click three-dot menu > click “Switch user”.

image.png

Step 12: Click “Other user” to sign in with your Organisation's domain account.

image.png

Step 13: Type in your Organisation's domain account and password.

image.png

Step 14: Viola, you’re now in.

image.png