PSA Migration Guide

Modified on Mon, Nov 2 at 4:25 PM

P
Invarosoft · PSA Migration

PSA Migration Guide

This guide shows you how to migrate an Invarosoft instance from one PSA to another with a controlled, client-by-client cutover: you set up a new instance on the new PSA and move each client over once its Azure connection and agents are ready.

Source instance

Current Invarosoft instance

Connected to the outgoing PSA. Existing Azure AD connections are unlinked here.

Target instance

New Invarosoft trial instance

Connected to the new PSA. New Azure scripts and activation codes come from here.

Recommended: start with one pilot client. Complete the Azure connection, agent reactivation, user authentication and an end-to-end ticket test for the pilot before migrating more clients.

!
Before you start: make sure you have:
  • A new email address that has never been registered in Invarosoft.
  • Master Admin access to both the source and target instances.
  • The API credentials and access needed to connect the target instance to the new PSA.
  • PowerShell 7 installed on the workstation you’ll use for the Azure connection.
  • Authorized Microsoft 365 / Azure credentials for each customer tenancy.
  • An RMM or deployment tool that can run an elevated command on client devices.
  • A client mapping sheet with each target client and its new activation code.
Steps to follow
1
Create the new trial instance

Create the replacement Invarosoft trial using an email address that is not already listed anywhere in the Invarosoft system. This becomes the target instance that will connect to the new PSA.

Complete the new PSA integration and the initial client sync before migrating any Azure connections. Confirm that every client in your first batch exists as the correct client record in the target instance.

Tip: use separate browser profiles, or clearly labeled windows, for the source and target instances so you don’t edit the wrong environment.
2
Recreate content and configuration

Before starting the client cutover, recreate the content and settings you need in the target instance. The Invarosoft team will be happy to help.

AreaSuggested review
BrandingLogos, colors and support contact details
Ticket experienceForms, categories, routing and PSA mappings
Client contentNews, apps, links and portal resources
User experienceAuthentication, notifications and available features
Want us to help recreate the content? Log a support ticket and include the source instance name, the target instance login email and your planned migration date.
3
Unlink the client’s Azure AD connection
Source instance · outgoing PSA

As an Invarosoft Master Admin, open the client you’re ready to migrate and remove its existing Azure AD connection.

Clients → Clients → Search for the client → Azure AD (blue button) → Sync
  1. Find the client in the list.
  2. Click the blue Azure AD button.
  3. Open the Sync tab.
  4. Click the red Unlink Azure AD button in the bottom-right corner.
  5. Confirm the connection has been removed before you continue.
Important: Only unlink the clients in the current migration batch. Don’t disconnect every tenancy at once.
4
Download the new Azure PowerShell script
Target instance · new PSA

Open the matching client in the new instance and download its customized PowerShell script.

Clients → Clients → Search for the client → Azure AD (blue button)
  1. If you’re asked for a connection method, select Direct Tenancy.
  2. Click the blue Download PowerShell Script button in the top-right corner.
  3. Save the script in a simple folder that’s easy to call, such as C:\temp.
Don’t reuse scripts: each script is customized for the selected target client. Download the right script for every tenancy.
5
Run the script with PowerShell 7
Target instance · new PSA
  1. Open PowerShell 7 as administrator.
  2. Run the downloaded script, replacing the example file name with the real one:
pwsh.exe -File "C:\temp\<downloaded-script>.ps1"
  1. If you’re asked to change the execution policy, review and accept the change the script needs to run.
  2. When prompted, sign in with an authorized account for the customer tenancy. The credentials set up the Azure application and are not stored by the script.
  3. Let the script finish and confirm it reports no errors.
  4. If the script returns connection values, copy them into the client’s Azure AD page in the target instance and click Save.
  5. Open the Sync tab and check that the tenancy tests successfully.

Review PSA contact creation before enabling it

Invarosoft can create and update PSA contacts from the Azure directory. Review the options under:

Clients → Clients → Azure AD → Sync
  • Decide whether Invarosoft should create missing PSA contacts.
  • Review the sync of first name, last name and email address.
  • Run the sync on demand and review User Intervention Records / Pending Decision for close or duplicate matches.
Repeat steps 3, 4 and 5 for every client in the migration batch. Don’t move on to agent reactivation until the target Azure connection for that client has been verified.
6
Deactivate and reactivate installed agents

Once a client’s target configuration and Azure connection are ready, use your RMM or deployment tool to run a deactivation job against that client’s installed Invarosoft agents/apps. After confirming the deactivation has finished, activate them against the new client record in the target instance.

Use the activation code from the target instance. You’ll find it under Clients → Clients in the new instance. Activation codes have 10 letters, are unique to each client record and don’t change once assigned. Don’t reuse the source client’s code.

1. Deactivate the existing agent

itsp.windows.service.exe deactivate

2. Reactivate with the new client code

itsp.windows.service.exe activate <NEW_ACTIVATION_CODE>

RMM / batch variable example

itsp.windows.service.exe activate %activation_code%

PowerShell variable example

$ActivationCode = "ABCDEFGHIJ"
itsp.windows.service.exe deactivate
itsp.windows.service.exe activate $ActivationCode

The Invarosoft agent folder is registered in the Windows PATH, so you can run these commands from any directory.

Don’t use MSI activation parameters to change an existing activation. MSI activation is only for new installations. For an agent that’s already installed, use the service executable’s deactivate and activate commands.
Final validation checklist

Run an end-to-end check in the target environment before adding the next client or batch.

The client’s Azure AD page reports a successful connection.
Azure users are linked, created or placed in the correct intervention queue.
Reactivated devices appear under the correct client in the target instance.
A test user can authenticate and open the Invarosoft app.
A test ticket reaches the new PSA with the correct client, contact and routing.
Forms, categories, notifications, apps and links behave as expected.
Result
✓
Done. The client is now running on the new PSA through the target instance. Repeat the process for the next client or batch.
Troubleshooting

The Azure script doesn’t complete

Make sure you’re using PowerShell 7 as administrator, that the script was downloaded for the correct target client, and that the account has permission to set up the Azure application. Capture the full error before retrying.

Activation returns [ACT-2]

The activation code is invalid. Copy the 10-character code again from the matching target client and confirm the RMM variable resolves correctly.

Activation returns [ACT-3] or [ACT-4]

[ACT-3] means the client user directory is unavailable. [ACT-4] means agent creation failed. Retry once; if it keeps happening, log a ticket with the client name, activation code, agent name and the full error.

Users are missing or duplicated after the Azure sync

Review the client’s Azure AD Sync settings and the User Intervention Records / Pending Decision list. Confirm the PSA contact-creation options before running another sync.

Do I need to uninstall the agent?

No. A standard PSA migration only needs deactivation and reactivation. If Invarosoft Support specifically asks you to uninstall, itsp.windows.service.exe remove removes the application but keeps its configuration; itsp.windows.service.exe removeclean also wipes the stored configuration.

Need help with the migration?

Invarosoft can help with content recreation, migration planning and troubleshooting. Include the source instance, target login email, affected clients and planned cutover date.

Log a support ticketBook a meeting with Manuel

Related guides: Azure AD Integration Guide  ·  Invarosoft Deployment Guide

Invarosoft · PSA Migration documentation

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article