Skip to content

PatchBee docs

Connecting an Intune tenant

PatchBee publishes into your Microsoft Intune tenant through a secure connection. You can connect more than one tenant and pick which to publish to each time.

Connect a tenant

  1. Go to Settings → Intune connections.
  2. Select Add connection.
  3. Choose how to authorise:
    • Admin consent (recommended): you are sent to Microsoft to approve the permissions PatchBee needs, then returned to the app.
    • Manual: enter an app registration's client ID and secret if your organisation prefers to create it yourself, with the same four permissions listed below granted to it.
  4. Give the connection a friendly name and save.

Your stored credentials are encrypted and never shown again in full.

What PatchBee asks for

Admin consent grants PatchBee four Microsoft Graph application permissions, and nothing else: no user data, no changes to your directory, no actions on devices. They appear in your Entra admin center under Enterprise applications as PatchBee Intune Connector, and revoking them there cuts PatchBee off at once.

PermissionWhat it is used for
DeviceManagementApps.ReadWrite.AllCreating and updating apps in Intune, assigning them, and reading install status. Required: nothing can be published without it.
Group.Read.AllSearching your Entra groups when you assign an app.
DeviceManagementManagedDevices.Read.AllCounting managed devices for your plan, and discovering the apps already in a tenant when you migrate them.
DeviceManagementConfiguration.Read.AllListing assignment filters so you can pick one when you assign an app.

Only the first one is required. A connection missing one of the others keeps working; the feature that needs it is unavailable until the permission is granted, and Test on the connection in Settings → Intune connections shows which one is missing.

When PatchBee starts needing a permission it did not ask for when you first connected (assignment filters were added on 26 October 2026), the connection test shows a warning and the feature that needs it says what is missing. To add it, open Settings → Intune connections and choose Grant consent again on the connection: you are sent to Microsoft to approve the current set of permissions and returned to PatchBee. The connection stays live throughout, and apps already published are not affected.

For a Manual connection, add the permission to your own app registration in Entra and grant admin consent there; PatchBee picks it up on the next Test.

If consent fails

Just start again. Choosing Admin consent a second time picks up the attempt you already began instead of creating another connection, so an approval you abandoned, cancelled, or completed with the wrong account costs you nothing, and it never counts against the number of Intune tenants your plan includes. Only the newest approval link works, so if you left an earlier one open in another tab, close it and use the new one.

A connection that failed does not use up a slot either. If your first attempt left a failed connection in the list, you can still add your next one normally; the failed entry is only there for you to look at, and you can delete it whenever you like.

Example: an MSP connecting a second customer tenant

  1. Sign in with an account that has Intune admin rights in the customer tenant (or have their admin complete the consent step).
  2. Settings → Intune connections → Add connection → Admin consent, approve as the customer tenant admin, and name it after the customer, for example Contoso Ltd production.
  3. Every publish flow now offers both connections in its tenant step, and with MSP mode you can group connections under customers.

Next

With a tenant connected, you are ready to deploy: find an app in the catalog, then package and publish it.