> 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/deployment/getting-started/extended-guide.md). Agents can also search and read this documentation through its [MCP server](https://docs.realmjoin.com/~gitbook/mcp).

# Extended Guide

This will guide you through all steps to deploy RealmJoin for an enterprise-grade environment with advanced requirements e.g. Runbooks, Logging etc.

This guide builds on [Getting Started](https://docs.realmjoin.com/deployment/getting-started.md). Make the three decisions described there first, then follow the steps in order and skip the ones your scope does not need.

## Prerequisites

* [ ] Microsoft Entra ID "Global Administrator" (consent to the RealmJoin applications)
* [ ] PowerShell 5.1 or later (Windows PowerShell or PowerShell 7) for the setup commands
* [ ] Azure subscription with at least Contributor rights, for the Azure resources below
* [ ] Owner rights (at least on resource group level), to grant the role assignments the setup commands create

## Azure Resource Overview

| Type                    | Description                                                                                                               |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| Application Insights    | Optionally stores LAPS-related audit and access events.                                                                   |
| Automation Account      | Hosts RealmJoin runbooks and related automation tasks.                                                                    |
| Key Vault               | Stores LAPS passwords securely in your Azure environment.                                                                 |
| Log Analytics Workspace | Stores RealmJoin audit logs, archived runbook logs, and optional reporting data.                                          |
| Storage Account         | Provides storage for optional Workplace Cloud Storage features such as favorites, files, and Outlook signature templates. |

{% stepper %}
{% step %}

#### Onboard the RealmJoin Portal

Onboarding onto the RealmJoin Portal establishes the initial connection to RealmJoin. Choose **Quick Setup** or **Advanced Setup** as described in [Getting Started](https://docs.realmjoin.com/deployment/getting-started.md#decision-1-quick-setup-or-advanced-setup). Both cover the full feature set of this guide; Advanced Setup gives you granular control over every permission through the RealmJoin PowerShell module.

{% content-ref url="/pages/TH5ltCfKQq46OCm4Q6G2" %}
[Onboarding](https://docs.realmjoin.com/deployment/onboarding-realmjoin-portal.md)
{% endcontent-ref %}

{% content-ref url="/pages/aM3XHiiAsUIHKzD2Lled" %}
[Advanced Setup](https://docs.realmjoin.com/deployment/onboarding-realmjoin-portal/advanced-setup.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

#### Activate the client app and security features

Two features are not part of the initial consent and have to be activated explicitly:

* **RealmJoin Client app** — required for the RealmJoin Agent: software deployments through the agent, the tray icon and client telemetry.
* **Security features** — [Microsoft Defender for Endpoint integration](https://docs.realmjoin.com/ugd-management/defender-integration.md). Requires an existing MDE subscription.

With **Quick Setup**, select **Activate** on the corresponding card on the [features page](https://portal.realmjoin.com/organization/features) of the RealmJoin Portal:

<figure><img src="https://2868468309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2Fgit-blob-bc29ef31e302007811d71c03c80d44b32ed4754d%2Forganization-features-client-app-activate.png?alt=media" alt="RealmJoin Client app card with Activate button"><figcaption><p>RealmJoin Client app card on the features page</p></figcaption></figure>

<figure><img src="https://2868468309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2Fgit-blob-d03fb9ce5f1e8691973801ed41aac96f31b9aec6%2Forganization-features-security-activate.png?alt=media" alt="Security features card with Activate button"><figcaption><p>Security features card on the features page</p></figcaption></figure>

With **Advanced Setup**, add the features with the RealmJoin PowerShell module:

```powershell
Update-RJTenant -AddFeatures @('Client', 'SecurityFeatures') 6>&1
```

If you need neither the agent nor the Defender integration, continue to the next step.
{% endstep %}

{% step %}

#### Establish Group Permissions

During onboarding, the Entra role *Global Administrator* becomes a RealmJoin administrator. Assign RealmJoin roles to Entra groups in **Settings → Permissions** so that your administrators and helpdesk staff can work without that role.

Use the pre-defined roles for standard access, or request custom roles for stricter control.

{% hint style="warning" %}
Assign permissions carefully. Some roles grant **elevated access** in RealmJoin Portal
{% endhint %}

{% content-ref url="/pages/O9C3aUU8SqYnRfq85BAs" %}
[Pre-defined Roles](https://docs.realmjoin.com/administration-and-settings/permission/pre-defined-roles.md)
{% endcontent-ref %}

{% content-ref url="/pages/IVfhCi6AQlLrInlb0rPI" %}
[Custom Roles](https://docs.realmjoin.com/administration-and-settings/permission/custom-roles.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

#### Connect Azure Log Analytics Workspace

Connect a Log Analytics Workspace to store the RealmJoin [Audit Log](https://docs.realmjoin.com/monitoring-and-logs/audit-log.md) and archived runbook logs. Connect it early, so that administrative actions are logged from the start.

{% content-ref url="/pages/6eNVb62uA6Ogi6yjhKRd" %}
[Connecting Azure Log Analytics Workspace](https://docs.realmjoin.com/monitoring-and-logs/log-analytics.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

#### Connect Azure Automation

Connect an Azure Automation Account to run RealmJoin runbooks. The runbooks execute in your Automation Account under its managed identity, which holds the Graph and Entra ID permissions they need. The RealmJoin PowerShell module creates the account; the RealmJoin Portal generates the command in **Settings → Runbooks**.

Remediation scripts do not need Azure Automation: they are Intune remediations and are covered by the portal permissions.

{% content-ref url="/pages/AR3xCOpDeW8R544P1CPT" %}
[Connecting Azure Automation](https://docs.realmjoin.com/automation/connecting-azure-automation.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

#### Set up the RealmJoin Agent

Install the RealmJoin Agent on Windows devices to use the agent-based features: application lifecycle management, RealmJoin ESP, LAPS, notifications, AnyDesk integration, audit tasks, and compliance checks. The RealmJoin Client app has to be activated first (see above).

Deploy the agent through Intune from the Package Store and add it to your Enrollment Status Page. The agent's behaviour is configured centrally with RealmJoin policies in the user and group settings.

If you do not need the agent, continue to the next relevant step.

{% content-ref url="/pages/HMKELYXl8Ouf0RLabchl" %}
[Deploying the Agent](https://docs.realmjoin.com/realmjoin-agent/installation.md)
{% endcontent-ref %}

{% content-ref url="/pages/hlYbW6N5G3w79NIL3KES" %}
[User and Group Settings](https://docs.realmjoin.com/ugd-management/user-and-group-settings.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

#### Set up optional RealmJoin Agent add-ons

Enable optional add-ons that require additional configuration after the agent is installed.

Use this step if you want to extend the agent with:

* **LAPS** for managed local admin accounts, password rotation, and secure password storage
* **AnyDesk Integration** for remote support workflows directly from RealmJoin Portal

If you do not need these add-ons, continue to the next step.

{% content-ref url="/pages/ZZEe7EpGe2H2R8R3cVVP" %}
[Local Admin Password Solution (LAPS)](https://docs.realmjoin.com/realmjoin-agent/realmjoin-client/local-admin-password-solution-laps.md)
{% endcontent-ref %}

{% content-ref url="/pages/7KKYiTUw8ofVTRNkDMqr" %}
[AnyDesk Integration](https://docs.realmjoin.com/realmjoin-agent/realmjoin-client/anydesk-integration.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

#### Deploy Packages

The Package Store contains packages for Windows and macOS that RealmJoin builds and updates.

When deploying packages, first decide whether the application should be delivered through **Microsoft Intune** or through the **RealmJoin Agent**. This depends on your deployment model and whether you want to use agent-based features.

For new applications, start with a **pilot group** before assigning packages broadly. If a newer package version is available, you can test it as a **Preview** before promoting it into production. Once validation is complete, you can enable **update automation** for ongoing lifecycle management.

If a required application is not available in the Package Store, use **Packaging Requests** to request a generic, custom, or organic package for your environment.

A typical rollout is: import package → configure assignments → test with pilot users or devices → enable automation.

{% content-ref url="/pages/qujii1DZUl1kXifaINjB" %}
[Package Store](https://docs.realmjoin.com/application-management/packages/package-store.md)
{% endcontent-ref %}

{% content-ref url="/pages/yQVOjSbUC2pGkJz3PC4l" %}
[Package Management Overview](https://docs.realmjoin.com/application-management/packages/package-management.md)
{% endcontent-ref %}

{% content-ref url="/pages/dybUrRL6OuX8Itod5RAQ" %}
[Package Assignments](https://docs.realmjoin.com/application-management/packages/package-deployment.md)
{% endcontent-ref %}

{% content-ref url="/pages/FqMbSqsnYnENrt2DqzsH" %}
[Packaging Requests](https://docs.realmjoin.com/application-management/packages/packaging-requests.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

#### Configure optional platform features

The following features are independent of each other. Set up the ones you need.

**Workplace Cloud Storage** connects an Azure Storage Account to the RealmJoin Portal. Once connected, administrators can:

* Manage favorites for Edge and Google Chrome
* Store backgrounds and other files with a publicly accessible URL
* Store Outlook signature templates

{% content-ref url="/pages/heG4AaGnHYV68cFPuwJB" %}
[Workplace Cloud Storage](https://docs.realmjoin.com/administration-and-settings/workplace-cloud-storage.md)
{% endcontent-ref %}

**Self Service Forms** collect structured input from users, for example incident reports or requests for a new workplace setup.

{% content-ref url="/pages/jRclcF9bEknJAxZDT9Nb" %}
[Self Service Forms](https://docs.realmjoin.com/administration-and-settings/self-service-forms.md)
{% endcontent-ref %}

**Group namespaces** sort groups into categories by name prefix. RealmJoin ships default namespaces; you can add your own.

{% content-ref url="/pages/zCocP0Gjiy1FiibGx0q5" %}
[Group Namespaces](https://docs.realmjoin.com/administration-and-settings/groups.md)
{% endcontent-ref %}

The **Software Report** aggregates data from the RealmJoin Agent and Intune to provide a list of all applications, their versions and the method of deployment.

{% content-ref url="/pages/mCeyb7oglPHaMdF6as0y" %}
[Software Reporting](https://docs.realmjoin.com/analyze-and-export/software-reporting.md)
{% endcontent-ref %}
{% endstep %}
{% endstepper %}

## Next steps

Your environment is now set up. For day-to-day operations:

* Review administrative actions in the [Audit Log](https://docs.realmjoin.com/monitoring-and-logs/audit-log.md).
* Track new features and fixes in the [RealmJoin Changelog](https://feedback.realmjoin.com/).
* When something does not work as expected, start with the [FAQ](https://docs.realmjoin.com/troubleshooting-and-faq/faq.md) and [Troubleshooting](https://docs.realmjoin.com/troubleshooting-and-faq/troubleshooting.md), or contact [support](https://docs.realmjoin.com/legal/support.md).


---

# 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/deployment/getting-started/extended-guide.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.
