# Migrating Account Information from Managed to SaaS Using Monaco

**URL:** <https://community.dynatrace.com/t/migrating-account-information-from-managed-to-saas-using-monaco/46034>\
**Category:** Upgrade To Saas\
**Tags:** dynatrace-managed, monaco, upgrade-to-saas\
**Created:** [June 11, 2024, 4:45am UTC](https://community.dynatrace.com/t/migrating-account-information-from-managed-to-saas-using-monaco/46034 "2024-06-11T04:45:27Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shirai](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/shirai/32/27711_2.png) [@Shirai](https://community.dynatrace.com/u/Shirai)\
**Post date:** [June 11, 2024, 4:45am UTC](https://community.dynatrace.com/t/migrating-account-information-from-managed-to-saas-using-monaco/46034/1 "2024-06-11T04:45:27Z")

</div>

We are planning to migrate from Managed to SaaS. Many user accounts and user groups are stored in the Managed cluster. We plan to migrate this information to the SaaS environment using Monaco. Our first step is to download all registered user accounts from the Managed cluster.  
I executed the following command.

```markup
monaco account download --manifest manifest.yaml

```

But an error occurred and the download failed.

```markup
2024-06-11T13:11:18+09:00 info Monaco version 2.14.0
2024-06-11T13:11:18+09:00 info Loading manifest "manifest.yaml". Restrictions: groups=[], environments=[]
2024-06-11T13:11:18+09:00 error Error: failed to download any resources from accounts [] - not creating download folder
2024-06-11T13:11:18+09:00 error error logs written to .logs\20240611-131118-errors.log

```

I think there is a problem with the Manifest.yaml I created, but I cannot solve it and am having trouble.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [June 11, 2024, 6:50am UTC](https://community.dynatrace.com/t/migrating-account-information-from-managed-to-saas-using-monaco/46034/2 "2024-06-11T06:50:15Z")

</div>

Hi,

Maybe&nbsp;[SaaS Upgrade Assistant](https://docs.dynatrace.com/managed/shortlink/sua-landing)&nbsp;would be easier.

[How to effectively upgrade from Dynatrace Managed to SaaS](https://www.youtube.com/watch?v=WGU1XJY7rXA)

Best regards

---

<div class="post-metadata">

**Author:** ![Shirai](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/shirai/32/27711_2.png) [@Shirai](https://community.dynatrace.com/u/Shirai)\
**Post date:** [June 11, 2024, 7:05am UTC](https://community.dynatrace.com/t/migrating-account-information-from-managed-to-saas-using-monaco/46034/3 "2024-06-11T07:05:39Z")

</div>

[@AntonPineiro](https://community.dynatrace.com/user/58682)&nbsp;&nbsp;Thank you for your comment. Your comment is certainly correct. However, the target Managed Cluster has not been updated to the latest version, so SaaS Upgrade Assistant cannot be used. For these reasons, I decided to use Monaco.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [June 11, 2024, 7:47am UTC](https://community.dynatrace.com/t/migrating-account-information-from-managed-to-saas-using-monaco/46034/4 "2024-06-11T07:47:07Z")

</div>

[@Shirai](https://community.dynatrace.com/user/32074)&nbsp;monaco does not support the Dynatrace Managed Cluster Management APIs where the user groups and accounts are stored. So it’s not possible to download it. Management of users and groups is different between Managed and SaaS.

You will need to download it manually using Cluster Management APIs and then you can generate the configuration for Monaco to define and update the accounts and groups in SaaS.

---

<div class="post-metadata">

**Author:** ![Shirai](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/shirai/32/27711_2.png) [@Shirai](https://community.dynatrace.com/u/Shirai)\
**Post date:** [June 12, 2024, 12:29am UTC](https://community.dynatrace.com/t/migrating-account-information-from-managed-to-saas-using-monaco/46034/5 "2024-06-12T00:29:39Z")

</div>

[@Julius\_Loman](https://community.dynatrace.com/user/3364)

Thank you for your comment.  
I understand that it is not possible to download account information from a managed cluster using Monaco.  
I would like to download it using the User management API.  
[https://docs.dynatrace.com/managed/shortlink/account-api-users](https://docs.dynatrace.com/managed/shortlink/account-api-users)

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [June 12, 2024, 6:20am UTC](https://community.dynatrace.com/t/migrating-account-information-from-managed-to-saas-using-monaco/46034/6 "2024-06-12T06:20:54Z")

</div>

Yes, that’s the correct API, just this one is not supported by Monaco.

---

<div class="post-metadata">

**Author:** ![erh\_inetum](https://avatars.discourse-cdn.com/v4/letter/e/48db29/32.png) [@erh\_inetum](https://community.dynatrace.com/u/erh_inetum)\
**Post date:** [June 12, 2024, 6:21am UTC](https://community.dynatrace.com/t/migrating-account-information-from-managed-to-saas-using-monaco/46034/7 "2024-06-12T06:21:11Z")

</div>

Hi Shirai,

Be careful because this doc&nbsp;[https://docs.dynatrace.com/managed/shortlink/account-api-users](https://docs.dynatrace.com/managed/shortlink/account-api-users)&nbsp;is from new APIs in SaaS.

For export the users and groups from managed you have to use this [doc](https://docs.dynatrace.com/managed/managed-cluster/cluster-api/cluster-api-v1) ([users](https://docs.dynatrace.com/managed/shortlink/cluster-api-v1#users) and [groups](https://docs.dynatrace.com/managed/shortlink/cluster-api-v1#user-groups))

And as Julius says management of users and groups is different between Managed and SaaS.

So be careful because the groups that were in Managed do not match with SaaS groups and also, for the new APIs in Grail the way to authenticate changes; now you have to use the bearer token.

For import the users you have to use this three endpoints to [create groups](https://docs.dynatrace.com/docs/dynatrace-api/account-management-api/group-management-api/post-group), [create users](https://docs.dynatrace.com/docs/dynatrace-api/account-management-api/user-management-api/post-user) and [assing groups to users](https://docs.dynatrace.com/docs/dynatrace-api/account-management-api/user-management-api/post-user-groups).

Hope it helps.

Regards,

Elena.

---

<div class="post-metadata">

**Author:** ![Shirai](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/shirai/32/27711_2.png) [@Shirai](https://community.dynatrace.com/u/Shirai)\
**Post date:** [June 12, 2024, 8:54am UTC](https://community.dynatrace.com/t/migrating-account-information-from-managed-to-saas-using-monaco/46034/8 "2024-06-12T08:54:42Z")

</div>

[@erh\_inetum](https://community.dynatrace.com/user/40722)&nbsp;Thank you for your comment.  
As you pointed out, the [API](https://docs.dynatrace.com/managed/shortlink/account-api-users?_ga=2.159612089.563325271.1717976977-801631855.1688721469&_gac=1.93387503.1717636472.CjwKCAjwmYCzBhA6EiwAxFwfgFi-qHH489_eOa48v-_l6skOabXYjGf0bN9KgmhjFndxdUorIbUY3BoCugAQAvD_BwE) I provided does not allow me to extract information about Managed clusters. I will try using the [API](https://docs.dynatrace.com/managed/managed-cluster/cluster-api/cluster-api-v1?_ga=2.94074905.563325271.1717976977-801631855.1688721469&_gac=1.117106164.1717636472.CjwKCAjwmYCzBhA6EiwAxFwfgFi-qHH489_eOa48v-_l6skOabXYjGf0bN9KgmhjFndxdUorIbUY3BoCugAQAvD_BwE) you provided.

By the way, I am wondering why the [documentation for this API](https://docs.dynatrace.com/managed/dynatrace-api/account-management-api/user-management-api) is included in the Managed documentation.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [June 12, 2024, 9:17am UTC](https://community.dynatrace.com/t/migrating-account-information-from-managed-to-saas-using-monaco/46034/9 "2024-06-12T09:17:06Z")

</div>

[@Shirai](https://community.dynatrace.com/user/32074)&nbsp;the docs are confusing, still there are parts of the SaaS-only docs which exist in Managed. Feel free to submit improvement (on the bottom of the docs page there is feedback button for this).

---

<div class="post-metadata">

**Author:** ![erh\_inetum](https://avatars.discourse-cdn.com/v4/letter/e/48db29/32.png) [@erh\_inetum](https://community.dynatrace.com/u/erh_inetum)\
**Post date:** [June 12, 2024, 9:28am UTC](https://community.dynatrace.com/t/migrating-account-information-from-managed-to-saas-using-monaco/46034/10 "2024-06-12T09:28:35Z")

</div>

Hi Shirai,

Sorry because one of my links are wrong.

Around 3 months ago I extracted users and groups successfully from a Managed using this APIs

Users: [Get users — Dynatrace Managed Docs](https://docs.dynatrace.com/managed/managed-cluster/cluster-api/cluster-api-v1/users-v1/get-users)

Groups: [Get user groups — Dynatrace Managed Docs](https://docs.dynatrace.com/managed/managed-cluster/cluster-api/cluster-api-v1/user-groups-v1/get-user-groups)

MZ for users: [Get management zones for user groups — Dynatrace Managed Docs](https://docs.dynatrace.com/managed/managed-cluster/cluster-api/cluster-api-v1/user-groups-v1/get-groups-mz)

And on SaaS I used these:

For creating groups: [Group management API - POST a new group — Dynatrace Docs](https://docs.dynatrace.com/docs/dynatrace-api/account-management-api/group-management-api/post-group)

For creating users: [User management API - POST a new user — Dynatrace Docs](https://docs.dynatrace.com/docs/dynatrace-api/account-management-api/user-management-api/post-user)

For assign groups to users: [User management API - POST user groups — Dynatrace Docs](https://docs.dynatrace.com/docs/dynatrace-api/account-management-api/user-management-api/post-user-groups)

Hope this helps you now and sorry for the inconveniences.

Regards,

Elena.

---

<div class="post-metadata">

**Author:** ![Shirai](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/shirai/32/27711_2.png) [@Shirai](https://community.dynatrace.com/u/Shirai)\
**Post date:** [June 13, 2024, 12:08am UTC](https://community.dynatrace.com/t/migrating-account-information-from-managed-to-saas-using-monaco/46034/11 "2024-06-13T00:08:12Z")

</div>

Hi&nbsp;Elena-san.&nbsp;[@erh\_inetum](https://community.dynatrace.com/user/40722)

The information you provided is very useful for us. Thank you very much.
