> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/pt/gestao-de-aplicacoes/packages/package-store/package-migration.md).

# Migração de pacotes

Os pacotes podem ser migrados para "Managed" se tiverem sido implementados anteriormente como "Basic".

{% hint style="warning" %}
A migração de pacotes só está disponível para **RealmJoin** pacotes
{% endhint %}

## Identificando pacotes

Atualmente, apenas pacotes RealmJoin podem ser migrados da implantação Basic para Managed. Isso pode ser identificado na tabela Packages:<br>

<figure><img src="https://686519968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FlwCxNzo8vWbyzYTGSVPL%2Fimage.png?alt=media&amp;token=634e3140-c165-418a-b787-3c4289e9101d" alt=""><figcaption></figcaption></figure>

## Migração

1. Selecione um pacote Basic RealmJoin
2. Em Atribuições de grupo, selecione Mais -> Converter em aplicação gerida (Este processo acontece imediatamente).
   * Os grupos antigos são aninhados nos novos Grupos geridos RealmJoin. As definições feitas nos grupos Basic serão adotadas pelos grupos Managed.<br>

     <figure><img src="https://686519968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FObw0jcTQ0A7FtnKDHtAk%2Fimage.png?alt=media&amp;token=f3dc43b2-7b19-49d5-95e2-13ba2d462bae" alt=""><figcaption><p>Antes da migração</p></figcaption></figure>

     <figure><img src="https://686519968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FSQIb1asGXoiG1bcMSJZV%2Fimage.png?alt=media&amp;token=6d872b0f-a838-48bc-9a6f-30a3b54f0564" alt=""><figcaption><p>Depois da migração</p></figcaption></figure>
   * Os utilizadores são adicionados ao grupo mais relevante

     <figure><img src="https://686519968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FjrlZD00dlMlARzfZelV5%2Fimage.png?alt=media&amp;token=155d3309-95c0-4ccd-8945-3a99f7dae226" alt=""><figcaption><p>Antes da migração</p></figcaption></figure>

     <figure><img src="https://686519968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FDX3jFnHgwXvMCKQleXN0%2Fimage.png?alt=media&amp;token=54daa930-a2fd-4005-a26a-e7d1de9d7862" alt=""><figcaption><p>Depois da migração</p></figcaption></figure>
3. (Opcional) Puxe membros de grupos aninhados diretamente para os grupos geridos RealmJoin. Esta definição migra os utilizadores diretamente para o grupo gerido RealmJoin e, opcionalmente, remove o grupo aninhado do grupo Managed.
   1. Selecione o grupo relevante -> Mais -> "Puxar membros para cima".
   2. Selecione a ![](https://686519968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FjgdAOi6MqRIwr9ej7kIE%2Fimage.png?alt=media\&token=a5796714-3845-4abf-b817-fda639e421c0) no grupo aninhado pretendido
   3. Escolha "Remover atribuição" para remover o grupo aninhado ou "Manter atribuição" para manter o grupo aninhado no grupo gerido RealmJoin
   4. Clique em Executar para iniciar a operação<br>

      <figure><img src="https://686519968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FHCS9QnvLCQiN4Yc2uMxM%2Fimage.png?alt=media&amp;token=8da99fb2-2903-4487-84a0-b6163f15ccaa" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.realmjoin.com/pt/gestao-de-aplicacoes/packages/package-store/package-migration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
