如何將 Windows 市集應用程式新增至 Microsoft IntuneHow to add Windows store apps to Microsoft Intune

適用於︰Azure 上的 IntuneApplies to: Intune on Azure
您需要傳統主控台中之 Intune 的相關文件嗎?Looking for documentation about Intune in the classic console? 請移至這裡Go to here.
  1. 登入 Azure 入口網站。Sign into the Azure portal.
  2. 選擇 [更多服務] > [監視 + 管理] > [Intune]。Choose More Services > Monitoring + Management > Intune.
  3. Intune 刀鋒視窗上選擇 [管理應用程式]。On the Intune blade, choose Manage apps.
  4. 行動應用程式工作負載中選擇 [管理] > [應用程式]。In the Mobile apps workload, choose Manage > Apps.
  5. 從應用程式清單上方選擇 [新增]。Above the list of apps, choose Add.
  6. 在 [新增應用程式] 刀鋒視窗中選擇 [應用程式資訊]。In the Add App blade, choose App Information.
  7. 在 [編輯應用程式] 刀鋒視窗中設定下列資訊。In the Edit App blade, configure the following information. 完成設定後,按一下 [新增]。Once you are done, click Add. 刀鋒視窗中有一些值會隨所選的應用程式自動填入︰Depending on the app you have chosen, some of the values in this blade might have been automatically filled-in:
    • 名稱 - 輸入要顯示在公司入口網站中的應用程式名稱。App Name - Enter the name of the app as it will be displayed in the company portal. 確定您使用的所有應用程式名稱都是唯一的。Make sure all app names that you use are unique. 如果有重複的應用程式名稱,使用者只會在公司入口網站中看到其中一個應用程式。If the same app name exists twice, only one of the apps will be displayed to users in the company portal.
    • 描述 - 輸入應用程式的描述。App Description - Enter a description for the app. 使用者會在公司入口網站中看到這個描述。This will be displayed to users in the company portal.
    • 發行者 - 輸入應用程式的發行者名稱。Publisher - Enter the name of the publisher of the app.
    • App Store URL - 輸入您要建立之應用程式的 App Store URL。App store URL - Enter the app store URL of the app you want to create.
    • 最小作業系統 - 從清單中選擇應用程式所能安裝的最小作業系統版本。Minimum Operating System - From the list, choose the minimum operating system version on which the app can be installed. 若將應用程式指派給安裝舊版作業系統的裝置,就不會進行安裝。If you assign the app to a device with an earlier operating system, it will not be installed.
    • 類別 (選用) - 選取一或多個內建應用程式類別,或選取您建立的類別。Category (optional) - Select one or more of the built-in app categories, or a category you created. 這可以讓使用者在瀏覽公司入口網站時,更輕鬆地找到應用程式。This will make it easier for users to find the app when they browse the company portal.
    • 將此顯示為公司入口網站中的精選應用程式 - 當使用者瀏覽應用程式時,以醒目方式在公司入口網站的主頁面上顯示此應用程式。Display this as a featured app in the Company Portal - Display the app prominently on the main page of the company portal when users browse for apps.
    • 資訊 URL - 選擇是否要輸入包含此應用程式相關資訊的網站 URL。Information URL - Optionally, enter the URL of a website that contains information about this app. 使用者會在公司入口網站中看到這個 URL。The URL will be displayed to users in the company portal.
    • 隱私權 URL - 選擇是否要輸入包含此應用程式之隱私權資訊的網站 URL。Privacy URL - Optionally, enter the URL of a website that contains privacy information for this app. 使用者會在公司入口網站中看到這個 URL。The URL will be displayed to users in the company portal.
    • 開發人員 - 選擇是否要輸入應用程式開發人員的姓名。Developer - Optionally, enter the name of the app developer.
    • 擁有者 - 選擇是否要輸入此應用程式的擁有者名稱,例如人力資源部門Owner - Optionally, enter a name for the owner of this app, for example, HR department.
    • 注意 - 輸入要與此應用程式相關聯的附註。Notes - Enter any notes you would like to associate with this app.
    • 上傳圖示 - 上傳應用程式所要關聯的圖示。Upload Icon - Upload an icon that will be associated with the app. 這是使用者瀏覽公司入口網站時,會隨應用程式一起顯示的圖示。This is the icon that will be displayed with the app when users browse the company portal.
  8. 完成之後,請在 [新增應用程式] 刀鋒視窗中選擇 [儲存]。When you are done, on the Add App blade, choose Save.

您建立的應用程式將會顯示在應用程式清單中,而您可從中將應用程式指派給您選擇的群組。The app you have created will be displayed in the apps list where you can assign it to the groups you choose. 如需協助,請參閱如何將應用程式指派給群組For help, see How to assign apps to groups.

手動指派 Windows 10 公司入口網站應用程式Manually assign Windows 10 Company Portal app

終端使用者可以從 Microsoft 網上商店安裝公司入口網站應用程式,以管理裝置及安裝應用程式。End users can install the Company Portal app from the Microsoft Store to manage devices and install apps. 不過,如果因企業需求而必須指派公司入口網站應用程式,即使尚未整合 Intune 與商務用 Microsoft 網上商店,您仍然可直接從 Intune 手動指派 Windows 10 公司入口網站應用程式。If, however, your business needs require that you assign the Company Portal app, you can manually assign the Windows 10 Company Portal app directly from Intune, even if you haven’t integrated Intune with the Microsoft Store for Business.

注意

這個選項將需要在每次應用程式發行更新時,指派手動更新。This option will require assigning manual updates each time an app update is released.

  1. 商務用 Microsoft 網上商店登入您的帳戶,取得公司入口網站應用程式的離線授權版本。Log in to your account in the Microsoft Store for Business and acquire the offline license version of the Company Portal app.
  2. 取得應用程式之後,在 [詳細目錄] 頁面中選取該應用程式。Once the app has been acquired, select the app in the Inventory page.
  3. 在 [平台] 選取 [Windows 10 所有裝置],然後選取適當的 [架構] 並下載。Select Windows 10 all devices as the Platform, then the appropriate Architecture and download. 此應用程式不需要應用程式授權檔案。An app license file is not needed for this app. Windows 10 所有裝置和供下載之 X86 架構套件詳細資料的圖片Image of Windows 10 all devices and Architecture X86 Package details for Download
  4. 下載「必要架構」底下的所有套件。Download all the packages under “Required Frameworks”. x86、x64 及 ARM 架構都要執行這個步驟 – 所以總共 9 個套件,如下圖所示。This must be done for x86, x64 and ARM architectures – resulting in a total of 9 packages as shown below.

<span data-ttu-id="bdbf0-148">要下載之相依性檔案的圖片</span><span class="sxs-lookup"><span data-stu-id="bdbf0-148">Image of dependency files to Download</span></span>

  1. 將公司入口網站應用程式上傳至 Intune 之前,先建立資料夾 (例如 C:\Company Portal),並以如下結構放置套件︰Before uploading the Company Portal app to Intune, create a folder (e.g., C:\Company Portal) with the packages structured in the following way:
    1. 將公司入口網站套件放入 C:\Company Portal。Place the Company Portal package into C:\Company Portal. 在此位置中建立 Dependencies 子資料夾。Create a Dependencies subfolder in this location as well.
      已建好 Dependencies 資料夾並存有 APPXBUN 檔案的圖片
    2. 將 9 個相依性套件放在 Dependencies 資料夾中。Place the nine dependencies packages in the Dependencies folder.
      如果相依性套件未依如此方式放置,Intune 將無法在套件上傳期間辨識及上傳這些項目,而導致上傳失敗並出現下列錯誤。If the dependencies are not placed in this format, Intune will not be able to recognize and upload them during the package upload, causing the upload to fail with the following error.
      在應用程式資料夾中找不到此軟體安裝程式的 Windows 應用程式相依性。
  2. 返回 Intune,將公司入口網站應用程式上傳為新應用程式。Return to Intune, then upload the Company Portal app as a new app. 針對所需的目標使用者群,將其指派為必要的應用程式。Assign it as a required app to the desired set of target users.

有關 Intune 如何處理通用應用程式的相依性,詳細資訊請參閱透過 Microsoft Intune MDM 部署具相依性的 appxbundleSee Deploying an appxbundle with dependencies via Microsoft Intune MDM for more information about how Intune handles dependencies for Universal apps.

如果使用者已從市集安裝較舊的公司入口網站應用程式,我如何能更新他們裝置上的公司入口網站應用程式?How do I update the Company Portal on my users’ devices if they have already installed the older apps from the store?

如果您的使用者已經從市集安裝 Windows 8.1 或 Windows Phone 8.1 公司入口網站應用程式,則他們的裝置應該會自動更新到新版本,您或您的使用者不需要採取任何動作。If your users have already installed the Windows 8.1 or Windows Phone 8.1 Company Portal apps from the Store, then they should be automatically updated to the new version with no action required from you or your user. 如果更新沒發生,請使用者確認他們已在其裝置上啟用自動更新市集應用程式。If the update does not happen, ask your users to check that they have enabled autoupdates for Store apps on their devices.

如何將我側載的 Windows 8.1 公司入口網站應用程式升級至 Windows 10 公司入口網站應用程式?How do I upgrade my sideloaded Windows 8.1 Company Portal app to the Windows 10 Company Portal app?

我們建議的移轉路徑是刪除 Windows 8.1 公司入口網站應用程式的指派,做法是將指派動作設定為「解除安裝」。Our recommended migration path is to delete the assignment for the Windows 8.1 Company Portal app by setting the assignment action to “Uninstall”. 完成後,就可以使用上述任何選項來指派 Windows 10 公司入口網站應用程式。Once this is done, the Windows 10 Company Portal app can be assigned using any of the above options.

如果您需要側載應用程式並指派 Windows 8.1 公司入口網站,但不使用 Symantec 憑證來簽署,請遵循之前<透過 Intune 直接指派>一節所述步驟完成升級。If you need to sideload the app and assigned the Windows 8.1 Company Portal without signing it with the Symantec Certificate, follow the steps in the Assign directly via Intune section above to complete the upgrade.

如果您需要側載應用程式,並使用 Symantec 程式碼簽署憑證來簽署及指派 Windows 8.1 公司入口網站,請遵循下一節的步驟。If you need to sideload the app and you signed and assigned the Windows 8.1 Company Portal with the Symantec code-signing certificate, follow the steps in the section below.

如何將我已簽署及側載的 Windows Phone 8.1 公司入口網站應用程式或 Windows 8.1 公司入口網站應用程式,升級至 Windows 10 公司入口網站應用程式?How do I upgrade my signed and sideloaded Windows Phone 8.1 Company Portal app or Windows 8.1 Company Portal app to the Windows 10 Company Portal app?

我們建議的移轉路徑是刪除 Windows Phone 8.1 公司入口網站應用程式或 Windows 8.1 公司入口網站應用程式的現有指派,做法是將指派動作設定為「解除安裝」。Our recommended migration path is to delete the existing assignment for the Windows Phone 8.1 Company Portal app or the Windows 8.1 Company Portal app by setting the assignment action to “Uninstall”. 完成後,便可以正常指派 Windows 10 公司入口網站應用程式。Once this is done, the Windows 10 Company Portal app can be assigned normally.

否則,必須適當地更新及簽署 Windows 10 公司入口網站應用程式,以確保遵循升級方式。Otherwise, the Windows 10 Company Portal app needs to be appropriately updated and signed to ensure that the upgrade path is respected.

如果是以這種方式簽署及指派 Windows 10 公司入口網站應用程式,每當市集內有新的應用程式更新時,您就必須為每個應用程式重複此程序。If the Windows 10 Company Portal app is signed and assigned in this way, you will need to repeat this process for each new app update when it is available in the store. 當市集更新時,應用程式不會自動更新。The app will not automatically update when the store is updated.

以下是以這種方式簽署和指派應用程式的方法:Here’s how you sign and assign the app in this way:

  1. https://aka.ms/win10cpscript 下載 Microsoft Intune Windows 10 公司入口網站應用程式簽署指令碼。Download the Microsoft Intune Windows 10 Company Portal App Signing Script from https://aka.ms/win10cpscript. 此指令碼需要在主機電腦上安裝適用於 Windows 10 的 Windows SDK。This script requires the Windows SDK for Windows 10 to be installed on the host computer. 若要下載適用於 Windows 10 的 Windows SDK,請前往 https://go.microsoft.com/fwlink/?LinkId=619296To download the Windows SDK for Windows 10, visit https://go.microsoft.com/fwlink/?LinkId=619296.
  2. 從商務用 Microsoft 網上商店下載 Windows 10 公司入口網站應用程式,詳如前述。Download the Windows 10 Company Portal app from the Microsoft Store for Business, as detailed above.
  3. 搭配輸入參數執行詳載於指令碼標頭內的指令碼,簽署 Windows 10 公司入口網站應用程式 (摘錄於下)。Run the script with the input parameters detailed in the script header to sign the Windows 10 Company Portal app (extracted below). 相依性不需要傳遞至指令碼。Dependencies do not need to be passed into the script. 這些只有在將應用程式上傳至 Intune 管理主控台時才需要。These are only required when the app is being uploaded to the Intune Admin Console.
參數Parameter 說明Description
InputWin10AppxBundleInputWin10AppxBundle 來源 appxbundle 檔案所在路徑。The path to where the source appxbundle file is located
OutputWin10AppxBundleOutputWin10AppxBundle 已簽署之 appxbundle 檔案的輸出路徑。The output path for the signed appxbundle file. Win81Appx Windows 8.1 或 Windows Phone 8.1 公司入口網站 (.APPX) 檔案所在路徑。Win81Appx The path to where the Windows 8.1 or Windows Phone 8.1 Company Portal (.APPX) file is located.
PfxFilePathPfxFilePath Symantec 企業行動程式碼簽署憑證 (.PFX) 的路徑。The path to Symantec Enterprise Mobile Code Signing Certificate (.PFX) file.
PfxPasswordPfxPassword Symantec 企業行動程式碼簽署憑證的密碼。The password of the Symantec Enterprise Mobile Code Signing Certificate.
PublisherIdPublisherId 企業的發行者識別碼。The Publisher ID of the enterprise. 如果這個參數不存在,則會使用 Symantec 企業行動程式碼簽署憑證的 [主旨] 欄位。If absent, the 'Subject' field of the Symantec Enterprise Mobile Code Signing Certificate is used.
SdkPathSdkPath 適用於 Windows 10 之 Windows SDK 的根資料夾路徑。The path to the root folder of the Windows SDK for Windows 10. 這個引數是選擇性,且預設值為 ${env:ProgramFiles(x86)}\Windows Kits\10This argument is optional and defaults to ${env:ProgramFiles(x86)}\Windows Kits\10

指令碼執行完成時,會輸出簽署版的 Windows 10 公司入口網站應用程式。The script will output the signed version of the Windows 10 Company Portal app when it has finished running. 然後,您可以透過 Intune 將應用程式經過簽署的版本指派為 LOB 應用程式,這會將目前指派的版本升級至此新應用程式。You can then assign the signed version of the app as an LOB app via Intune, which will upgrade the currently assigned versions to this new app.

若要提交意見反應,請前往 Intune Feedback