Deploying Large Applications using Microsoft Intune (2024)

Deploying Large Applications using Microsoft Intune (1)

By Johan Arwidmark /August 26, 2022

In late July, I was asked to do a Proof-Of-Concept (POC) for one of our customers regarding Intune and deployment of large applications. Basically, they wanted to know how well Intune would work with application sizes in the 5 – 20 GB range. Obviously, this story is not going to end well, but please read on…

TL;DR

Long story short: While you can request support for larger than 8 GB applications in Microsoft Intune, the platform is not very good at handling apps larger than 2-3 GB in general, and sometimes not even that, depending on your Internet connection, Delivery Optimization (DO) settings, and availability of cache servers. Read on for more info and workarounds….

Increasing the default Win32 application size limit

If you have been deploying applications with Microsoft Intune for more than four minutes, you probably know that the default max size is 8 GB per application. This limit can be increased by submitting a support case from your Intune tenant. Long story short, case submitted, business impact/reason provided, and three weeks later, our tenant was upgraded to support 30 GB per application. My fastest Intune support case yet…

Deploying Large Applications using Microsoft Intune (2)

Step #1 – Creating the Intune package

Creating a large Win32 package using the Content Prep Tool (IntuneWinAppUtil.exe) is no different from creating a small one, except for it takes a bit longer. Just make sure to use version 1.8.4.0 of the tool or later since earlier version had a bug when creating packages over 4 GB.

For this test I created an Intune package of Adobe Suite 2022. Using the IntuneWinAppUtil.exe it took about 20 minutes to create the package. It's not the fastest tool, but in all fairness, it does a decent job using a standard Zip compression, and also encrypts the package. The resulting size is only 0.5 GB larger than a 7-Zip archive of the same folder (19.9 GB vs 20.4 GB).

Deploying Large Applications using Microsoft Intune (3)

Step #2 – Creating the Win32 App in Intune

Next step was to create the Win32 App in Intune, which also uploads the package as part of the process. And this is where my problems started. My Internet connection when doing this POC only had 20 Mbit upload, and the IntuneWin32App PowerShell module from Nickolaj Andersen (@NickolajA), that I typically use to create the packages, would timeout after 15 minutes due to the authentication token not being refreshed during the upload.

To upload the package faster, I decided on subscribing to a Windows 365 Cloud PC with 4 GB RAM, and 256 GB Disk. Subscribing to the Cloud PC only took a few minutes, but it took 5 days for Windows 365 to actually provision it. I'm assuming due to heavy load or bugs on the Windows 365 platform, because the support person that responded to my ticket had no clue whatsoever. Anyway, once I had the Cloud PC, I synced the Intune package via OneDrive to the Cloud PC, and then uploaded it from there. But even though I got about 130 Mbit upload when uploaded from the Cloud PC, the IntuneWin32App PowerShell module would still time out due to token refresh. So, I ended up uploading the Intune Package via the MEM portal, from the Cloud PC, which went fairly quick. I guess you can call the Cloud PC UaaS (Upload as a Service). 🙂

Now the good news: In the midst of all this, Mr. Jose (@schenardie) reached out to me, offering his help to create a fork of the IntuneWin32App PowerShell module that used AzCopy.exe to upload the package, including a token refresh. Happiness! With the updated module I could create the Win32 App from both the MEM portal and PowerShell. Yay!

Total Win32 App creation time of Adobe Suite 2022 from my Cloud PC was 2 hours and 4 minutes.

Note #1: You may have to test different upload caps values (–cap-mbps) in the Invoke-AzcopyBlobUpload.ps1 script.

Note #2: A good 20 minute of the above times is the machine preparing the package for upload.

Note #3: When uploading the Intune package via the MEM portal on my Cloud PC, I got about 140 mbit upload speed.

Step #3 – Deploying Adobe Suite 2022 using Intune

As if I hadn't had my fair share of problems along the way already, actually deploying the 20 GB Adobe Suite application from Intune turned out to be a royal pain. Intune have a default download timeout of 10 minutes, and unless my client has about 300 mbit dedicated download speed, there is no way a 20 GB package will download in that time.

Deploying Large Applications using Microsoft Intune (4)

What happens when the timeout is reached is that the download stops, and the client will continue to download later, much later. In my first attempts it took about 2 days to get the package down over a 60 mbit link. By poking the registry keys for the app, I could force it to download all 20 GB in a few hours, but it would be nice if Intune offered a setting to increase that initial download time. For the fun of it, I did submit a support case on this issue, but nothing useful have emerged yet from that.

It's also fascinating to see how DO is downloading multiple 1 MB blocks from multiple sources. Here is a ProcMon trace I was running during download:

Deploying Large Applications using Microsoft Intune (5)

Step #4 – Speeding up Things

While the initial download can be quite slow, the more clients that downloads the package, the faster the local sharing via DO will be. Also, you can leverage the use of a local Microsoft Connected Cache server for the Win32 apps that will improve performance. Here is the Adobe Suite 2022 package inside the MCC cache on one of our cache servers:

Real World Note: MCC won't cache Intune content like Win32 apps until it's been requested at least three times, so don't be surprised if it does not start caching immediately 🙂

Here is a post on how to setup a Microsoft Connected Cache server and monitor the results:

Setup Microsoft Connected Cache (MCC) for Windows Autopilot / Win32 App Deployments
https://www.deploymentresearch.com/setup-microsoft-connected-cache-for-windows-autopilot-and-other-staging-scenarios/

Deploying Large Applications using Microsoft Intune (6)
Deploying Large Applications using Microsoft Intune (7)
Deploying Large Applications using Microsoft Intune (2024)

FAQs

What is the size limit for Intune app deployment? ›

For more information and steps, see Add, assign, and monitor a Win32 app in Microsoft Intune. Windows application size is limited to 30 GB per app.

Can you deploy Apps with Intune? ›

Intune apps refer to the applications that are managed by Microsoft Intune. These apps can be deployed, configured, protected, and updated to access your organization's resources. Intune supports various app types, such as store apps, web apps, and line-of-business (LOB) apps.

Which office Apps can be deployed using Intune? ›

Supported Windows app types
App typeHomeBusiness
.IntuneWinNoYes
Office C2RNoYes
LOB: APPX/MSIXYesYes
Microsoft Store app (new)NoYes
4 more rows
Apr 16, 2024

Why does Intune take so long to deploy Apps? ›

The problem with the delayed deployments was actually an Azure AD issue, it was specifically caused by the time it takes for the enrollment profile dynamic groups to populate their membership. This also explained why we sometimes saw even longer deployment times during times of peak azure usage.

What are the limitations of Intune? ›

Intune device limit restrictions

You can allow a user to enroll up to 15 devices. To create a device limit restriction, sign in to the Microsoft Intune admin center and go to Devices > Enrollment. For more information, see Create a device limit restriction.

How many devices does Intune can support at the maximum? ›

There is a maximum limit of 20,000 devices in a single Windows Intune subscription account. Organizations may choose to have multiple accounts if they need to manage more than 20,000 devices.

Can Intune install 3rd party apps? ›

Based on my research, you can deploy third-party software package, it is suggested to use win32 app via Intune. And we can add Win32 app supersedence to update this app. Please note that if you manually installed the apps instead of deploying them via Intune, you cannot update them via Intune.

Is Intune the future? ›

As we look to the future, Intune's trajectory is clear. It will continue to lead the charge in endpoint management, embracing cloud-native solutions and AI to deliver security and productivity. For organizations worldwide, Intune is not just a tool; it's a strategic partner in their digital transformation journey.

What is the difference between SCCM and Intune? ›

Both Intune and SCCM can do the following tasks, but they accomplish these tasks in different ways since Intune is cloud-based and SCCM is agent-based: Manage applications: Intune and SCCM can update, install, or uninstall applications on end user devices.

Is Intune part of Microsoft 365 or Azure? ›

Microsoft Intune is a standalone product included with certain Microsoft 365 plans, while Basic Mobility and Security is part of the Microsoft 365 plans.

Does Intune require Active Directory? ›

Do you need other software to use Intune? To use Intune, your computers must be connected to Azure Active Directory, which is a cloud-hosted Active Directory. Historically, this has only existed on-prem.

Can Intune see what apps are installed? ›

Intune provides an aggregated list of detected apps on the Intune enrolled devices in your tenant. Sign in to the Microsoft Intune admin center. Select Apps > Monitor > Discovered apps.

How to push an application through Intune? ›

Use the following steps to add an app to Intune:
  1. Sign in to Microsoft Intune admin center, select Apps > All apps > Add.
  2. In the App type drop-down box, select Windows 10 and later from Microsoft 365 Apps.
  3. Click Select. ...
  4. Confirm the default details in the App suite information step and click Next.
Jun 7, 2024

How often does Intune try to install Apps? ›

One of the common methods for deploying applications to users is the use of a Win32 App. However, a common issue that can occur when setting up new computers or trying to deploy an app is that if the app fails to install, it takes 24-72 hours before Intune will attempt to install the app again.

How often do scripts run in Intune? ›

According to Microsoft, the deployment schedule is as follows: The Intune management extension agent checks with Intune once every hour and after every reboot for any new scripts or changes. After you assign the policy to the Azure AD groups, the PowerShell script runs, and the run results are reported.

What is the size limit for Azure app Service? ›

The storage limit is the total content size across all apps in the same App service plan. The total content size of all apps across all App service plans in a single resource group and region cannot exceed 500 GB.

What is the maximum size of Azure app configuration? ›

Storage per resource: In the Free tier, each configuration store is limited to 10 MB of regular storage and 10 MB of snapshot storage. In the Standard tier, each configuration store can use up to 1 GB of regular storage and an additional 1 GB of snapshot storage.

What is the maximum deployment slots in app service plan? ›

The maximum number of slots available depends on the pricing tier of your Web App. For instance, the Standard tier allows up to 5 deployment slots, while the Premium tier offers up to 20 slots. This flexibility empowers you to customize your deployment strategy based on your application's requirements.

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Jonah Leffler

Last Updated:

Views: 5675

Rating: 4.4 / 5 (65 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Jonah Leffler

Birthday: 1997-10-27

Address: 8987 Kieth Ports, Luettgenland, CT 54657-9808

Phone: +2611128251586

Job: Mining Supervisor

Hobby: Worldbuilding, Electronics, Amateur radio, Skiing, Cycling, Jogging, Taxidermy

Introduction: My name is Jonah Leffler, I am a determined, faithful, outstanding, inexpensive, cheerful, determined, smiling person who loves writing and wants to share my knowledge and understanding with you.