Automating App Lifecycle in Intune with Robopack Part 1 : Architecture, Tenant Onboarding and a Secure Baseline

Why this series

A CVE drops for a browser or a compression tool. Security asks: “Are we patched?” The honest answer is often: “It depends which version each device picked up last quarter.”
Intune is an excellent delivery engine. It does not do the work around third-party apps for you:

  • finding a reliable silent switch
  • generating the .intunewin file and writing a detection rule
  • creating assignment groups and supersedence
  • doing it all again for every new version
    Multiply that by 300 to 500 applications, a realistic catalog for an SME, and app lifecycle becomes a full-time job. Robopack is a SaaS platform built to take over that work.

1 – What Robopack is, and what it is not

Robopack is an agentless cloud service that builds, updates and deploys standard Intune Win32 apps for you. It was built in Denmark and is offered in North America by Robopack Canada.

CharacteristicWhat it means for you
No agent, no infrastructureNothing on endpoints, no on-premises server. Robopack talks to Intune and Entra ID through Microsoft Graph.
Intune stays the delivery engineRobopack creates normal Win32 apps, groups and assignments. If you disconnect it, the apps remain normal Intune apps.
Large prepackaged catalog“Instant Apps” is built on Roborepo, Robopack’s own repository, which retrieves installers directly from the software vendors’ websites. Robopack advertises 40,000+ apps, independent coverage cites 46,000+.
Standardized PSADT wrappingEvery package, catalog or custom, is wrapped with the PowerShell App Deployment Toolkit. Installs, uninstalls and logs behave the same everywhere.
Multi-tenant by designOne Robopack organization connects several tenants. This is why MSPs use it.

What it is not : a replacement for Intune, for ConfigMgr co-management or for a vulnerability scanner. It automates packaging, updating and deployment orchestration on top of Intune.

About PSADT. The PowerShell App Deployment Toolkit is the free, open-source framework thousands of packagers already use. Patch My PC took on a stewardship role for its code repository, and the toolkit stays open source. Because Robopack uses PSADT as its standard, any packager who knows the toolkit can read and edit what Robopack generates.

2 – Architecture : four layers

Robopack builds and orchestrates; Intune remains the only thing your devices talk to.

Read it left to right: sources feed Robopack, Robopack calls Microsoft Graph through the enterprise app in your tenant, and devices install through the Intune Management Extension as with any Win32 app.

Two consequences for your design:

  • Security boundary = the Graph permissions of the Robopack enterprise app (section 4).
  • Operational boundary = Intune. Retries, ESP behavior, filters and restarts follow normal Win32 logic. Robopack never bypasses the IME.

3 – Prerequisites

Have these ready before you open Settings. Checking them off now saves rework later.

Required

  • A Robopack organization (trial or licensed) at app.robopack.com
  • A Global Administrator for the tenant-wide admin consent (consent only, never for daily work)
  • An active Intune tenant with enrolled Windows devices
  • An agreed naming convention for Intune apps and Entra groups (for example mem-app-win-<AppName>-<Intent>)
  • A decision on code signing: Robopack’s generated certificate or your own
  • A target log location for app installs (section 9 recommends the IME logs folder)

Recommended

  • Entra ID P1 or P2, if you want to restrict Robopack’s group permissions with an administrative unit (section 4)
  • Dedicated Entra security groups for Robopack roles (section 6)

4 – Connect your Intune tenant

Choose Connect tenant (admin consent). It is the only option that allows automated patching.

4.1 – Pick the connection mode

Connect tenantConnect tenant (user)
How it worksRegisters Robopack as an enterprise app (admin consent)Acts on behalf of the signed-in user
Automated patching (Robopatch)YesNo
Multi-tenant managementYesNo
Who connectsGlobal AdministratorA user whose Entra and Intune rights are set manually
Use it forProductionQuick evaluation only

4.2 – Connect, step by step

  1. Sign in to app.robopack.com.
  2. Go to Settings > Tenants.
  3. Click Connect tenant.
  1. Sign in with a Global Administrator of the target tenant.
  2. Review the permissions on the Microsoft consent screen, then accept.
  1. Check that the tenant shows AUTHORIZED, with its domain and device count.

4.3 – Know exactly what you granted

Three permissions are required. Everything else is optional, and one deserves a hard look.

Microsoft Graph permissionRequiredWhat Robopack uses it forRisk note
Organization.Read.AllYesConnect the tenantRead only
DeviceManagementApps.ReadWrite.AllYesImport packages to IntuneCore of the product
DeviceManagementConfiguration.Read.AllYesRead deployment status and reportsRead only
Device.Read.AllOptionalBetter device lookup for Radar TrackingRead only
DeviceManagementManagedDevices.Read.AllOptionalRadar, device debugging, licensingRead only
DeviceManagementServiceConfig.ReadWrite.AllOptionalKeep Autopilot ESP pointing to the latest app versionWrite on enrollment config
Group.ReadWrite.AllOptionalCreate groups at import, add devices for Radar TrackingTenant-wide write on all groups

Source: Robopack permission reference.

Why ServiceConfig matters. If a Robopack app is a required app in an Enrollment Status Page, this permission lets Robopack swap the old version for the new one after a patch. Without it, your ESP keeps pointing to an outdated app object.

Why Group.ReadWrite.All matters. It allows editing any group, including those used in Conditional Access or privileged role assignment. Your security team will ask about it.

4.4 – Reduce the risk with an administrative unit

Since September 2026, Robopack can get its group read/write rights through an Entra administrative unit instead. You can then revoke the tenant-wide Group.ReadWrite.All.

  1. Follow Robopack’s tutorial Connecting with an administrative unit on docs.robopack.com for the exact role and steps.
  2. Revoke Group.ReadWrite.All afterwards. While it stays granted, it overrides the administrative unit scope.
  3. Validate group creation with a test package.

Administrative units require Entra ID P1 or P2.

4.5 – Several tenants (MSPs, multi-entity groups)

Repeat the connection for each tenant: each gets its own enterprise app and consent. You then target one or several tenants at import or patch time, and per-tenant settings (Part 3) keep one package definition with tenant-specific values.

5 – Secure sign-in and SSO

Move to Entra ID-only sign-in as soon as possible: your Conditional Access policies then protect Robopack automatically.

5.1 – Two kinds of accounts

Account typeHow it signs inCreated how
LocalPassword (MFA available)In Robopack, with an email address
Entra IDYour tenant’s sign-in, with Conditional AccessAutomatically at first sign-in, if the tenant is associated and the user can access the app

A local account can be linked to Entra ID later, then its password sign-in disabled.

5.2 – Control SSO per tenant

In Settings > Tenants, toggle SSO for each tenant then test if SSO is successfuly configured. By default, users from all associated tenants can sign in. Disabling SSO for a tenant blocks Entra ID sign-in for all its users.

MSP tip : this is how you stop customer users from signing in to your Robopack organization while you still manage their tenant.

5.3 – Set the organization sign-in policy

  1. Go to Settings > Account > Organization settings.
  2. Choose one option:
    • Allow both Entra ID and password sign-ins
    • Only Entra ID sign-ins (recommended by Robopack)
    • Only password sign-ins
  3. If you keep passwords for now, enable Require MFA for password login.

Before you switch to Entra ID only : confirm every administrator has linked an Entra ID account, and test your break-glass admin.

Select the way how users can sign in to Robopack and how roles are assigned to users (Robopack or ENTRA ID):

Role assignment : set it to “Entra ID and Robopack”, not “Entra ID only”.
Day-to-day roles come from Entra groups (section 6.2), while your break-glass administrator keeps its Organization administrator role assigned directly in Robopack. With “Entra ID only”, that account would have no role at all.

5.4 – Decide the Instant App language once

The account page also sets the preferred Instant App language. It selects which language version of an Instant App you get from the catalog, when one exists. It does not change the installation language of the application. In practice, most Instant Apps are only available in English, so leaving the default is fine for most organizations.

6 – Access control : roles and tenant permissions

Access in Robopack has two dimensions: a role says what a user can do, a tenant permission says where. A user needs both.

6.1 Built-in roles

RoleCan doTypical holder
Organization administratorEverything, including authorization and organization settings2 people maximum
Security reader / writerView / edit users, permissions, settingsIAM or security team
Package reader / writerView and download / create, import, manage packagesPackagers
Custom App Settings reader / writerView / edit custom app settingsPackagers
Robopatch reader / writerView / administer app update flowsPatch operators

Each writer role includes read access.

6.2 – Assign roles through Entra groups

You can assign roles in Settings > Users (edit the user, tick roles) or in the Entra admin center under Enterprise applications > Robopack > Users and groups (one assignment per role). Select user then edit roles.

Recommendation: use Entra groups. You get access reviews, PIM for Groups, and one place for joiners, movers and leavers. Keep direct assignment in Robopack for the break-glass admin only, which is why role assignment must allow both Entra ID and Robopack (section 5.2).

Entra group (example)Robopack roles
SG-Robopack-OrgAdminsOrganization administrator
SG-Robopack-PackagersPackage writer + Custom App Settings writer
SG-Robopack-PatchOperatorsRobopatch writer + Package reader
SG-Robopack-ReadOnlyPackage reader + Robopatch reader (service desk, auditors, IT management)

6.3 – Add tenant permissions

In Settings > Tenants, each tenant grants up to four permissions to all users, selected users or an Entra group:

Tenant permissionAllows
See / read informationSee the tenant, view deployment status
Upload appsUpload apps from packages or Robopatch
Set configurationChange the tenant configuration
Set permissionsManage who can access the tenant

Two rules to remember:

  • A tenant permission alone grants no feature. A Robopatch writer with permission on tenant A edits flows for tenant A only.
  • Group-based tenant permissions apply only to users signing in with an Entra ID account from that same tenant.

For MSPs: role + tenant permission is what lets a junior technician patch customer A without ever seeing customer B.

7 – Notifications

Start with one flow: Deployment error to the endpoint team’s Teams channel. No SMTP relay is needed.

  1. Go to Settings > Notifications.
  2. Click Add notification flow.
  1. Tick the events to handle.
  2. Click Add new action . Example flow : email notifications for package created, package ready, package imported to Intune and deployment error.
  3. Save.

Start small : Deployment error is the event that needs a reaction. Add the others once you know your volume.

8 – Package signing certificates

A signing certificate is a security control only if your devices trust it. Choose the certificate before your first package.

By default, Robopack signs packages with an automatically generated self-signed root certificate, unique to your organization.

In Settings > Certificates / signing you can:

  • Download current certificate
  • Upload certificate (your own code-signing certificate)
  • Generate new certificate

Package signing: current certificate, expiry and the default flag in the certificate list.

OptionProsCons
Robopack-generated certificateWorks immediately, long validityYou must deploy it as trusted yourself
Your enterprise code-signing certificateGoverned by your PKI (revocation, renewal, audit)Requires an existing PKI or a purchased certificate

Steps

  1. Choose the certificate (enterprise PKI is easier to govern).
  2. Keeping Robopack’s certificate ? Download it and deploy it with an Intune Trusted certificate profile (Trusted Root and Trusted Publishers, per your policy).
  3. Mark it as default before building any package.
  4. Record the expiry date in your certificate inventory.

Do this before enforcing signed scripts. If you plan AllSigned execution policy, App Control for Business or AppLocker publisher rules, deploy trust first. Otherwise installs fail silently.

9 – Script templates: your packaging standard

This is the most important setting in Robopack. Every package is wrapped in a PSADT script built from a template, so a change here applies to every future package.

9.1 – PSADT v3 or v4 ?

PSADT 3.10.2 templatePSADT v4 template
Status in RobopackStill the out-of-box defaultSelectable, or base of your own template
Deploy modeClassicAuto: interactive when appropriate, silent when no user context
RecommendationExisting estates already on v3New deployments

In the demo tenant, a private template based on PSAppDeployToolkit v4.1.8 is set as the organization default, next to the shared 3.10.2 template.

9.2 – Create your organization template

  1. Go to Settings > Script templates and click Add new template.
  2. Name it after your organization, for example Contoso PSADT v4.
  3. Pick the PSADT v4 installation script.
  4. Under Features, set your standards:
    • Remove desktop shortcuts : cleans up shortcuts installers drop on the public desktop
    • Disable closing apps : PSADT will not close running processes before install
    • Do not include PSADT module : advanced cases only
  5. Under Logging, set both log directories (see 9.3).
  6. Under Options, tick Enabled and Use as default.
  7. Optional: expand Show dialog options to control user-facing prompts.
  8. Click Save changes.

9.3 – Send install logs to the IME logs folder

Set both the PSADT log directory and the MSI log directory to :

$envProgramData\Microsoft\IntuneManagementExtension\Logs

Why : Collect diagnostics in the Intune admin center gathers this folder. Install and uninstall logs then come back with the device diagnostics, with no remote session. Your service desk will thank you.

Result : both PSADT and MSI logs redirected to the IME logs folder.

9.4 – Keep the template strategy simple

  • One default template that fits about 90 percent of apps.
  • A few variants for real exceptions, for example with shortcuts. The template can be chosen per package at import (Part 3).
  • Treat template edits as changes: test with one package before the next build uses it.

10 – Assignment templates : groups created for you

Assignment templates make Robopack create the Available, Required and Uninstall groups at import, named your way. Set them before the first import.

  1. Go to Settings > Assignment templates.
  2. Tick Create groups for apps uploaded to Intune.
  3. Edit the Default template, or click Add new template.
  4. For each intent, set the naming template with variables such as %ProductName% and %type%.
  5. Save.
IntentAssignmentBuilt-in namingEnterprise-style naming (demo)
AvailableAvailableRobopack-VisualStudioCode-Availablemem-app-win-VisualStudioCode-Available
RequiredRequired (machine context)Robopack-VisualStudioCode-Requiredmem-app-win-VisualStudioCode-Required
UninstallUninstall (machine context)Robopack-VisualStudioCode-Uninstallmem-app-win-VisualStudioCode-Uninstall

Naming templates : Robopack-%ProductName%-%type% (built-in) and mem-app-win-%ProductName%-%type% (custom).

  • If a group already exists, Robopack reuses it, no duplicates (shown in Part 2).
  • Never uninstall through Intune? Create a template without the Uninstall group.
  • Restricted group permissions (section 4.4)? Validate group creation with a test package.

11 – Best practices and mistakes to avoid

AreaDoAvoid
Tenant connectionUse Connect tenant (admin consent)Using “Connect tenant (user)”, then discovering patching is unavailable
PrivilegeConsent with Global Admin, then work with Robopack rolesKeeping Global Admin as the daily Robopack login
Group permissionEvaluate the administrative unit option, revoke Group.ReadWrite.AllLeaving tenant-wide group write unreviewed
Sign-inEntra ID only, protected by Conditional AccessDisabling passwords before every admin linked Entra ID
RolesAssign through Entra groups, review periodicallyAd hoc direct assignments
SigningDeploy certificate trust firstEnforcing signed scripts before trust, causing silent install failures
Script templateBuild a PSADT v4 default, logs in IME folder, before the first packageRebuilding dozens of packages to change logs or shortcuts
Assignment templateMatch your group naming convention from day oneEnding up with two families of groups
NotificationsDeployment error to a Teams channel“New app version” to every mailbox for a 500-app library

For IT directors: document who owns the Robopack organization, who approves consent changes, and who may edit the default script template. Add the Robopack enterprise app to your periodic third-party app review.

What’s next

In Part 2, Radar scans your tenant’s discovered apps to show what is really installed, how many versions coexist and what is ready for automated patching. Then we deploy a first app from the Instant Apps catalog and check, in the Intune admin center, exactly what Robopack created.

References

Aymen EL JAZIRI (Microsoft MVP)
Aymen EL JAZIRI (Microsoft MVP)

Hi, I’m Aymen El Jaziri , a passionate System Administrator and Microsoft MVP, with years of hands-on experience in managing and securing modern IT infrastructures.
This blog is where I share technical guides, automation scripts, product reviews, and real-world solutions that help IT professionals simplify their day-to-day work and stay ahead in a fast-evolving cloud ecosystem.
Whether you’re here to troubleshoot an issue, improve your automation game, or learn new best practices , welcome in my blog !
Let’s build a stronger, smarter IT community together.
Feel free to connect with me on LinkedIn for more content, discussions, or collaboration opportunities.

Thanks

Aymen

Articles: 159