大网数据广告活动
域与目录服务

Error AADSTS700003 - Device Object Was Not Found in the Tenant Directory

· 52CE 我爱测

Provides a solution to an issue where you experience the AADSTS700003 error when you try to sign in to an Azure application that can be used with Microsoft Entra ID.

Summary

This article discusses how to resolve the "AADSTS700003" error that occurs when you try to sign in to an application that's integrated into Microsoft Entra ID.

Symptoms

When you try to sign in to an application that's integrated into Microsoft Entra ID, you receive an "AADSTS700003" error with one of the following error messages:

  • Device object was not found in the tenant '<TenantName>' directory.

  • Your organization has deleted this device.

Cause

This issue occurs because the device object is deleted on your home tenant. When a device is deleted, the "Delete device" activity type is recorded in the Microsoft Entra audit log. In Microsoft Entra ID, there are three ways to register or join user devices:

  • Microsoft Entra registered
  • Microsoft Entra joined
  • Microsoft Entra hybrid joined

Device registration or join creates a device identity. This device identity is used in scenarios such as device-based Conditional Access policies and Mobile Device Management with Microsoft Intune. When you receive the AADSTS700003 error, the device object isn't found in the tenant.

Solution

Engage the home tenant administrators to determine when and why your device object is deleted. Then, take the corresponding action depending on the device registration/join type, as shown in the following table:

Device join type Action
Microsoft Entra registered For Windows 10/11 Microsoft Entra registered devices, go to Settings > Accounts > Access Work or School. Select your work or school account on the screen. Select Disconnect to disconnect the device. Then, register the device to Microsoft Entra ID again.For iOS and Android, you can use the Microsoft Authenticator application and select Settings > Device Registration > Unregister device. Then, register the device to Microsoft Entra ID again.For macOS, you can use the Microsoft Intune Company Portal application to unenroll the device from management and remove any registration. Then, register the device to Microsoft Entra ID again. For more information, see Microsoft Entra register FAQ.
Microsoft Entra joined Open a PowerShell console with the administrative right on the Windows device, and run the dsregcmd /forcerecovery command. Select Sign in to sign in with your Microsoft Entra ID account.
Microsoft Entra hybrid joined Open a PowerShell console with the administrative right on the Windows device, and run the dsregcmd /leave command. Then, reboot the device and sign in to the device with your domain credential.

More information

For a full list of authentication and authorization error codes, see Microsoft Entra authentication and authorization error codes.

To investigate individual errors, go to https://login.microsoftonline.com/error.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 02/24/2025
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。