# Migration from Exchange to Bluemind failes

**URL:** <https://forum.bluemind.net/t/migration-from-exchange-to-bluemind-failes/5061>\
**Category:** BlueMind - EN\
**Created:** [August 25, 2026, 3:22pm UTC](https://forum.bluemind.net/t/migration-from-exchange-to-bluemind-failes/5061 "2026-08-25T15:22:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![urios-jander](https://forum.bluemind.net/letter_avatar_proxy/v4/letter/u/da6949/32.png) [@urios-jander](https://forum.bluemind.net/u/urios-jander)\
**Post date:** [August 25, 2026, 3:22pm UTC](https://forum.bluemind.net/t/migration-from-exchange-to-bluemind-failes/5061/1 "2026-08-25T15:22:59Z")

</div>

Hi everybody,

I am completely new to Bluemind and am currently trying to migrate some data from Exchange (2019) to Bluemind as a test. Unfortunately, the process fails right at the stage of accessing the Bluemind server.

When I run the command `./bm-migrator --bluemind-insecure exchange --exchange-insecure sync --dry calendars` from the Bluemind server’s CLI, I get the following error:  
`requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://test-bm.example.intra:443/api/domains`  
or  
`session id 'admin' is not valid 401 on https://test-bm.example.intra:443/api/domains`

I’m a bit stuck on a couple of points: who exactly is the “admin” user here (according to the instructions, I had to define a user as admin and assign them to the `BLUEMIND_USER="admin@example.intra"` setting, right?)? And which token is the correct one—the API token for that user or the API token from `/etc/bm/bm-core.tok`?

Does anyone have a clue or an idea?

Kind regards

---

<div class="post-metadata">

**Author:** ![pierrec](https://forum.bluemind.net/user_avatar/forum.bluemind.net/pierrec/32/6_2.png) [@pierrec](https://forum.bluemind.net/u/pierrec)\
**Post date:** [September 16, 2026, 7:48am UTC](https://forum.bluemind.net/t/migration-from-exchange-to-bluemind-failes/5061/2 "2026-09-16T07:48:30Z")

</div>

If you are a BlueMind customer, we recommend that you create a ticket on our JIRA platform. You’ll receive quick and accurate answers to your questions.  
Have you reviewed the bm-migrator documentation? The tool is powerful but quite complex, and you’ll find a lot of information there.  
Best regards,  
Pierre
