How to Rename a Computer in an Intune Hybrid Azure AD Environment
Question details
The user needs to safely rename a Windows computer managed by Intune in a hybrid Active Directory and Azure AD setup without breaking synchronization or domain trust.

- Product
- Microsoft Intune / Microsoft 365
- Device & OS
- Windows
- Scenario
- Updating device naming conventions for enterprise endpoints managed via Microsoft Intune in a hybrid deployment.
- Observed behavior
- Attempting to rename the device directly from the Intune portal is unsupported for hybrid devices, requiring a specific on-premises Active Directory renaming and synchronization process.
Ensure you have Domain Admin rights on the local network, administrative access to the Windows device, and that Azure AD Connect is functioning properly in your environment.
Rename the Device via On-Premises Active Directory
Because the 'Rename device' action in the Intune portal is not supported for Hybrid Azure AD joined devices, the rename must be initiated from your on-premises Active Directory.
To prevent duplicate records and broken trust relationships, you must change the computer name locally or via your domain controller, then allow Azure AD Connect to sync the changes to the cloud.
On the target Windows device, navigate to Settings > System > About, click 'Rename this PC', enter the new name, and proceed. Alternatively, use the 'netdom renamecomputer' command from an elevated command prompt.
Reboot the computer. Upon restarting, the device will update its computer object in the on-premises Active Directory to reflect the new name.
Wait for the next Azure AD Connect sync cycle (typically 30 minutes), or manually force a delta sync from your AAD Connect server using the PowerShell command: Start-ADSyncSyncCycle -PolicyType Delta.
Once Azure AD reflects the new device name, trigger a manual Intune sync on the device (Settings > Accounts > Access work or school > Info > Sync). The new name will appear in the Microsoft Endpoint Manager admin center.

Consult Microsoft Support for Complex Identity Issues
If renaming the device causes domain trust relationship failures or sync errors between AD and Azure AD, escalate the issue to the appropriate identity team.
Equip Your Enterprise Endpoints with WPS Office
While you manage complex Intune deployments and device identities, ensure your users have access to a lightweight, reliable, and cost-effective productivity suite. WPS Office provides enterprise-grade performance without the heavy resource footprint.
- 1. Download the Installer: Visit the official WPS Office website to download the standard or enterprise installer package.
- 2. Deploy via Intune: Package the WPS Office executable as a Win32 app (.intunewin) and assign it to your Azure AD or Hybrid Azure AD joined device groups.
- 3. Start Creating: Launch WPS Office on the deployed endpoint to seamlessly open, edit, and save legacy and modern document formats.

Frequently Asked Questions
Why is the 'Rename device' remote action grayed out in Microsoft Intune?
Intune does not support the remote 'Rename device' action for Hybrid Azure AD joined devices. The naming authority for hybrid devices remains with the on-premises Active Directory, so changes must be made locally and synced.
Will renaming a hybrid joined computer break its Intune enrollment?
If performed correctly by renaming the device on-premises and allowing Azure AD Connect to synchronize the change, the Intune MDM enrollment will remain intact. Forcing a rename without proper sync can result in domain trust issues.
How long does it take for the new computer name to reflect in the Intune portal?
It depends on your sync schedules. First, Azure AD Connect must sync the change to Azure AD (typically up to 30 minutes). Afterward, the device must complete its next scheduled Intune check-in, which can take a few hours unless forced manually from the device settings.
Does renaming a device on-premises create a duplicate object in Azure AD?
No. When Azure AD Connect runs, it identifies the existing device object using its unique internal ID and simply updates the 'displayName' attribute to match the new on-premises name, preserving the single identity.




