使用 Intune 為 macOS 裝置新增裝置合規性政策Add a device compliance policy for macOS devices with Intune

適用對象:Azure 入口網站的 IntuneApplies to: Intune in the Azure portal
您需要傳統入口網站的 Intune 相關文件嗎?Looking for documentation about Intune in the classic portal? 請參閱本 Intune 簡介Read the introduction to Intune.

Intune macOS 裝置合規性原則決定 macOS 設備必須符合的規則和設定,才能視為符合規範。An Intune macOS device compliance policy determines the rules and settings that macOS devices must meet to be compliant. 當您使用裝置相容性原則搭配條件式存取時,可以允許或封鎖公司資源的存取。When you use device compliance policies with conditional access, you can allow or block access to company resources. 您也可以取得裝置報表,並針對不相容採取動作。You can also get device reports and take actions for non-compliance. 在 Intune Azure 入口網站中,可以為每個平台建立裝置相容性原則。Device compliance policies for each platform can be created in the Intune Azure portal. 若要深入了解合規性原則,以及任何必要條件,請參閱開始使用裝置合規性To learn more about compliance policies, and any prerequisites, see Get started with device compliance.

下表說明搭配使用合規性政策與條件式存取原則時,不合規設定的管理方式:The following table describes how noncompliant settings are managed when a compliance policy is used with a conditional access policy:


原則設定Policy setting macOS 10.11 及更新版本macOS 10.11 and later
PIN 或密碼設定PIN or password configuration 已修復Remediated
裝置加密Device encryption 已修復 (藉由設定 PIN 碼)Remediated (by setting PIN)
電子郵件設定檔Email profile 已隔離Quarantined
最低 OS 版本Minimum OS version 已隔離Quarantined
最高 OS 版本Maximum OS version 已隔離Quarantined

已補救 = 裝置作業系統強制符合規範。Remediated = The device operating system enforces compliance. 例如,強制使用者設定 PIN。For example, the user is forced to set a PIN.

已隔離 = 裝置作業系統不強制符合規範。Quarantined = The device operating system does not enforce compliance. (例如,Android 裝置不強制使用者為裝置加密。)裝置不相容時,會採取下列動作︰(For example, Android devices do not force the user to encrypt the device.) When the device is not compliant, the following actions take place:

  • 如果對使用者套用了條件式存取原則,裝置會遭到封鎖。The device is blocked if a conditional access policy applies to the user.
  • 公司入口網站會通知使用者任何合規性問題的相關事項。The company portal notifies the user about any compliance problems.

建立裝置合規性政策Create a device compliance policy

  1. 登入 Azure 入口網站Sign in to the Azure portal.
  2. 選取 [All services] (所有服務),篩選 [Intune],然後選取 [Microsoft Intune]。Select All services, filter on Intune, and select Microsoft Intune.
  3. 選取 [裝置相容性] > [原則] > [建立原則]。Select Device compliance > Policies > Create Policy.
  4. 輸入 [名稱] 和 [描述]。Enter a Name and Description.
  1. 針對 [平台],選取 [macOS]。For Platform, select macOS. 選擇 [組態設定],並輸入 [裝置健全狀況]、[裝置屬性],以及 [系統安全性] 設定。Choose Settings Configure, and enter the Device Health, Device Properties, and System Security settings. 完成後,請選取 [確定] 和 [建立]。When you're done, select OK, and Create.

裝置健全狀況Device Health

裝置內容Device properties

  • 最低作業系統版本︰當裝置不符合最低作業系統版本需求時,它會回報為不符合規範。Minimum OS version: When a device doesn't meet the minimum OS version requirement, it's reported as noncompliant. 並顯示如何升級的資訊連結。A link with information on how to upgrade appears. 終端使用者可以選擇升級其裝置,然後便可存取公司資源。The end user can choose to upgrade their device, and then get access to company resources.
  • 最高作業系統版本:當裝置使用的作業系統版本高於規則指定的版本時,會封鎖對公司資源的存取。Maximum OS version: When a device is using an OS version later than the version specified in the rule, access to company resources is blocked. 系統會要求使用者連絡其 IT 管理員。在規則變更為允許該作業系統版本之前,此裝置將無法存取公司資源。The user is asked to contact their IT admin. Until there is a rule change to allow the OS version, this device can't access company resources.

系統安全性設定System security settings

密碼Password

  • 需要密碼才可解除鎖定行動裝置要求使用者必須輸入密碼以存取其裝置。Require a password to unlock mobile devices: Require users to enter a password before they can access their device.

  • 簡單密碼:設定為 [封鎖] 時,使用者將無法建立 12341111 之類的簡單密碼。Simple passwords: Set to Block so users can't create simple passwords, such as 1234 or 1111. 設定為 [未設定] 時,使用者可以建立 12341111 之類的密碼。Set to Not configured to let users create passwords like 1234 or 1111.

  • 最小密碼長度:輸入密碼至少須包含的位數或字元數。Minimum password length: Enter the minimum number of digits or characters that the password must have.

  • 密碼類型:選擇密碼是否應該只包含數值字元,或是應該混合數字和其他字元 (英數字元)。Password type: Choose if a password should have only Numeric characters, or if there should be a mix of numbers and other characters (Alphanumeric).

  • 密碼中的非英數字元數目:輸入密碼中必須包含的特殊字元 (&、#、%、! 等等) 數目下限。Number of non-alphanumeric characters in password: Enter the minimum number of special characters (&, #, %, !, and so on) that must be included in the password.

    若設定較高的數目,使用者就必須建立較複雜的密碼。Setting a higher number requires the user to create a password that is more complex.

  • 停止活動幾分鐘後需要輸入密碼:輸入在閒置多久後,使用者必須重新輸入密碼。Maximum minutes of inactivity before password is required: Enter the idle time before the user must reenter their password.

  • 密碼到期 (天數):選取密碼到期且必須建立新密碼前的天數。Password expiration (days): Select the number of days before the password expires, and they must create a new one.

  • 避免重複使用前幾個密碼:輸入不可使用先前所使用的多少個密碼。Number of previous passwords to prevent reuse: Enter the number of previously used passwords that cannot be used.

    重要

    如果 macOS 裝置上的密碼需求有變更,會在使用者下次變更其密碼時才生效。When the password requirement is changed on a macOS device, it doesn’t take effect until the next time the user changes their password. 例如,如果您將密碼長度限制設定為八位數,而 macOS 裝置目前有六位數密碼,那麼在下次使用者更新裝置上的密碼之前,該裝置仍符合規範。For example, if you set the password length restriction to eight digits, and the macOS device currently has a six digits password, then the device remains compliant until the next time the user updates their password on the device.

加密Encryption

  • 對裝置上的資料存放區加密:選擇 [需要] 來將裝置上的資料存放區加密。Encryption of data storage on a device: Choose Require to encrypt data storage on your devices.

指派使用者群組Assign user groups

  1. 選擇您已設定的原則。Choose a policy that you've configured. 現有的原則位於 [裝置合規性] > [原則]。Existing policies are in Device compliance > Policies.
  2. 選擇原則,然後選擇 [指派]。Choose the policy, and choose Assignments. 您可以包含或排除 Azure Active Directory (AD) 安全性群組。You can include or exclude Azure Active Directory (AD) security groups.
  3. 選擇 [選取的群組] 以查看您的 Azure AD 安全性群組。Choose Selected groups to see your Azure AD security groups. 選取要套用這項原則的使用者群組,然後選擇 [儲存] 將原則部署給使用者。Select the user groups you want this policy to apply, and choose Save to deploy the policy to users.

提示

根據預設,裝置每 8 小時會檢查合規性。By default, devices check for compliance every eight hours. 但是,使用者可以透過 Intune 公司入口網站應用程式強制執行此程序。But users can force this process through the Intune Company Portal app.

您已對使用者套用此原則。You have applied the policy to users. 要套用原則之使用者的裝置將會接受相容性評估。The devices used by the users who are targeted by the policy are evaluated for compliance.

接下來的步驟Next steps

將電子郵件自動化,並為不符合規範的裝置新增動作Automate email and add actions for noncompliant devices
監視 Intune 裝置合規性原則Monitor Intune Device compliance policies