| 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.
| 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.
| 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.
| Area | Suggested review |
| Branding | Logos, colors and support contact details |
| Ticket experience | Forms, categories, routing and PSA mappings |
| Client content | News, apps, links and portal resources |
| User experience | Authentication, notifications and available features |
| Unlink the client’s Azure AD connection |
As an Invarosoft Master Admin, open the client you’re ready to migrate and remove its existing Azure AD connection.
- Find the client in the list.
- Click the blue Azure AD button.
- Open the Sync tab.
- Click the red Unlink Azure AD button in the bottom-right corner.
- Confirm the connection has been removed before you continue.
| Download the new Azure PowerShell script |
Open the matching client in the new instance and download its customized PowerShell script.
- If you’re asked for a connection method, select Direct Tenancy.
- Click the blue Download PowerShell Script button in the top-right corner.
- Save the script in a simple folder that’s easy to call, such as
C:\temp.
| Run the script with PowerShell 7 |
- Open PowerShell 7 as administrator.
- Run the downloaded script, replacing the example file name with the real one:
pwsh.exe -File "C:\temp\<downloaded-script>.ps1"
- If you’re asked to change the execution policy, review and accept the change the script needs to run.
- 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.
- Let the script finish and confirm it reports no errors.
- If the script returns connection values, copy them into the client’s Azure AD page in the target instance and click Save.
- 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:
- 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.
| 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.
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.
deactivate and activate commands.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. |
| Done. The client is now running on the new PSA through the target instance. Repeat the process for the next client or batch. |
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.
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
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article