當 iOS 應用程式交由應用程式保護原則管理時的行為What to expect when your iOS app is managed by app protection policies

針對已套用應用程式保護原則的應用程式,本主題說明使用者的使用體驗。This topic describes the user experience when using apps with app protection policies applied to. 只有在工作環境中使用應用程式時,才會套用應用程式保護原則;例如,當使用者使用工作帳戶來存取應用程式的情況,或是存取公司商務用 OneDrive 地點中所儲存檔案的情況。App protection policies are applied only when apps are used in the work context; for example, when the user is accessing apps with a work account or accessing files that are stored in a company OneDrive for business location.

存取應用程式Access apps

如果裝置未註冊於 Intune 中,會要求使用者在第一次使用應用程式時重新啟動應用程式。If the device is not enrolled in Intune, the user is asked to restart the app when they first use it. 必須先重新啟動,才會將應用程式保護原則套用到應用程式。A restart is required so that app protection polices can be applied to the app.

針對在 Intune 中註冊以進行管理的裝置,使用者會看到其應用程式現在已受管理的訊息。For devices that are enrolled for management in Intune, the user sees a message that their app is now managed.

使用具有多重身分識別支援的應用程式Use apps with multi-identity support

當應用程式保護原則只有在工作環境中使用應用程式時才會套用,支援多重身分識別的應用程式讓您能夠使用不同的帳戶 (工作和個人) 來存取相同的應用程式。Apps that support multi-identity let you use different accounts (work and personal) to access the same apps, while app protection policies are applied only when the apps are used in the work context.

例如,使用者會在存取工作資料時看到 PIN 提示。For example, the user gets a PIN prompt when accessing work data. 針對 Outlook 應用程式,使用者在啟動應用程式時,系統會提示使用者輸入 PIN。For the Outlook app, the user is prompted for a PIN when they launch the app. 針對 OneDrive 應用程式,使用者輸入工作帳戶時,系統會提示使用者輸入 PIN。For the OneDrive app, the user is prompted for a pin when they type in the work account. 針對 Microsoft WordPowerPointExcel,當使用者存取公司商務用 OneDrive 位置中所儲存的文件時,系統會提示使用者輸入 PIN。For Microsoft Word, PowerPoint, and Excel, the user is prompted for a pin when they access documents that are stored in the company OneDrive for Business location.

應用程式保護原則只適用於工作環境。App protection polices are only applied in the work context. 因此,應用程式可能因工作環境或個人環境而有不同的行為。Therefore, the app might behave differently depending on whether the context is work or personal.

管理裝置上的使用者帳戶Manage user accounts on the device

多重身分識別應用程式可讓使用者新增多個帳戶。Multi-identity applications allow users to add multiple accounts. Intune 應用程式僅支援一個受控帳戶。Intune APP supports only one managed account. Intune 應用程式不會限制非受控帳戶的數目。Intune APP does not limit the number of unmanaged accounts.

當應用程式中有受控帳戶時:When there is a managed account in an application:

  • 若使用者嘗試新增第二個受控帳戶,系統會要求使用者選取要使用哪個受控帳戶。If a user attempts to add a second managed account, the user is asked to select which managed account to use. 另一個帳戶會移除。The other account is removed.
  • 若 IT 系統管理員對第二個現有帳戶新增原則,系統會要求使用者選取要使用哪個受控帳戶。If the IT admin adds policy to a second existing account, the user is asked to select which managed account to use. 另一個帳戶會移除。The other account is removed.

閱讀下列案例範例以深入了解如何處理多個使用者帳戶。Read the following example scenario to get a deeper understanding of how multiple user accounts are treated.

使用者 A 為兩家公司服務 - X 公司Y 公司。使用者 A 在這兩家公司各有一個工作帳戶,且兩者全都使用 Intune 部署應用程式保護原則。User A works for two companies—Company X and Company Y. User A has a work account for each company, and both use Intune to deploy app protection policies. X 公司部署先於 Y 公司部署應用程式保護原則。與 X 公司建立關聯的帳戶會先得到應用程式保護原則。Company X deploys app protection policies before Company Y. The account that's associated with Company X gets the app protection policy first. 如果您希望與 Y 公司建立關聯的使用者帳戶受控於應用程式保護原則,您必須移除與 X 公司建立關聯的使用者帳戶,然後新增與 Y 公司建立關聯的使用者帳戶。If you want the user account that's associated with Company Y to be managed by the app protection policies, you must remove the user account that's associated with Company X and add the user account that's associated with Company Y.

新增第二個帳戶Add a second account

如果您使用 iOS 裝置,則嘗試在該裝置上新增第二個工作帳戶時,會看到封鎖訊息。If you are using an iOS device, when you try to add a second work account on that device, you might see a blocking message. 帳戶隨即顯示,接著您可以選擇想要移除的帳戶。The accounts are displayed, and then you can choose the account you want to remove.

接下來的步驟Next steps

當 Android 應用程式交由應用程式防護原則管理時的行為What to expect when your Android app is managed by app protection policies