使用 Microsoft Intune 設定行動裝置應用程式Configure mobile apps with Microsoft Intune

Microsoft Intune 可讓組織管理裝置和應用程式。Microsoft Intune enables organizations to manage devices and applications. iOS 和 Android 的 Power BI 行動應用程式可與 Intune 整合,讓您管理裝置上的應用程式,以及控制安全性。The Power BI mobile applications, for iOS and Android, integrate with Intune to allow you to manage the application on your devices, and to control security. 您可以透過設定原則,控制像是要求 Access PIN 碼、控制應用程式處理資料的方式,甚至是加密不在使用中之應用程式的資料等項目。Through configuration policies, you can control items like requiring an access pin, controlling how data is handled by the application and even encrypting application data when the app is not in use.

一般行動裝置管理設定General mobile device management configuration

本文不適合作為 Microsoft Intune 的完整設定指南。This article is not meant as full configuration guide for Microsoft Intune. 如果您才剛與 Intune 整合,則需要確認已設定下列項目。If you are just now integrating with Intune, there are a few things you will want to make sure you have setup. 深入了解Learn more

Microsoft Intune 可以與行動裝置管理 (MDM) 同時存在 Office 365 中。Microsoft Intune can co-exist with Mobile Device Management (MDM) within Office 365. 深入了解Learn more

本文假設您已正確設定 Intune 並向 Intune 註冊裝置。This article assumes that Intune is configured properly and you have devices enrolled with Intune. 如果與 MDM 同時存在,裝置會在 MDM 中顯示為已註冊,但可在 Intune 中管理。If you are co-existing with MDM, the device will show enrolled within MDM, but is available to manage within Intune.

注意

在您的組織設定 Microsoft Intune MAM 之後,如果您在 iOS 或 Android 裝置上使用 Power BI 行動裝置應用程式,背景資料重新整理就會關閉。After your organization has configured Microsoft Intune MAM, if you use the Power BI mobile app on an iOS or Android device, then background data refresh is turned off. 下次進入應用程式時,Power BI 會從網路上的 Power BI 服務重新整理資料。The next time you enter the app, Power BI refreshes the data from the Power BI service on the web.

步驟 1:取得應用程式的 URLStep 1: Get the url for the application

在 Intune 中建立應用程式之前,我們需要取得應用程式的 URL。Before we create the application within Intune, we need to get the urls for the apps. 若是 iOS,可以從 iTunes 取得。For iOS, we will get this from iTunes. 若是 Android,可以從 Power BI 行動裝置頁面取得。For Android, you can get it from the Power BI mobile page.

儲存 URL,建立應用程式時將會需要用到。Save the url, as you will need it when we create the application.

iOSiOS

若要取得 iOS 的應用程式 URL,必須從 iTunes 取得。To get the app url for iOS, we will need to get it from iTunes.

  1. 開啟 iTunes。Open iTunes.
  2. 搜尋 Power BI。Search for Power BI.
  3. 您應該會看到 [iPhone Apps] 和 [iPad Apps] 下列出 [Microsoft Power BI] 。You should see Microsoft Power BI listed under iPhone Apps and iPad Apps. 您可以擇一使用,這兩者都會取得相同的 URL。You can use either, as you will get the same url.
  4. 選取 [取得] 下拉式清單,然後選取 [複製連結] 。Select the Get drop down and select Copy Link.

它看起來應該如下所示。It should look similar to the following.

https://itunes.apple.com/us/app/microsoft-power-bi/id929738808?mt=8

AndroidAndroid

您可以從 Power BI 行動裝置頁面取得 Google Play 的 URL。You can get the url to Google Play from the Power BI mobile page. 按一下 下載自 Google Play 圖示將帶您前往應用程式頁面。Clicking on the Download from Google Play icon will take you to the app page. 您可以從瀏覽器網址列複製 URL。You can copy the URL from the browser address bar. 它看起來應該如下所示。It should look similar to the following.

https://play.google.com/store/apps/details?id=com.microsoft.powerbim

步驟 2:建立行動應用程式管理原則Step 2: Create a mobile application management policy

行動應用程式管理原則可讓您強制執行 Access PIN 碼等項目。The mobile application management policy allows you to enforce items like an access pin. 您可以在 Intune 入口網站中建立一個原則。You can create one within the Intune portal.

您可以先建立應用程式,或先建立原則。You can create the application, or the policy first. 新增應用程式和原則的順序並不重要。The order in which they are added doesn't matter. 只要執行部署步驟時,兩者都存在即可。They will just need to both exist for the deploy step.

  1. 選取 原則 > 設定原則Select Policy > Configuration Policies.

  2. 選取 [新增...] 。Select Add....
  3. 在 [軟體] 下,您可以選取 Android 或 iOS 的行動應用程式管理。Under Software you can select Mobile Application Management for either Android or iOS. 您可以選取 [使用建議的設定建立原則] 快速開始進行,也可以建立自訂原則。To get started quickly, you can select Create a policy with the recommended settings, or you can create a custom policy.
  4. 編輯原則以設定您要套用至應用程式的限制。Edit the policy to configure the restrictions you want on the application.

步驟 3:建立應用程式Step 3: Create the application

應用程式是儲存到 Intune 進行部署的參考或封裝。The application is a reference, or package, that is saved into Intune for deployment. 我們將需要建立應用程式,並參考到從 Google Play 或 iTunes 取得的應用程式 URL。We will need to create an application and reference the app url that we got from either Google Play or iTunes.

您可以先建立應用程式,或先建立原則。You can create the application, or the policy first. 新增應用程式和原則的順序並不重要。The order in which they are added doesn't matter. 只要執行部署步驟時,兩者都存在即可。They will just need to both exist for the deploy step.

  1. 移至 Intune 入口網站,然後從從左功能表中選取 [應用程式] 。Go to the Intune portal and select Apps from the left menu.
  2. 選取 [新增應用程式] 。Select Add App. 這會啟動 [新增軟體] 應用程式。This will launch the Add Software application.

iOSiOS

  1. 從下拉式清單中選取 [App Store 中所管理的 iOS 應用程式] 。Select Managed iOS App from the App Store from the drop down.
  2. 輸入從步驟 1 取得的應用程式 URL,然後選取 [下一步]。Enter the app url, that we got from Step 1, and select Next.

  3. 提供 [發行者]、[名稱] 和 [描述]。Provide a Publisher, Name and Description. 您也可以提供一個圖示You can optionally provide an Icon. [類別] 是針對公司入口網站應用程式。The Category is for the Company Portal app. 完成後,選取 [下一步]。Once you are done, select Next.
  4. 您可以決定要以 [任一] (預設)、[iPad] 或 [iPhone] 發行應用程式。You can decide if you want the publish the app as Any (default), iPad or iPhone. 預設會顯示 [任一] ,此選項適用於這兩種裝置類型。By default it will show Any and will work for both device types. iPhone 和 iPad 的 Power BI 應用程式 URL 相同。The Power BI app is the same url for both iPhone and iPad. 選取 [下一步] 。Select Next.
  5. 選取 [上傳] 。Select Upload.

注意

您可能必須重新整理頁面,才會在應用程式清單中看到此選項。You may not see it show up in the app list until you refresh the page. 您可以按一下 [概觀] ,再回到 [應用程式] 以重新載入頁面。You can click on Overview and back to Apps to get the page to reload.

AndroidAndroid

  1. 從下拉式清單中選取 [外部連結] 。Select External Link from the drop down.
  2. 輸入從步驟 1 取得的應用程式 URL,然後選取 [下一步]。Enter the app url, that we got from Step 1, and select Next.

  3. 提供 [發行者]、[名稱] 和 [描述]。Provide a Publisher, Name and Description. 您也可以提供一個圖示You can optionally provide an Icon. [類別] 是針對公司入口網站應用程式。The Category is for the Company Portal app. 完成後,選取 [下一步]。Once you are done, select Next.
  4. 選取 [上傳] 。Select Upload.

注意

您可能必須重新整理頁面,才會在應用程式清單中看到此選項。You may not see it show up in the app list until you refresh the page. 您可以按一下 [概觀] ,再回到 [應用程式] 以重新載入頁面。You can click on Overview and back to Apps to get the page to reload.

步驟 4:部署應用程式Step 4: Deploy the application

新增應用程式之後,您必須加以部署,才能提供給使用者使用。After you have added the application, you will need to deploy it so that it is available to your end users. 在此步驟中,您將會繫結以此應用程式建立的原則。This is the step where you will bind the policy you created with the app.

iOSiOS

  1. 在應用程式畫面上,選取您建立的應用程式。On the apps screen, select the app you created. 然後選取 [管理部署...] 連結。Then select the Manage Deployment... link.

  2. 在 [選取群組] 畫面中,您可以選擇要部署此應用程式的目標群組。In the Select Groups screen, you can choose which groups you want to deploy this app to. 選取 [下一步] 。Select Next.
  3. 在 [部署動作] 畫面中,您可以選擇要部署此應用程式的方式。In the Deployment Action screen, you can choose how you want to deploy this app. 選取 [可用安裝] 或 [必要安裝] ,即可在公司入口網站中提供應用程式給使用者隨選安裝。Selecting Available Install, or Required Install, will make the app available in the Company Portal for users to install on-demand. 完成選取之後,選取 [下一步] 。After you are done making your selection, select Next.

  4. 在 [行動應用程式管理] 畫面中,您可以選取在步驟 2 中建立的行動應用程式管理原則。In the Mobile App Management screen, you can select the Mobile App Management policy that we created in Step 2. 如果您建立的原則是唯一可用的 iOS 原則,預設為此原則。It will default to the policy you made, if that is the only iOS policy available. 選取 [下一步] 。Select Next.

  5. 在 [VPN 設定檔] 畫面中,如果您的組織有一個原則,則可以選取此原則。In the VPN Profile screen, you can select a policy if you have one for your organization. 預設為 [無] 。It defaults to None. 選取 [下一步] 。Select Next.
  6. 在 [行動應用程式設定] 畫面中,如果已建立一個原則,則可以選取 [應用程式設定原則] 。In the Mobile App Configuration screen, you can select an App Configuration Policy if you created one. 預設為 [無] 。It defaults to None. 這不是必要項。This is not required. 選取 [完成] 。Select Finish.

部署應用程式之後,該應用程式應該會在應用程式頁面中顯示 [是] 表示已部署。After you have deployed the app, it should show Yes for deployed, in the apps page.

AndroidAndroid

  1. 在應用程式畫面上,選取您建立的應用程式。On the apps screen, select the app you created. 然後選取 [管理部署...] 連結。Then select the Manage Deployment... link.

  2. 在 [選取群組] 畫面中,您可以選擇要部署此應用程式的目標群組。In the Select Groups screen, you can choose which groups you want to deploy this app to. 選取 [下一步] 。Select Next.
  3. 在 [部署動作] 畫面中,您可以選擇要部署此應用程式的方式。In the Deployment Action screen, you can choose how you want to deploy this app. 選取 [可用安裝] 或 [必要安裝] ,即可在公司入口網站中提供應用程式給使用者隨選安裝。Selecting Available Install, or Required Install, will make the app available in the Company Portal for users to install on-demand. 完成選取之後,選取 [下一步] 。After you are done making your selection, select Next.

  4. 在 [行動應用程式管理] 畫面中,您可以選取在步驟 2 中建立的行動應用程式管理原則。In the Mobile App Management screen, you can select the Mobile App Management policy that we created in Step 2. 如果您建立的原則是唯一可用的 Android 原則,預設為此原則。It will default to the policy you made, if that is the only Android policy available. 選取 [完成] 。Select Finish.

部署應用程式之後,該應用程式應該會在應用程式頁面中顯示 [是] 表示已部署。After you have deployed the app, it should show Yes for deployed, in the apps page.

步驟 5:在裝置上安裝應用程式Step 5: Install the application on a device

您將會透過公司入口網站應用程式安裝應用程式。You will install the application through the Company Portal app. 如果您尚未安裝公司入口網站,可以透過 iOS 或 Android 平台上的 App Store 取得。If you haven't installed the Company Portal, you can get it through the app store on either iOS or Android platforms. 您將會以組織的登入資訊登入公司入口網站。You will sign into the Company Portal with your organizational login.

  1. 開啟公司入口網站應用程式。Open the Company Portal app.
  2. 如果 Power BI 應用程式未列為熱門應用程式,請選取 [公司應用程式] 。If you don't see the Power BI app listed as a featured app, select Company Apps.

  3. 選取您部署的 Power BI 應用程式。Select the Power BI app that you deployed.

  4. 選取 [安裝] 。Select Install.

  5. 如果您在 iOS 上,它會將應用程式推送給您。If you are on iOS, it will push the app to you. 在推送對話方塊上選取 [安裝] 。Select Install on the push dialog.

安裝後,您會看到它是 由您的公司管理After it is installed, you will see that it is Managed by your company. 如果在原則中啟用以 PIN 碼存取,則會看到下列畫面。If you enabled access with a pin, in the policy, you will see the following.

後續步驟Next steps

在 Microsoft Intune 主控台中設定及部署行動應用程式管理原則Configure and deploy mobile application management policies in the Microsoft Intune console
行動裝置的 Power BI 應用程式Power BI apps for mobile devices

有其他問題嗎?More questions? 嘗試在 Power BI 社群提問Try asking the Power BI Community