---
title: Migrate Authentication Method in Nodinite v7
description: Migrate a Nodinite v7 Environment between Windows Authentication/Kerberos and OpenID Connect/OAuth 2.0. Uninstall the Core Services while keeping databases and settings, change the Auth mode in the Portal, run the update, then realign Roles, Claims, and Policies.
---

# <i class="fal fa-right-left" aria-hidden="true"></i> Migrate Authentication Method in Nodinite v7

Each <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7 [Environment][] uses exactly one authentication mode, chosen in the Portal [Step 2: Auth][Step02]. Use this authentication migration guide to move an existing Environment between:

* <i class="fab fa-windows" aria-hidden="true"></i> **[Windows Authentication][] / Kerberos** <i class="fal fa-arrow-right-to-line" aria-hidden="true"></i> **OpenID Connect / OAuth 2.0**
* **OpenID Connect / OAuth 2.0** <i class="fal fa-arrow-right-to-line" aria-hidden="true"></i> <i class="fab fa-windows" aria-hidden="true"></i> **Windows Authentication / Kerberos**

The two modes grant access differently. Windows Authentication grants it to Active Directory [Users][] and [Windows AD Groups][]; OpenID Connect grants it through [Claims][] combined into [Policies][]. Both end in [Roles][Role]. You can't mix the modes, so access must be realigned after the switch.

## <i class="fal fa-compass" aria-hidden="true"></i> Understand the Migration Model

You don't change authentication in place on running binaries. You uninstall the [Core Services][], change the Environment in the Portal, and reinstall with the normal update flow. The [Configuration Database][], the [Log Databases][], and the settings files stay, so the reinstall reuses the Environment state.

<div class="mermaid">
flowchart TB
    Prereq["fa:fa-list-check Check target prerequisites"] --> Uninstall["fa:fa-trash Uninstall Core Services<br/>keep databases and settings"]
    Uninstall --> Portal["fa:fa-gear Change Auth mode in the Portal<br/>Step 2: Auth"]
    Portal --> Download["fa:fa-download Download the new package"]
    Download --> Update["fa:fa-terminal Run the update with the CLI"]
    Update --> Target{"Target mode?"}
    Target -->|"OpenID Connect"| Oidc["fa:fa-key Map Claims to Policies to Roles<br/>replace the Email Alarm Plugin"]
    Target -->|"Windows Authentication"| Win["fab:fa-windows Assign AD users and groups to Roles"]
    Oidc --> Verify["fa:fa-circle-check Verify sign-in, access, and alarms"]
    Win --> Verify
    style Uninstall fill:#E47528
    style Portal fill:#2678BD
    style Download fill:#2678BD
    style Update fill:#E47528
    style Oidc fill:#9E59BB
    style Win fill:#9E59BB
    style Verify fill:#93d16d
</div>

*Orange steps change the server, blue steps happen in the Portal, purple steps realign access for the target mode, and green is the final check. See [Uninstall Nodinite v7][], [Step 2: Auth][Step02], [Updating Nodinite v7][], [Claims][], [Policies][], [Roles][Role], [Windows AD Groups][], and [E-mail with options][Email with Options Alarm Plugin].*

### <i class="fal fa-code-compare" aria-hidden="true"></i> What Changes Between the Modes

| Aspect | Windows Authentication / Kerberos | OpenID Connect / OAuth 2.0 |
| --- | --- | --- |
| Sign-in | Kerberos (NTLM fallback) against Active Directory | Identity provider, such as Microsoft Entra ID, including MFA |
| Access granted to | [Users][] and [Windows AD Groups][] in [Roles][Role] | [Claims][] combined in [Policies][], assigned to [Roles][Role] |
| Portal values | Administrator account, domain defaults | Discovery URL, app registrations, Nodinite Claims; see [Install Nodinite v7 - OpenID][Install OpenID] |
| TLS | Recommended | Required; see [Step 4: Servers → Core host Configuration][Step04 TLS] |
| [Email Alarm Plugin][] | ✅ Supported | ❌ Not supported; use [E-mail with options][Email with Options Alarm Plugin] |

## <i class="fal fa-list-check" aria-hidden="true"></i> Prerequisites Before Any Migration

Validate the prerequisites of the target mode before you uninstall anything:

* [Step 2: Auth][Step02] – the authentication options and required fields.
* For OpenID Connect: [Install Nodinite v7 - OpenID][Install OpenID], the app registrations in [Register Nodinite Applications in Azure AD (Entra ID) with OpenID][OpenID EntraID], and a TLS certificate in [Step 4: Servers][Step04 TLS].
* For Windows Authentication: the Active Directory users and groups that should get access.
* On Windows Server, in both modes: the service account still needs the [Logon as a Service][] right.
* A verified backup of the [Configuration Database][].

## <i class="fal fa-arrows-rotate" aria-hidden="true"></i> Standard Migration Workflow

### Step 1: Uninstall Without Removing Data

Run the `uninstall` command of `Nodinite.Installer.Cli.exe` from the package of the **currently installed** version, before you change the authentication settings.

* Follow [Uninstall Nodinite v7][].
* Do **not** use `--delete-databases`.
* Do **not** use `--delete-settings`.

This removes the [Core Services][] and keeps the Environment state, so you can reinstall with the new authentication method.

### Step 2: Update the Environment in the Portal and Download the New Package

In the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>, open the existing [Environment][] and change the **Auth Mode** in [Step 2: Auth][Step02] to the target model.

* Fill in the fields of the target mode.
* Save the Environment changes.
* Download the newly generated ZIP package in [Step 6: Review and Download][Step06].

### Step 3: Reinstall with the Standard Update Instructions

Run the CLI from the newly downloaded package, as described in [Updating Nodinite v7][]. Because the settings and databases already exist, this is a standard update-style installation. When you move to OpenID Connect, the CLI asks for the client secrets; see [Client Secrets][OpenID Client Secrets].

## <i class="fal fa-route" aria-hidden="true"></i> Path-Specific Notes

### Windows/Kerberos to OpenID Connect

After switching to OpenID Connect, authorization no longer depends on Windows group resolution. Re-map access with [Claims][], [Policies][], and the groups or app roles in your identity provider.

#### Email Alarm Plugin Impact

* The [Email Alarm Plugin][] can no longer be used: it depends on user e-mail data resolved from Active Directory through [Roles][Role] and [Users][], which don't apply after moving to OpenID Connect.
* Before the switch, remove it from every [Monitor View][Monitor Views] that uses it, and replace it with [E-mail with options][Email with Options Alarm Plugin], where you set the recipient addresses directly. Otherwise alarms fail silently.

We recommend **E-mail with options** as your standard [Alarm Plugin][Alarm Plugins] in both modes, because it provides richer capabilities.

### OpenID Connect to Windows/Kerberos

After switching back to Windows/Kerberos, revalidate domain-based authorization mappings.

* Reassign the correct Active Directory [Users][] and [Windows AD Groups][] to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Roles][Role].
* Verify service account assumptions for Windows-integrated access, such as the [HTTP SPN for Kerberos][HTTP SPN].

## <i class="fal fa-user-lock" aria-hidden="true"></i> Reconcile Roles and Authorization After Migration

Regardless of migration direction, realign authorization for the new model.

* Review and update [Role][] assignments.
* If using OpenID Connect, validate the [Policies][] and [Claims][] mapping.
* If using Windows/Kerberos, validate users and groups from Active Directory.

In many Environments, only the initial administrator can access the system immediately after migration until [Role][] assignments are updated.

## <i class="fal fa-broom" aria-hidden="true"></i> Optional Identity Cleanup After Migration

After a successful migration, identity administrators often remove obsolete configuration from the previous model, such as old groups or service accounts, unused [Claims][] or [Policies][], and app registrations no longer in use. This cleanup is organization-specific, so this guide doesn't prescribe one universal procedure; [Uninstall Nodinite v7][] lists the typical items.

## <i class="fal fa-shield-check" aria-hidden="true"></i> Final Verification and Operational Review

After migration and access remapping:

* Verify administrator and non-administrator sign-in paths.
* Verify role-based access for expected user groups.
* Verify alarm behavior if e-mail notifications are in use.
* Review [Post-installation][Post Installation Steps] and apply relevant hardening, backup, and maintenance practices.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-arrow-turn-up" aria-hidden="true"></i> [Updating Nodinite v7][]  
* <i class="fal fa-forward-step" aria-hidden="true"></i> [Step 2: Auth][Step02]  
* <i class="fal fa-lock" aria-hidden="true"></i> [Install Nodinite v7 - OpenID][Install OpenID]  
* <i class="fal fa-list-check" aria-hidden="true"></i> [Post-installation][Post Installation Steps]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-trash-can" aria-hidden="true"></i> [Uninstall Nodinite v7][]  
* <i class="fal fa-id-card" aria-hidden="true"></i> [Register Nodinite Applications in Azure AD (Entra ID) with OpenID][OpenID EntraID]  
* <i class="fal fa-user-plus" aria-hidden="true"></i> [Logon As A Service][Logon as a Service]  
* <i class="fal fa-users" aria-hidden="true"></i> [What is a Role][Role]  
* <i class="fab fa-windows" aria-hidden="true"></i> [Windows AD Groups][]  
* <i class="fal fa-key" aria-hidden="true"></i> [Claims][]  
* <i class="fal fa-shield-check" aria-hidden="true"></i> [Policies][]  
* <i class="fal fa-envelope" aria-hidden="true"></i> [Email Alarm Plugin][]  
* <i class="fal fa-envelope-circle-check" aria-hidden="true"></i> [E-mail with options][Email with Options Alarm Plugin]  
* <i class="fal fa-wrench" aria-hidden="true"></i> [OAuth 2.0 Troubleshooting][OAuth2 Troubleshooting Overview]  

[Alarm Plugins]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/what-is-an-alarm-plugin/
[Claims]:https://docs.nodinite.com/administration/access-management/claims/features/what-is-a-claim/
[Configuration Database]:https://docs.nodinite.com/core-services/configuration-database/overview/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[Email Alarm Plugin]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/email/
[Email with Options Alarm Plugin]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/email-with-options/
[Environment]:https://docs.nodinite.com/getting-started/menu-environment/
[HTTP SPN]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/http-spn-for-iis/
[Install OpenID]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-openid/
[Log Databases]:https://docs.nodinite.com/administration/settings/log-databases/overview/
[Logon as a Service]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/logon-as-a-service-right/
[Monitor Views]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/what-is-a-monitor-view/
[NodinitePortal]:https://portal.nodinite.com/
[OAuth2 Troubleshooting Overview]:https://docs.nodinite.com/install-and-update/troubleshooting/oauth-2-0/overview/
[OpenID Client Secrets]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-openid/#client-secrets
[OpenID EntraID]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-openid-entraid/
[Policies]:https://docs.nodinite.com/administration/access-management/policies/features/what-is-a-policy/
[Post Installation Steps]:https://docs.nodinite.com/install-and-update/getting-started/post-installation-steps/
[Role]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[Step02]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/02-auth/
[Step04 TLS]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-host-tls
[Step06]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/06-review-and-download/
[Uninstall Nodinite v7]:https://docs.nodinite.com/install-and-update/getting-started/version-7/uninstall-nodinite-v7/
[Updating Nodinite v7]:https://docs.nodinite.com/install-and-update/getting-started/version-7/updating-nodinite-v7/
[Users]:https://docs.nodinite.com/administration/access-management/users/features/what-is-a-user/
[Windows AD Groups]:https://docs.nodinite.com/administration/access-management/windows-ad-groups/features/what-is-a-windows-ad-group/
[Windows Authentication]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-authentication-settings/