NinjaOne - IT Glue to NinjaOne Documentation Migration
This scripts provides the ability to migrate from IT Glue to NinjaOne Documentation via an automatic migration.
This is an unofficial script and not supported by NinjaOne. For problems please log an issue on Github or visit the NinjaOne Community Discord http://discord.gg/ninjaone
This script is based off my original IT Glue to Hudu migration script which had many improvements from Mendy Green (https://www.risingtidegroup.net/) which have been incorporated into this script where appropriate.
Requirements
You must have NinjaOne Documentation enabled and NinjaOne IT Asset Management enabled if you wish to migrate configurations which do not already existing in NinjaOne as devices. ( NinjaOne account managers can enable Asset Management)
An IT Glue subscription with API access
A full downloaded export of your IT Glue account including passwords.
PowerShell 7
Getting Started
Make sure you have setup Organizations, Locations and devices in NinjaOne for any of the configurations you wish to have linked to NinjaOne devices. Configurations that are not found will be created as Unmanaged Devices. Organizations and Locations that don't exist will also be created.
Obtain an API Key from NinjaOne, create a Web Application with Monitoring, Management scopes, set a Redirect URI of
http://localhost:9193/
and enable allowed grant types of 'Authorization code' and 'Refresh token'Browse to Administration -> Apps -> API
Click Add client app
Select 'Wev (PHP, Java, .Net Core, etc. )
Enter a name such as IT Glue Migration
Enter a Redirect URI of
http://localhost:9193/
make sure to include the trailing/
Tick 'Monitoring' and ' Management' in the Scopes section.
Tick 'Authorization code' and 'Refresh Token' under Allowed grant types.
Add the application and make note of the client_id and client_secret.
Obtain an API key from IT Glue with password access.
Browse to Admin -> API Keys
Click the + button
Enter a name
Tick password access
Click generate API Key
Make a note of the API Key.
Export IT Glue Data
Go to Admin -> Export Data
Choose 'Entire account'
Do not include activity logs
Download the export and extract the contents onto a secure machine.
Download or clone the repository to your migration machine. https://github.com/lwhitelock/ITGlue-NinjaOne-Migration
Run
./ITGlue-NinjaOne-Migration.ps1
Follow the instructions to set your settings.
Follow the instructions to select what will import.
Post migration actions / notes
There will be a manual actions log of items that were not able to be migrated and will require you to work through.
Logs and settings for the migration process are stored in %AppData%\NinjaOneMigration
If you wish to rerun a section of the migration delete the associated .json file from the MigrationsLogs file.
Once the migration is complete these files should be securely deleted as they will contain all your passwords and data.
If something goes wrong with the migration these files provide all the details of what was migrated to and where, so can be reviewed.
Organizations
Organizations
Yes - Matched on name. No Data updated
Locations
Locations
Yes - Matched on name. No Data updated
Domains
Domains - Apps and Services Document
Yes - Matched on name. No Data updated
Configurations
Devices
Yes - Matched on name. No Data updated
Contacts
Contacts
Yes - Matched on name. No Data updated
Asset Types
Apps and Services Template
Yes - Layouts will have new fields added, none removed
Assets
Apps and Services Documents
Yes - Apps and Services Documents will be matched on name and updated
Articles
Knowledge Base Articles
No - Re-running will cause duplicate KB Articles
Passwords
Passwords - Apps and Services Document
No - Will fail to create conflicting names.
Please see below for detailed information on what will be migrated and limitations.
Organizations
IT Glue Organizations will be migrated to NinjaOne organizations. The following fields will be migrated:
Name
Description
The first 1000 characters of the description in IT Glue will be migrated only
Primary location if set in IT Glue
See Locations section for more details on what is migrated.
Future Enhancements (no ETA)
Allow the mapping of additional data such as quick notes and alerts to NinjaOne Organization custom fields
Locations
IT Glue Locations will be migrated to NinjaOne Locations. The following fields will be migrated:
Name
Address
Address fields in IT Glue will be merged into the address field in NinjaOne, For example address1 address2, state, etc.
Descriptions
The first 250 characters of the description will be migrated into NinjaOne
Future Enhancements (No ETA)
Allow the mapping of additional data such as notes to NinjaOne Location custom fields
Domains
The following fields will be migrated:
Name
Notes
Future enhancements (No ETA)
Run a one time Domain report utilising the CIPP domain checks.
Provide a script that will utilise these documents to perform ongoing monitoring.
Move to cloud monitors once an API is available.
Configurations
IT Glue Configurations will be matched to existing NinjaOne devices. It is recommended to have pre-created devices in NinjaOne via monitoring them with an agent or NMS.
Configurations will be matched by Name to System Name or Display Name, inside a matched organization.
The migration tool can create devices from configurations as Unmanaged Devices, if NinjaOne IT Asset Management is enabled and Unmanaged device roles are created.
The following fields will be migrated when unmanaged devices are created:
Name
Serial Number
Purchased At -> Warranty Start
Warranty expires at -> Warranty End
Future enhancements (no ETA)
Map additional fields to custom field values
Update details on existing devices in NinjaOne if not present
Map values to core Asset Fields in NinjaOne once released (10.0)
Contacts
IT Glue Contacts will be matched via email address against Technicians and End-Users. It will not match against Contacts.
Items being migrated will be created as End-Users with no role. Invitations will not be sent to end users when added.
The following fields will be migrated when contacts are created:
First name
Last name
First email address
First phone number
Asset Types
Flexible asset types will be migrated to NinjaOne Apps and Services Document Templates.
The following field types will be migrated:
Checkbox
Checkbox
Date
Date
Number - No decimal places
Integer
Number - With decimal places
Decimal
Select
Dropdown
Text
Text
Textbox
WYSIWYG
Upload
Attachment1
Tag - Users
Not supported
Tag - Checklists
Not supported
Tag - Checklist Templates
Not supported
Tag - Contacts
Not supported
Tag - Configurations
Device multi-select
Tag - Documents
Not supported
Tag - Domains
Support coming with NinjaOne release 11.02
Tag - Passwords
Support coming with NinjaOne release 11.02
Tag - Locations
Location multi-select
Tag - Organizations
Organization multi-select
Tag - SSL Certificates
Not Supported
Tag - Tickets
Not Supported
Tag - Flexible Assets
Support coming with NinjaOne release 11.02
Percent
Integer
Password
Secure
Future Enhancements (No ETA)
Optional link to unsupported items via WYSWYG fields by using an html link.
Optional add unsupported items to related items.
Upload additional files to related items.
Automatically zip unsupported types.
Add support for additional types with the new field NinjaOne is releasing.
Knowledge Base Articles
Knowledge base articles will be imported to to NinjaOne. If an internal company has been set the articles there will be migrated to the Global Knowledge Base in NinjaOne, all others will be migrated to their organization.
Images must have a format of jpg, jpeg, png or gif to be embedded in articles.
There may be formatting issues based on differences in NinjaOne and IT Glue's HTML engines.
Future Enhancements (No ETA)
Upload attached files
Create relations automatically
Rewrite default styles to improve layout in NinjaOne
Passwords
Passwords embedded into assets will be migrated to secure fields on Apps and Services Documents itself.
All other passwords will be migrated to a new Apps and Services template called 'Passwords'
The following fields will be imported:
Name
Notes -> NinjaOne Description Field
Category -> List of categories will be populated by the ones currently in use in IT Glue
Username
Password
OTP Secret -> The OTP secret will be imported to a NinjaOne Secure Field
URL
Future Enhancements (No ETA)
Add TOTP secret to a secure related item to generate TOTP codes.
Add relations.
Convert OTP Secret fields to TOTP codes when the TOTP field type is released in 11.0
Last updated