將裝置分類成群組以便管理Categorize devices into groups for easier management

您可以使用 Microsoft Intune 裝置類別,以自動根據您定義的類別將裝置新增至群組。Use Microsoft Intune device categories to automatically add devices to groups based on categories that you define. 這將可讓您更輕鬆地管理這些裝置。This makes it easier for you to manage those devices.

裝置類別使用下列工作流程︰Device categories use the following workflow:

  1. 建立使用者註冊其裝置時可從中選擇的類別。Create categories that users can choose from when they enroll their device.
  2. 當 iOS 和 Android 裝置的使用者註冊裝置時,他們必須從您設定的類別清單中選擇一個類別。When users of iOS and Android devices enroll a device, they must choose a category from the list of categories you configured. 若要將類別指派給 Windows 裝置,使用者必須使用公司入口網站。To assign a category to a Windows device, users must use the Company Portal website.
  3. 您接著可以將原則和應用程式部署至這些群組。You can then deploy policies and apps to these groups.

您可以建立想要的任何裝置類別。You can create any device categories you want. 例如:For example:

  • 銷售點裝置Point-of-sale device
  • 示範裝置Demonstration device
  • 銷售額Sales
  • 帳戶處理Accounting
  • ManagerManager

如何設定裝置類別How to configure device categories

步驟 1:在 Azure 入口網站的 [Intune] 刀鋒視窗中,建立裝置類別Step 1: Create device categories on the Intune blade of the Azure portal

  1. Azure 入口網站的 Intune 中,選擇 [裝置註冊]。In Intune in the Azure portal, choose Device enrollment.
  2. 在 [裝置註冊] 刀鋒視窗中,選擇 [裝置類別]。On the Device enrollment blade, choose Device categories.
  3. 在 [裝置類別] 頁面上,選擇 [建立] 以新增新的類別。On the Device categories page, choose Create to add a new category.
  4. 在 [建立裝置類別] 刀鋒視窗中,為新類別輸入 [名稱],以及選用的 [描述]。On the Create device category blade, enter a Name for the new category, and an optional Description.
  5. 完成之後,請選取 [建立]。When you are done, select Create. 您可以在類別清單中看到新類別。You can see the new category in the list of categories.

當您在步驟 2 中建立 Azure Active Directory (Azure AD) 安全性群組時,將會使用裝置類別名稱。You'll use the device category name when you create Azure Active Directory (Azure AD) security groups in step 2.

步驟 2:建立 Azure Active Directory 安全性群組Step 2: Create Azure Active Directory security groups

在此步驟中,您將根據裝置類別和裝置類別名稱,在 Azure 入口網站中建立動態群組。In this step, you'll create dynamic groups in the Azure portal, based on the device category and device category name.

若要繼續,請參閱 Azure AD 文件中的使用屬性來建立進階規則To continue, refer to Using attributes to create advanced rules in the Azure AD documentation.

請使用本節中的資訊,運用 deviceCategory 屬性來建立具有進階規則的裝置群組。Use the information in this section to create a device group with an advanced rule, by using the deviceCategory attribute. 例如:device.deviceCategory -eq "您從 Azure 入口網站取得的裝置類別名稱"。For example: device.deviceCategory -eq "the device category name you got from the Azure portal".

您設定好裝置群組之後,使用者註冊好其裝置,即會看到您設定的類別清單。After you configure device groups, and users enroll their device, they are presented with a list of the categories you configured. 選擇類別並完成註冊之後,他們的裝置會新增至與其所選類別相對應的 Active Directory 安全性群組中。After they choose a category and finish enrollment, their device is added to the Active Directory security group that corresponds with the category they chose.

檢視您管理的裝置類別View the categories of devices that you manage

  1. Azure 入口網站的 Intune 中,選擇 [裝置]。In Intune in the Azure portal, choose Devices.

  2. 在 [管理] 之下,選取 [所有裝置]。Under Manage, select All devices.

  3. 在裝置清單中,檢查 [裝置類別] 資料行。In the list of devices, examine the Device category column.

如果未顯示 [裝置類別] 資料行,請選取 [資料行]。If the Device category column isn’t shown, select Columns. 從清單中選擇 [裝置類別],然後選取 [套用]。Choose Device category from the list, and then select Apply.

變更裝置類別Change the category of a device

  1. Azure 入口網站的 Intune 中,選擇 [裝置]。In Intune in the Azure portal, choose Devices.
  2. 在 [裝置] 刀鋒視窗的 [管理] 區段下,選擇 [所有裝置]。On the Devices blade, under the Manage section, choose All devices.
  3. 在裝置清單中,選擇您想要的裝置。In the list of devices, choose the device you want. 接著,在 [裝置內容] 刀鋒視窗的 [管理] 區段下,選擇 [內容]。Then, on the device properties blade under the Manage section, choose Properties.
  4. 在下一個刀鋒視窗中,您可將所選裝置的 [裝置類別] 變更為任一您先前設定的類別名稱。On the next blade, you can change the Device category of the selected device to any of the category names you previously configured.

設定裝置群組之後After you configure device groups

當 iOS 和 Android 裝置的使用者註冊其裝置時,他們必須從您設定的類別清單中選擇一個類別。When users of iOS and Android devices enroll their device, they must choose a category from the list of categories you configured. 選擇類別並完成註冊之後,他們的裝置會新增至與其所選類別相對應的 Intune 裝置群組或 Active Directory 安全性群組。After they choose a category and finish enrollment, their device is added to the Intune device group, or the Active Directory security group that corresponds with the category they chose.

Windows 使用者應該使用公司入口網站來選取類別。Windows users should use the Company Portal website to select a category.

無論何種平台,您的使用者一律都可在註冊裝置後,前往 portal.manage.microsoft.com。Regardless of platform, your users can always go to portal.manage.microsoft.com after enrolling the device. 請讓使用者存取公司入口網站,然後移至 [我的裝置]。Have the user access the Company Portal website, and go to My Devices. 使用者可以選擇該頁面上所列的已註冊裝置,然後選取類別。The user can choose an enrolled device listed on the page, and then select a category.

選擇類別之後,裝置就會自動新增至您建立的對應群組。After choosing a category, the device is automatically added to the corresponding group you created. 如果某個裝置在您設定類別之前便已經註冊,使用者就會在公司入口網站上看到該裝置的相關通知。If a device is already enrolled before you configure categories, the user sees a notification about the device on the Company Portal website. 這可讓使用者知道下次在 iOS 或 Android 上存取公司入口網站應用程式時,要選取一個類別。This lets the user know to select a category the next time they access the Company Portal app on iOS or Android.

進一步資訊Further information

  • 您可以在 Azure 入口網站中編輯裝置類別,但是必須手動更新所有參考此類別的 Azure AD 安全性群組。You can edit a device category in the Azure portal, but you must manually update any Azure AD security groups that reference this category.

  • 若刪除某類別,指派給該類別的裝置會顯示類別名稱「未指派」。If you delete a category, devices assigned to it display the category name Unassigned.