Skip to main content

3 november 2026

Provisioning Users in Office 365 Tenants from Omnissa Access

You can use the Provisioning Adapter for Office 365 to automatically provision users and groups in the Office 365 tenant from the Omnissa Access service. Whenever you entitle users and groups to an Office 365 application in the catalog, the users and members of the group are provisioned in the Office 365 tenant, if they are not already a member. The actual group is not provisioned.

When you enable automatic user provisioning, you can specify what type of user account information to send from the Omnissa Access service. For example, the information sent can be the user name, first name, last name, and email address.

When you edit and disable users and groups, from the Omnissa Access service, the records in the Office 365 instance are updated accordingly. When users are no longer entitled to the application, the Office 365 account is disabled.

In the Omnissa Access catalog, you select the Office 365 with Provisioning application to configure provisioning.

Omnissa Access authenticates to Office 365 through Microsoft Graph using an Entra ID app registration. Before you configure the provisioning adapter, register an app in Microsoft Entra ID and collect the Client ID and client secret values that the provisioning adapter requires.

Note: Microsoft has retired the MSOnline PowerShell module and the New-MSOLServicePrincipal cmdlet used to create the service principal for provisioning in earlier releases. Use one of the procedures below instead.

Prerequisites

  • A Microsoft Entra ID tenant associated with the Office 365 subscription.
  • Cloud Application Administrator, Application Administrator, or Global Administrator role, to create the app registration.
  • Global Administrator or Privileged Role Administrator role, to grant tenant-wide admin consent for the Microsoft Graph application permissions.
  • PowerShell 7.0 or later (pwsh) and the Microsoft.Graph.Applications module, if you use Option B.

Register the App and Collect the Client ID and Client Secret

Two registration paths are available: through the Microsoft Entra admin center (Option A), or through Microsoft Graph PowerShell (Option B). Both produce the same Client ID and client secret values required on the Provisioning page of the Office 365 with Provisioning application.

  1. Sign in to the Microsoft Entra admin center at entra.microsoft.com.

  2. Navigate to Identity > Applications > App registrations and click New registration.

  3. Enter a display name for the app registration, for example, Omnissa Access Provisioning.

  4. Under Supported account types, select Accounts in this organizational directory only (Single tenant).

  5. Click Register.

    Registering the app also creates its backing service principal.

  6. On the app registration Overview page, copy the Application (client) ID.

    Use this value as the Client ID on the Provisioning page of the Office 365 with Provisioning application.

  7. Click Certificates & secrets > Client secrets > New client secret.

  8. Enter a description and select an expiration period, then click Add.

    Important: Copy the Value column immediately after creation. This is the client secret, and it is displayed only once. If you navigate away before copying it, you must create a new client secret.

    Use this value as the Client Secret on the Provisioning page of the Office 365 with Provisioning application.

  9. Click API permissions > Add a permission > Microsoft Graph > Application permissions, and add the following permissions.

    PermissionPurpose
    User.ReadWrite.AllCreate, update, and disable Office 365 user accounts provisioned from Omnissa Access.
    Group.ReadWrite.AllCreate and manage the security groups provisioned from Omnissa Access.
    Organization.Read.AllRequired only if Provision with License is enabled on the Provisioning page, to look up available license SKUs.
  10. Click Add permissions.

  11. Click Grant admin consent for <tenant> and confirm Yes.

    An account with the Global Administrator or Privileged Role Administrator role is required to grant admin consent. If your signed-in account does not have this role, ask an administrator who does to complete this step.

  12. Confirm that the Status column shows Granted for <tenant> for each permission before continuing.

Option B — Microsoft Graph PowerShell

Install and connect to Microsoft Graph

# Install if not already present
Install-Module Microsoft.Graph.Applications -Scope CurrentUser -Force

# Connect with the permissions needed to register the app and assign the app roles
Connect-MgGraph -Scopes "Application.ReadWrite.All", "AppRoleAssignment.ReadWrite.All"

This opens a browser sign-in prompt. Use an account with the Global Administrator or Privileged Role Administrator role — the same role required to grant admin consent in Option A.

Create the app registration and service principal

$app = New-MgApplication -DisplayName "Omnissa Access Provisioning" -SignInAudience "AzureADMyOrg"
$sp  = New-MgServicePrincipal -AppId $app.AppId

Note: Unlike registering through the admin center, New-MgApplication does not automatically create the backing service principal. The New-MgServicePrincipal call is required before the app can be used for sign-in or app role assignments.

Create a client secret

$passwordCredential = @{
    displayName = "Omnissa Access Provisioning Secret"
    endDateTime = (Get-Date).AddMonths(12)
}

$secret = Add-MgApplicationPassword -ApplicationId $app.Id -PasswordCredential $passwordCredential

Important: $secret.SecretText holds the client secret value and is returned only once, at creation. Copy it before ending the session — it cannot be retrieved later.

Grant the Microsoft Graph application permissions

$graphSp = Get-MgServicePrincipal -Filter "AppId eq '00000003-0000-0000-c000-000000000000'"

$permissions = "User.ReadWrite.All", "Group.ReadWrite.All", "Organization.Read.All"

foreach ($permission in $permissions) {
    $appRole = $graphSp.AppRoles | Where-Object {
        $_.Value -eq $permission -and $_.AllowedMemberTypes -contains "Application"
    }

    New-MgServicePrincipalAppRoleAssignment `
        -ServicePrincipalId $sp.Id `
        -PrincipalId $sp.Id `
        -ResourceId $graphSp.Id `
        -AppRoleId $appRole.Id
}

Creating the app role assignment directly is the PowerShell equivalent of clicking Grant admin consent in Option A — no separate consent step is needed. Omit Organization.Read.All from the $permissions list if Provision with License will not be enabled on the Provisioning page.

Display the Client ID and client secret

Write-Output "Client ID:     $($app.AppId)"
Write-Output "Client Secret: $($secret.SecretText)"

Use the Client ID and Client Secret values from the output as the corresponding fields on the Provisioning page of the Office 365 with Provisioning application.

Results

The app registration is ready to use. Enter the Application (client) ID and client secret collected in this procedure as the Client ID and Client Secret values on the Provisioning page. See Configuring the Provisioning Adapter for Office 365 in Omnissa Access.

Note: Client secrets expire on the schedule selected in step 8. Set a reminder to rotate the client secret before it expires, and update the Client Secret value on the Provisioning page after rotation. Provisioning stops working if the client secret expires without being rotated.

Was this page helpful?

Provide feedback for this topic

Was this topic helpful?

Please do not include any personal or confidential information.

Generating link…