Short answer:
Use the provided PowerShell script to safely add new domains to your Xink server-side configuration without remapping existing domains. Prepare the domains.txt file, then run the script with your admin credentials.
Overview
This guide explains how to run a script that adds new domains to your Microsoft 365 tenant for Xink server-side use—without affecting existing domain mappings.
It also helps resolve issues reported by the Validate tool during domain configuration.
To begin, download the file import-domains.zip, extract it, and follow the steps below.
Prepare the domains file
Open the domains.txt file and list the domains you want to include in the server-side domain mapping.
Example:

Requirements
- No blank or empty lines in the file
- Only one initial domain (ending in .onmicrosoft.com)
- Domains must not already exist in another Xink account
Run the script
- Open PowerShell in Administrator mode.
- Navigate to the folder where the extracted files are located.
- Store your Xink admin credentials in a variable:

- Run the script using the credentials and domains file:
.\rr-dimport.ps1 $c domains.txt
The script will process the domains and display the status for each entry.
Example output:

Verify the result
After the script completes:
- Open the Xink portal
- Go to your server-side integration
- Confirm that the new domains are listed
If the domains appear correctly, the configuration is complete.
