Klevr Product Documentation logo

Upgrade to v6.0.0

Points to be aware of when upgrading an existing Integration Hub installation from v5.0.0 to v6.0.0.

When upgrading an existing Integration Hub installation from v5.0.0 to v6.0.0, please be aware of the following points.

Support for "Mixed Mode" Deployments

With the release of Integration Hub v6.0.0, "mixed mode" deployments are now possible, allowing the SKU used for the API Management resource and the SKU used for Logic Apps to be selected independently of each other.

When upgrading, existing API Management and/or Logic App resources must be deleted if the deployment mode to be used is changed - Azure does not support migrating API Management or Logic App resources between the supported SKUs of the different deployment modes.

In addition, note that as documented on the deployment modes page, the Pub/Sub model requires a different format for the source parameter names, depending on the Logic App deployment mode. If deleting Logic Apps and re-deploying to use a different SKU, all source parameters in stage definitions will need to be updated.

Stage Secret Provisioning Mode

Integration Hub v6.1.0 replaces the secret provisioning mode with $env: and $kv: tokens. If you upgrade to v6.1.0, follow the v6.1.0 upgrade notes for these stages instead of this section.

Integration Hub v6.0.0 adds the secret provisioning mode, which controls how the secrets of API, PGP and SFTP stages get into the Domain's Key Vault. The default mode, PipelineManaged, changes how some existing stage files are read, so an existing installation can fail pre-flight validation after the upgrade.

Before you deploy v6.0.0, check every API, PGP and SFTP stage, and choose the mode for each one.

PGP and SFTP stages. Before v6.0.0, the $env: variables of the PGP publicKeySecretName, privateKeySecretName and passPhraseSecretName fields, and of the SFTP sshPrivateKeySecretName field, held the name of a Key Vault secret that you created by hand. In PipelineManaged mode, the variable must hold the key itself. If you do not change anything, pre-flight validation reports that the key is not valid Base64. Do one of these:

  • Keep the secrets that you created by hand. Set secretProvisioningMode to Manual in the domains file or in the stage file, and change each field from the $env: token to the literal Key Vault secret name.
  • Let the pipeline manage the secrets. Keep the $env: tokens, and change each Azure DevOps variable to hold the Base64 encoded key or passphrase. The deployment writes them to new Key Vault secrets. You can delete the old secrets after the deployment. This only works for small keys, for example Ed25519 or ECDSA keys, because an Azure DevOps variable can hold a maximum of 4,096 characters. RSA PGP and SSH keys are longer than this after Base64 encoding, so for RSA keys keep the secrets that you created by hand.

API stages. Under PipelineManaged mode, the secret fields of the API authentication options and of the Inbound API public authentication options must be $env: tokens. The deployment now stores their values in Key Vault, and API Management reads them through named values, instead of writing them into the API Management policy.

  • Change any literal value in these fields, for example an OAuth 2.0 authenticationUrl or an HMAC headerName, to an $env: token, or use Manual mode.
  • The in-api tenantId and applicationId values must be GUIDs.

In PipelineManaged mode, the Azure DevOps variables that the stages use must not be marked as secret. Azure Pipelines does not give secret variables to the deployment scripts, so pre-flight validation reports them as empty. If your organisation does not allow these values in plain Azure DevOps variables, use Manual mode.

Changes to Integration Hub Portal Managed Identities & RBAC Roles

When deploying the Integration Hub Portal service, please be aware that:

  • The resource names used for the Azure Container App resource Managed Identities have been updated for consistency. After upgrading to Integration Hub v6.0.0, any Managed Identities that have a resource name starting with id- are redundant, and can be safely deleted - but this is not a requirement, and leaving the resources in place will not impact the service.
  • The RBAC AcrPull roles assigned to the Azure Container App resource Managed Identities have been updated to now be applied at the Azure Container Registry resource level, rather than being applied at the resource group level. After upgrading to Integration Hub v6.0.0, any AcrPull roles assigned at the resource group level for Integration Hub can be safely deleted - but this is not a requirement, and leaving the roles in place will not impact the service.

New RBAC Roles Required for the Integration Hub Portal App Registration

When upgrading from Integration Hub v5.0.0, the Entra ID App Registration used by the Integration Hub Portal service now also requires the Reader and Azure Service Bus Data Receiver roles.

Assign the Reader and Azure Service Bus Data Receiver roles to the App Registration at the Integration Hub resource group level, in addition to the roles already assigned for v5.0.0. The deployment does not assign these roles. Without Reader, the Integration Hub Portal service cannot read the deployed resources in Azure. Without Azure Service Bus Data Receiver, the Integration Hub Portal service cannot check for queued messages from Azure Service Bus, which means it cannot display retry attempts.

For the full list of required roles, see Assign Azure RBAC Permissions.

New Microsoft Graph API Permission Required for the Integration Hub Portal App Registration

When upgrading from Integration Hub v5.0.0, the Entra ID App Registration used by the Integration Hub Portal service now also requires the Microsoft Graph User.Read.All application permission, with admin consent.

Add the User.Read.All application permission to the App Registration, and have an Entra ID administrator grant admin consent for it. The deployment does not add this permission. Without it, the Integration Hub Portal service cannot find users' details in Entra ID, which prevents it from protecting against invalid logins via UPN re-use.

For the steps, see Add the Microsoft Graph API Permissions.

New Admins File for Integration Hub Portal Administrators

Integration Hub v6.0.0 adds administrators to the Integration Hub Portal. Administrators can see every Domain, and can manage portal users on the new User Admin page.

After upgrading, nobody is an administrator until you add an admins file to the Business Unit directory and run the deployment. Add at least one administrator for each environment.

Existing users keep their access:

  • The portalUsers lists in domains.json still give users access to their Domains. The property is now optional, and you can manage users on the User Admin page instead.
  • A user removed from a portalUsers list now loses access to that Domain at the next deployment.
  • The first time each existing user signs in after the upgrade, the portal links their account to their Entra ID user. After that, only that Entra ID user can sign in to the account.

Changed API Management Delete Protection

In the test, staging and production environments, Integration Hub v5.0.0 protected the API Management resource with a CanNotDelete resource lock. A resource lock also blocks the deletion of every item inside API Management, so APIs and operations that are no longer used could not be removed.

Integration Hub v6.0.0 protects the API Management resource with an assignment of the built-in Azure Policy "Do not allow deletion of resource types" on the Integration Hub resource group, instead. The policy blocks the deletion of the API Management resource only. On the first deployment after the upgrade, the deployment:

  1. Assigns the policy, with the name {apiManagementName}-deny-delete.
  2. Removes the old {apiManagementName}-lock resource lock.

The Azure DevOps service connection used for the deployment must be able to create policy assignments and delete resource locks on the resource group. The Owner role on the resource group or the subscription, as described in the Installation Guide, includes these permissions. If the policy cannot be assigned, the deployment keeps the resource lock and fails, so that the API Management resource is never left without protection.

The policy does not block the deletion of the whole resource group, which the resource lock did.

Integration Hub Portal Time Zones

Integration Hub v6.0.0 changes the time zone list in the Integration Hub Portal from Windows time zones (for example AUS Eastern Standard Time) to location-based IANA time zones (for example Australia/Sydney). Each location-based time zone has its own daylight saving time rule, so the portal changes between standard time and daylight saving time automatically.

Users do not lose their time zone. A time zone that was selected before the upgrade shows as the matching location-based time zone. A Windows time zone can match a different location from the one that the user is in. For example, AUS Central Standard Time matches Australia/Darwin, which does not use daylight saving time, and not Australia/Adelaide, which does.

After upgrading, tell each portal user to check their time zone. To do this, click the user icon in the top bar and look at the Timezone list. If the time zone is not their location, select the correct location.

Last updated on