> 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/troubleshooting-and-faq/offboarding.md).

# Offboarding

If you decide to stop using RealmJoin, follow the steps below to remove it cleanly from your tenant. The exact steps depend on how RealmJoin is deployed in your environment.

{% hint style="warning" %}
**Remove managed applications first.** Managed the groups are only deleted automatically when a subscribed package is removed regularly from the portal manually. During tenant deletion we do **not** touch any groups or packages pushed to Intune, so any managed application you no longer need must be deleted in the portal **before** you start offboarding.
{% endhint %}

## Intune only

If you use RealmJoin for Intune management only:

{% stepper %}
{% step %}

### Remove RealmJoin from Enterprise Applications

Delete the RealmJoin application from **Enterprise applications** in your Microsoft Entra tenant.
{% endstep %}

{% step %}

### Let us know

[Contact us](/legal/support.md) so we can remove the tenant connection on our side.
{% endstep %}
{% endstepper %}

## RealmJoin Agent deployed

If the RealmJoin Agent is deployed to your devices, complete all of the steps above and, in addition:

{% stepper %}
{% step %}

### Request the clean-up script

[Contact us](/legal/support.md) for a PowerShell script that removes any remaining traces of RealmJoin from your devices.
{% endstep %}
{% endstepper %}

## What tenant deletion means

Once we remove the tenant connection on our side:

* We delete all data we stored for your tenant.
* The RealmJoin Portal can no longer be accessed.
* Devices will no longer receive new configurations for the RealmJoin Agent.

{% hint style="info" %}
Managed groups are **not** removed during tenant deletion. Make sure to delete any groups/applications in Intune you no longer need in the RealmJoin portal before offboarding.
{% endhint %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.realmjoin.com/troubleshooting-and-faq/offboarding.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
