1. What Python version is required on your system to run the script?
Ensure the Python version is 3.9 or higher for optimal support. To verify the version, use one of the following commands:
- py --version
- py3 --version
- python --version
- python3 --version
If you have not installed the version, download it from here.
2. How many API permissions do you need to enable in the Azure app?
18 permissions mentioned in this document need to be enabled.
3. What commands should I use to run the Python script?
Execute the script using one of the following commands. Navigate to the folder where the .py file is saved and replace filename with your file name.
- py filename.py
- py3 filename.py
- python filename.py
- python3 filename.py
4. What should I do if I get a "ModuleNotFound" error? 
If you encounter a "Module Not Found" error, run one of the following commands to install the missing module:
- py -m pip install modulename
- py3 -m pip install modulename
- python -m pip install modulename
- python3 -m pip install modulename
5. What should I do if I get a value error?
Verify that you have enabled all 18 required permissions and granted access. Refer to the following document for details on creating an Azure account and enabling permissions. Once you finish, delete all the folders you created and rerun the script. 6. What should I do if my script stops running and I get an "Unable to fetch" error?
If you encounter the "Unable to fetch" error while running the script, rerunning the script should resolve the issue.
Additionally, retrieve the demo.log file for debugging. If any of the following error codes (500, 503, 400, 403) are present in the demo.log file, rerunning the script will resolve the issue.
7. What should I do if I get an "Unable to connect to Cliq" error?
If you encounter the "Unable to connect to Cliq" error, copy the script from the admin panel, update the values as needed, and rerun it.
8. Where can we create the client secret value, client ID, and tenant ID?
You can create them by logging into the Teams Admin Console (Azure Portal).
9. What permissions need to be enabled for the export to proceed?
You must enable a total of 18 permissions, including both delegated and application permissions.
10. How do we export data from Teams?
Run the Python script provided in the Cliq Admin Panel using the command prompt or terminal. Replace the required client ID, tenant ID, and token in the script with the corresponding data.
11. Do we need to install Python?
Yes, on Windows, you must install the latest version of Python. On Linux and macOS, Python is available by default.
12. How secure is the export and import process?
Only the admin has access to perform these operations, ensuring a secure process.
13. Will I receive any notification or email after the migration?
Yes. Once the migration is complete, you will receive an email with the details of the migration.
14. What is the maximum amount of data we can migrate from Teams to Cliq?
You can migrate up to 30 GB directly. For data exceeding 30 GB, backend support is required.
15. Will private conversations be exported?
Yes. All conversations—both private and public—will be migrated, depending on your MS Teams plan.
16. Do we need to be on a paid edition of Cliq for migration?
No. You can migrate to Cliq on both free and paid editions.
17. If my Microsoft Teams data is stored in India and my Cliq data center is in the US, will it cause any migration issues?
No. You can export the data as raw files, which are not restricted by the data center or network location.
18. How can we check storage usage in Microsoft Teams?
You can check storage usage through SharePoint.
19. Are there plans to support migration without requiring Python code to be run?
No. Microsoft Teams does not offer a direct migration option, so you must perform the migration via the Microsoft Teams API using Python.
20. In Microsoft Teams, how can I verify that the export is complete?
After the script finishes running in the command prompt or terminal, it displays a "Process is completed" message and generates a ZIP file.