Get Rid of Manual Packaging Process with Intune

by | Dec 1, 2022

Automate Application Packaging via Intune

Ideally, this solution will work with SCCM, Intune, JAMF, Kandji, or whatever tool you are using, regardless of Operating System. If you come from the traditional world of Application Packaging, this might sound quite overwhelming but if I break it down in steps, it will sound obvious.

We’re planning to start working on this idea for one of our customers in Germany in Q2 2023 and that’s when we will upload the entire solution including scripts. Till then we’re pasting the reference script that we’re working upon.

The entire solution can be broken into 6 parts

  • A CurrVer.json file that records the existing version of apps in Intune
  • A PowerShell script that checks the latest version on the vendor’s website
  • A function that checks existing versions with the latest version
  • A PowerShell script that runs well known IntuneWinAppUtil.exe command to wrap the package
  • GraphAPI setup to upload the package to Intune & update the version in the CurrVer.json file
  • A PowerShell script that sends email / Teams alert to the UAT team and Intune Admins
Application Packaging Automation Diagram

Based on our design, items 2 – 6 can be combined in one PowerShell script. This is going to be a complex script but we have worked on a far more brain-churning script than this one. Also, PowerShell is very much capable of handling a requirement like the above.

SOUNDS COMPLEX?

Any Intune package is a combination of Installer, Pre Install & Post Install scripts. That’s all you need to predefine in your packager script/function.

There is nothing that can’t be achieved using Pre/Post Install. Reimagine your packaging process, you’d love this new approach.

This PS script can be executed in many ways. It can run via Azure DevOps Pipeline or a local script saved on an Azure VM. To save cost, this VM can be configured to run an hour before the scheduled time of the script. There are many other obvious ways to execute this. Please see what suits you based on the resources available at your disposal.

Here are some references to start:

Please feel free to add any suggestion that might help others to reach to resolution faster. ❤️

How to get Microsoft Defender Health on Mac Fleet

Managing Macs for multiple companies gives us the opportunity to work in various environment and detect issues where it occurs first & then implement a solution for all others at the same time. Recently there was a requirement to find if there are MDD instances...

Implementing Machine Learning in IT Support Setup

Machine learning has the potential to revolutionize the way IT support businesses operate. This cutting-edge technology can be applied in a number of ways to improve the efficiency, accuracy, and speed of IT support services. Here are some ways that machine learning...

Benefits of Apple Business Managers

Apple Business Manager is a web-based platform designed to streamline the process of purchasing, deploying, and managing Apple devices within a business organization. It allows IT administrators to manage and distribute Apple devices and apps to their employees,...

Adoption of Macs in Enterprise: A Growing Trend

This image belongs to Kandji.io In recent years, there has been a growing trend of enterprises adopting Macs as their primary desktop and laptop computers. This shift in technology can be attributed to several factors, including...

ESG as future of IT

ESG, or environmental, social, and governance, is becoming increasingly important in the field of IT. As technology continues to advance and play a larger role in our daily lives, companies are being held to higher standards in terms of their impact on the environment...

Secure Your Mac with FileVault

FileVault is a built-in encryption tool for Macs that helps protect your data from unauthorized access by encrypting your hard drive. Enabling FileVault is a simple process that only takes a few minutes, and it can give you peace of mind knowing that your data is safe...

Is outsourcing IT to India is better or keeping it inhouse?

There are pros and cons to both outsourcing IT services to India and keeping IT within the company. Ultimately, the decision to outsource or keep IT in-house will depend on the specific needs and goals of the company, as well as the resources and capabilities...

How to be a good SCRUM Master

In an Agile development team, the Scrum Master is a crucial role that helps the team to work effectively and efficiently. A Scrum Master is responsible for facilitating the team's use of the Scrum framework and ensuring that the team is able to deliver high-quality...

Basics of Enterprise Patch Management

Enterprise patch management is the process of ensuring that all the software and applications within an organization are kept up-to-date with the latest patches and updates. This is important because software and applications are constantly being improved and updated...

Cost saving for enterprises by choosing M1 Macs

The M1 Mac has had a significant impact on the enterprise market since its release. As a highly-efficient and powerful machine, the M1 Mac has proven to be a valuable asset to businesses in a variety of industries. One of the key benefits of the M1 Mac is its improved...

CRM Is A Process, Not A Product! How Can We Make CRM A Successful Tool?

CRM (Customer Relationship Management) is software that allows businesses to manage business relationships and information associated with them. It provides a platform that manages interactions with customers, stores information about them, and automates processes...

WE OFFER

Digital Workplace Services

MAC SUPPORT
Automated Tasks

DIGITAL WORKPLACE
 Office IT Support

MODERN WORKPLACE
Intune for Win & Mac

VIRTUAL DESKTOPS
Citrix Virtual Apps

MODERN WORKPLACE
Mac Win iOS Android

ONSITE TECHIES
Mac & Win Trained