Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
To create a Windows 11 device group, make a security group in Microsoft Intune or Microsoft Entra ID, then choose either manual Assigned membership or rule-based Dynamic Device membership. In Intune, go to Groups > New group, select Security as the group type, name and describe the group, and configure its device membership. Microsoft now calls Azure AD Microsoft Entra ID; the device-group process is otherwise the same.
Use a dynamic group when membership should follow device attributes or be reused across workloads such as Intune, Conditional Access, or Windows Autopilot. For a policy or app assignment in Intune that only needs device-property targeting, an assignment filter is often more precise because it evaluates at device check-in. The sections below show the exact setup, rules, permissions, and checks needed to avoid assigning a Windows policy to the wrong devices.
As an Amazon Associate I earn from qualifying purchases.
Free tools Windows power users keep installed
One-click scans. No signup required.
What is a Windows 11 device group?
A device group is a security-enabled Microsoft Entra group whose members are device objects rather than users. Intune, Windows Autopilot, and other Microsoft services can use that group to target configuration policies, applications, compliance policies, enrollment profiles, or access controls. A group created in the Intune admin center is created in Microsoft Entra ID as well; Microsoft documents this directly in its Intune group guidance.
“Windows 11” is not automatically a membership value. The commonly documented operating-system rule, device.deviceOSType -eq "Windows", matches Windows device objects and can include more than one Windows release. If you need a particular Windows 11 build, use the version attribute only after checking the values actually present in your tenant.
Popular on Amazon
- Aluminum Slim Computer Side Mount Clip: Compatible with all phones, featuring a portable foldable expansion bracket in sleek black finish
- Upgraded Magnetic Mount Technology: Designed for laptop, desktop monitor, MacBook, iPad and Tesla car screen with stable adsorption, adjustable angle, and dual-screen interaction support for improved office efficiency
- High-End Metal Craftsmanship: Selected high-hardness aluminum alloy with CNC precision machining, matte plating process, delicate texture that is wear-resistant and anti-scratch
- Strong Magnetic Attachment: Features upgraded high strength magnet with 200% increased magnetic force for firm phone attachment, innovative ring-shaped heat dissipation design prevents overheating and ensures no signal interference
- Wide Range of Compatibility: Works with iPhone 18/17/16/15/14/13/12 series including Pro Max/Mini versions, includes 2 metal rings for non-magnetic phones or cases for full device compatibility
Should I use Assigned, Dynamic Device, or an assignment filter?
Choose based on where the targeting must work and how membership should change. Assigned groups are curated by people, Dynamic Device groups calculate membership from a rule, and Intune assignment filters narrow an assignment at check-in without creating a reusable group.
| Method | How membership is maintained | Best fit | Important limitation |
|---|---|---|---|
| Assigned | An administrator adds or removes devices manually. | A fixed pilot ring, exception list, or small, deliberately selected set. | Membership does not update when a device’s attributes change. |
| Dynamic Device | Microsoft Entra evaluates a device rule and adds matching objects. | Reusable targeting across Intune, Conditional Access, Autopilot, or other workloads. | Membership depends on directory attributes and group-processing state. |
| Assignment filter | Intune evaluates device properties when the device checks in. | An Intune app or policy assignment based on OS, model, manufacturer, ownership, or category. | It is not a general-purpose Entra group and is not a substitute for an Autopilot group. |
Microsoft’s guidance is to consider filters for Intune app and policy assignments when they meet the targeting need. A filter can be paired with Intune’s virtual All devices group, which automatically represents Intune-enrolled devices. That virtual group exists in Intune assignment contexts; it is not a conventional, reusable Microsoft Entra group. See Microsoft’s dynamic-membership and filter guidance for the distinction.
What do I need before creating the group?
You need access to the Microsoft Intune admin center or Microsoft Entra admin center and permission to create a security group. In most tenants, users can create and configure groups by default, but an organization’s policy may restrict that ability. A creator, owner, or suitably privileged administrator can edit the group; Microsoft identifies the built-in Groups Administrator role as the least-privileged role that can manage groups created by other users.
Decide the scope before opening the wizard. Write down whether the group is for all Windows devices, only Microsoft Entra joined devices, a pilot ring, a particular Autopilot tag, or another defined population. Use a name that exposes both platform and purpose, such as Windows 11 - Configuration Policy, and put the intended workload and rule logic in the description. Select owners who will maintain the group carefully: owners can also delete it.
How do I create a dynamic Windows device group in Intune?
The following workflow creates a security group whose membership is calculated from a device rule.
Also popular on Amazon
- Anti-Slip Surface - Transform your laptop into a mobile workstation with the AboveTEK portable laptop lap desk. The anti-slip surface provides a strong grip for laptops up to 15.6 inches(Diagonal), while the double rubber strip on the bottom ensures a stable display or typing experience on your lap, couch, or bed.
- Retractable Mouse Pad - Retractable laptop mouse pad extends on both directions for the left/right handed with elevation along the edges for stopping mouse from falling off. The size of laptop tray is 14" X 9.7" and the size of mouse pad is 7.4" X 6.1".
- Effective Heat Shield - The effective heat shield made of sturdy and thick material protects your laptop from overheating. Prioritizes your comfort and safety, an ideal lap pad or board for working anywhere.
- EASY to Carry and Store - With an ergonomic and simplistic design, the lap desk is portable to store in a backpack. Only 15" in size, 2.2 lb of weight and with slim 0.6 inch thickness, it is ready to be easily carried around.
- Widely Applicable - The smooth platform accommodates laptops and tablets up to 15.6 inches(Diagonal), making it a versatile accessory and one of the best gifts for mom, dad, students and professionals. Perfect for use as a laptop bed tray or tablet holder anywhere at home, library, or park.
- Open the group wizard. Sign in to the Microsoft Intune admin center and select Groups > New group. You can also start in Microsoft Entra ID; the resulting object is the same directory group.
- Choose the group type. Set Group type to Security. Intune targeting requires a security-enabled group, not a Microsoft 365 group.
- Name and describe it. Enter a descriptive name and, if available, a description that states the scope, owner, intended assignment, and rule assumptions.
- Select membership. Set Membership type to Dynamic Device. Do not select Dynamic User; that creates a user-membership rule rather than a device-membership rule.
- Add owners. Assign administrators who are responsible for reviewing the rule and its impact. Avoid adding owners merely for convenience because they receive management authority, including the ability to delete the group.
- Open the rule editor. Under Dynamic device members, select Add dynamic query, then Add expression. Use the property and operator controls, or switch to direct rule syntax when you need a documented expression.
- Enter and review the rule. Confirm quotation marks, capitalization, and the property name. A syntactically valid rule can still select the wrong devices if the tenant’s attributes do not contain the values you assumed.
- Save and create. Save the rule and select Create. Allow directory processing to calculate membership before using the group for a consequential assignment.
- Validate before assigning. Review the resulting members and compare them with the intended scope. Start with a low-risk pilot assignment when the group controls a broad policy, application, or Autopilot profile.
The control labels and rule workflow are described in Microsoft’s device-group instructions for Windows Autopilot and its Intune group documentation.
Recommended Free Tools
Which dynamic rules identify Windows devices?
These documented expressions are starting points. They match directory attributes; they do not independently prove that a device is running the Windows 11 release you have in mind.
All Windows device objects
device.deviceOSType -eq "Windows"
Use this when the scope is Windows device objects generally. If Windows 10 and Windows 11 must be separated, inspect deviceOSVersion values in your tenant and build a release-specific rule from those observed values. Microsoft lists the attribute but does not provide one universal prefix that is correct for every tenant and release.
Only Microsoft Entra joined devices
device.deviceTrustType -eq "AzureAD"
This is the direct answer to the common question, “How do you create a dynamic group with only Azure AD joined devices?” In current terminology, these are Microsoft Entra joined devices. Combine the trust-type test with an operating-system test if the group must contain only Windows objects:
device.deviceOSType -eq "Windows" and device.deviceTrustType -eq "AzureAD"
Review the expression in the rule editor and verify that the returned objects represent the intended join state before assigning policy.
Also popular on Amazon
- Spacious Design: Measuring 21.1" wide and 12" deep, our lap desk comfortably fits most laptops up to 15.6". Extra room for accessories ensures convenience.
- Enhanced Functionality: Packed with handy features, including a 5x9" precision tracking mouse pad and a built-in phone slot for seamless work or video calls. Plus, enjoy laptop support with the integrated device ledge.
- Cool Comfort: Enjoy a stable surface with our lap desk's dual bolster cushion, designed for comfort and airflow, keeping your lap cool during extended use.
- Durable Surface: Work with confidence on our lap desk's solid surface, featuring a blush pink color, ensuring optimal air circulation to prevent your laptop from overheating.
- On-the-Go Convenience: With an integrated handle and lightweight design (2.14 lbs), our lap desk is portable for travel or moving around the house, offering flexibility in any space.
Hybrid joined and registered devices
device.deviceTrustType -eq "ServerAD"
The value ServerAD identifies Microsoft Entra hybrid joined devices.
device.deviceTrustType -eq "Workplace"
The value Workplace identifies Microsoft Entra registered devices. These trust-type values and the Windows OS value are listed in Microsoft’s dynamic membership rule reference.
All device objects
device.objectId -ne null
This broad expression matches device objects. It is rarely appropriate for a Windows 11-only policy unless another condition narrows it.
Intune-managed devices
device.deviceManagementAppId -eq "0000000a-0000-0000-c000-000000000000"
Use this documented management-app identifier when the rule’s purpose is to identify Intune-managed device objects. Pair it with OS or trust-type conditions if the workload requires a narrower population.
How do I create a group containing only Azure AD joined Windows devices?
Use a Dynamic Device security group with both conditions below, then verify the membership:
Also popular on Amazon
- Full HD Portable Monitor - MNN 15.6inch portable laptop monitor with 1920*1080 resolution, advanced IPS glossy screen support 178° full viewing angle, it renders accurate and bright color, draws you into the video or game with lifelike colors and amazing detail.It can effectively reduce blue light radiation damage, no flickering, eye-care, and make it easier to watch for a long time.A second monitor for working from home.
- Double Type-C Port -For Plug & Play, the MNN monitor provides 2 Full Feature Type-C ports. Only One USB Type-C Cable is required to connect to the power supply & display signal transmission. NOTE: Your device should support thunderbolt 3.0 or USB 3.1 Type C DP ALT-MODE.which supports multiple connect ways to your laptops, PC, Phones, Macbooks, PS5/PS4, Xbox, and Switch.
- Lightweight Ultra Slim for Travel - As a portable external monitor,MNN portable laptop monitor easily accommodate to every suitcase and backpack and stress-free when you are holding it for a long time. They are truly portable computer monitors for travelers, students, gamers,engineers, and everyone.
- Give consideration to work and games - through multiple display modes [Copy Mode/Extended Mode/Second Screen Mode/Portrait Mode], we can bring you a clear second screen in the meeting, and expand the screen anytime and anywhere to improve work efficiency and improve the quality of life. Adjusting to HDR mode can upgrade the image to a new level, providing you with brighter highlights,deeper and more realistic colors, more realistic images, and amazing viewing/gaming experience.
- Powerful Smart Cover - MNN portable external monitor can work in both landscape and portrait mode, can be used as a gaming monitor, screen extender for laptop or phone. Comes with a scratch-proof smart cover made of durable PU leather exterior, doubles as a stand, provides comprehensive protection for this portable computer monitor.
device.deviceOSType -eq "Windows" and device.deviceTrustType -eq "AzureAD"
- Open Groups > New group in Intune.
- Choose Security for the group type and Dynamic Device for membership.
- In Add dynamic query, add the OS expression and the trust-type expression. Use the rule-builder controls if you prefer not to type the syntax.
- Create the group, then inspect its members. Check a sample of expected Entra joined devices and confirm that hybrid joined or registered devices are absent.
- Assign the policy or application only after the result matches the documented scope.
If the group is empty or unexpectedly broad, do not “fix” it by guessing a different value. Compare the actual device properties in your directory with the rule’s property names and values, and correct the expression to match those records.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.How do I build a Windows Autopilot device group?
Autopilot requires Autopilot-specific attributes because some ordinary device properties may not exist before provisioning. Microsoft’s Autopilot group guidance provides these patterns.
To include all Autopilot devices, use:
(device.devicePhysicalIDs -any (_ -startsWith "[ZTDid]"))
To target devices with a particular group tag (the Intune group-tag field maps to the Entra OrderID attribute), match the complete value:
(device.devicePhysicalIds -any (_ -eq "[OrderID]:179887111881"))
Microsoft also documents a purchase-order example using the PurchaseOrderId value in devicePhysicalIDs. Replace the example value with the exact identifier used by your organization. Matching the whole tag prevents partial matches from pulling in unrelated hardware.
Existing-device enrollment has an additional trap. Microsoft notes that a correlator ID can be reported by a device; matching the entire enrollmentProfileName value helps avoid unintended group membership. Do not base an Autopilot profile on a non-Autopilot attribute that is unavailable at the stage when the profile must be assigned.
Also popular on Amazon
- 【Rechargeable Optical Mouse/Energy Saving】:Computer Mouse Built-in Durable Rechargeable Battery,High Cycle Life,No Need Change Battery;Laptop Mouse Wireless Can Be Easily Charged Using the Included USB Cable,Just 2 Hours Charging,Mouse Wireless Can Use Than 5 Days of Working Time and 30 Days of Standby Time,Standby Time is Very Long;Tablet Mouse Will Fall Asleep After 5 Minutes No-Operation to Save Power and Provides Long Term Usage;You Can Wake ipad Mouse Up By Clicking any Button
- 【LED Colorful Breathing Light】:This Wireless Mice With 7 Different Colorful LED Breathing Lights,7 Different Color Changes Randomly While in Use,Offering Soothing Lighting;Creating Cool and Fancy Atmosphere for Office and Gaming,LED Mouse Can Give You More Fun During
- 【Wireless Bluetooth Mouse Dual Mode】:Mouses(BT5.2/3.0 and 2.4 G)Dual Mode Realize the Free Switching of One Wireless Bluetooth Mice Between Two Devices;Bluetooth Mouse Mode Can Connect One Device Through BT5.2/3.0 and Wireless Mouse Mode Another Device Through a 2.4G USB Receiver,No Need to Install any Driver,Plug and Play;Wireless/Bluetooth Technology Provides Powerful and Reliable Connection,Which Can Enables Fast Data Transmission Without Delays or Dropouts,Effective Up to 10 Meters(33 feet)of Range
- 【Silent/Fingerprint-proof】:Silent Laptop Mice Button Silent Click Design Reduces 90% Noises,Help You Concentrate on Your Work、Study Without Disturbing Others Besides You;Apple Mouse Fingerprint-proof Surface Coating Technology Design Gives Your a Skin-Like Touch,The sturdy anti-slip rubber scroll wheel ensures that your hand will not slip when scrolling;Slim Mouse Offers Your Hand Maximum Support and Comfort
- 【Wide Compatibility Wireless Mouse】:Wireless Bluetooth Mouse For Laptop/Computer/Apple/Notebook/Tablet/Macbook/ipad/iPhone;Mice is Compatible With Android/Chromebook/Windows/Vista/Linux/Notebook/Mac OS and Other Bluetooth Devices
When is an assignment filter better than a dynamic group?
Use an assignment filter when the target is an Intune app or policy and the decision can be made from device properties at check-in. For example, a filter can narrow the Intune All devices virtual group by manufacturer, model, ownership, category, or operating-system data without creating a directory group for every combination.
Use a dynamic group instead when the same population must be reused across services, when it is the input to Windows Autopilot, or when a named directory object is part of your governance process. Filters are evaluated at check-in; dynamic groups depend on directory membership processing. That difference matters when a device changes ownership, join state, or another attribute and a policy must respond.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallOutdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchHow do I use the group safely after creation?
- Document the contract. Record the rule, owner, intended workload, exclusions, and the attributes on which the rule depends.
- Check membership from the group page. Look for obvious false positives and confirm that expected devices have the required directory attributes.
- Use an exclusion strategy for exceptions. If a broad group is necessary, handle known exceptions deliberately in the assignment design rather than silently editing the rule for one device.
- Start with a pilot. Assign the policy or app to a small, representative group first when a mistake could disrupt sign-in, enrollment, security settings, or production work.
- Review ownership and permissions. Keep owners current and use least privilege. A user who is not the creator or owner may need the Groups Administrator role or another approved Entra permission to edit the object.
- Recheck after directory changes. Join-state changes, re-enrollment, hardware replacement, and Autopilot tag updates can alter membership. Revalidate groups that control high-impact assignments.
What should I troubleshoot when membership is wrong?
- No devices appear: Confirm the group is Dynamic Device, not Dynamic User, and check that the device objects contain the attributes used by the rule.
- Windows 10 or other devices appear: The
deviceOSTypevalue is broad. Add a validateddeviceOSVersioncondition for the release boundary you actually use. - Hybrid or registered devices appear: Check the trust-type value. Microsoft Entra joined is
AzureAD, hybrid joined isServerAD, and registered isWorkplace. - Autopilot devices are missing: Use
devicePhysicalIDsand the documented Autopilot markers. Ordinary attributes may not be populated early enough for enrollment-profile targeting. - A group cannot be edited: Confirm that you are the creator or owner, or request the approved Entra group-management role. The group may also be governed by tenant restrictions.
- A policy targets too many devices: Stop the assignment, inspect membership, and compare the rule with real device attributes. A valid rule can still have an incorrect scope.
Key takeaways
Create a security group, not a generic collaboration group; choose Assigned for a manually curated set and Dynamic Device for attribute-based membership. For only Microsoft Entra joined Windows devices, combine device.deviceOSType -eq "Windows" with device.deviceTrustType -eq "AzureAD". Use Autopilot physical-ID attributes for Autopilot scenarios, and prefer an Intune assignment filter when a policy or app only needs check-in-time device-property targeting. Always inspect the resulting membership before attaching a high-impact assignment.
Frequently Asked Questions
Can a dynamic device group include user accounts too?
No. A Dynamic Device group evaluates device properties and contains device objects. If you need a population based on user attributes, create a separate Dynamic User group and target it only in workloads that support user-based assignment.
Is Intune’s All devices group the same as a Microsoft Entra device group?
No. All devices is an Intune virtual group representing Intune-enrolled devices in assignment contexts. It cannot replace a reusable Entra security group for scenarios such as Conditional Access or Autopilot.
Why does an Autopilot group rule work after enrollment but not during setup?
The rule may rely on an attribute that is not populated before provisioning. Use the Autopilot physical-ID markers or group-tag values documented for enrollment, and match the complete tag or profile value rather than a partial string.
Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Clear out junk files and repair common Windows errors3Scan for outdated or missing drivers - takes under a minuteWho can edit a group created by another administrator?
The creator or an assigned owner can manage it. An administrator who is neither may need an approved Entra role; Microsoft lists Groups Administrator as the least-privileged built-in role for managing groups created by other users.

