Share via

Microsoft Entra error 700003 on web-account RDP sign-in to Azure VM — how do I clear a deleted-device reference bound to a cloud-only user?

hcetticz 25 Reputation points
2026-06-06T22:35:24.7033333+00:00

Follow-up: blocked validating cloud-only Entra Kerberos SMB in UK South — recurring Entra error 700003 (deleted device) on the test client

This is a follow-up to my open question on whether cloud-only Microsoft Entra Kerberos with per-group share-level RBAC is supported in UK South on Standard HDD. While building the test environment to validate it, I've hit a client-side identity blocker that's now preventing me from completing the test.

Original question >>> https://learn.microsoft.com/en-us/answers/questions/5913271/authoritative-confirmation-needed-is-cloud-only-mi

Goal

Obtain a user PRT on an Entra-joined Windows VM so I can mount the Azure Files share over cloud-only Entra Kerberos and confirm supportability in UK South.

Symptom

Web-account RDP sign-in to the VM with my cloud-only Entra identity fails at the browser authentication stage with error 700003 — "Your organisation has deleted this device." It persists across multiple remediation attempts and now follows the user account, not the device.

What I've confirmed

  • VM device join is healthy: AzureAdJoined : YES, DeviceAuthStatus : SUCCESS, and exactly one valid device record exists in Entra.
  • The error first appeared after a VM was joined two ways — a bulk-enrolment provisioning package, then the AADLoginForWindows extension — where the extension's join superseded and deleted the original device object.
  • I redeployed a clean VM using only the extension, but 700003 follows the user to the new VM, indicating cached/server-side token state still references a deleted device object.

Remediation already attempted (all unsuccessful)

  • Verified only one valid device record remains in Entra.
  • Revoked the user's sign-in sessions.
  • Cleared the client WAM token broker and removed the cached work account (dsregcmd /cleanupaccounts returned 0x0).
  • Deleted the orphaned bulk-enrolment service account.
  • Cleared stored RDP credentials on the initiating client.

Questions

  1. After session revocation and broker cleanup, what else holds a deleted-device reference bound to a user (not a device), and how do I purge it authoritatively?
  2. Will a password reset on the user reliably invalidate the device-bound token state behind 700003, or is there a more targeted supported method?
  3. Are there stale registered-device records tied to the user I should check beyond the All Devices list?
  4. Is a brand-new test identity with no device history the supported pragmatic fix, or can the existing user's device-token state be fully cleaned?

Environment

Cloud-only Entra Kerberos, Windows VM in Azure with the AADLoginForWindows extension, no on-premises AD. UK South. This blocks completion of the supportability validation in my original PCS question.

Microsoft Security | Microsoft Entra | Microsoft Entra External ID

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 42,846 Reputation points MVP Volunteer Moderator
    2026-06-07T11:43:31.7266667+00:00

    Hello !

    Thank you for posting on MS Learn Q&A.

    This looks like a device registration or PRT problem not an Azure Files or UK South storage problem yet.

    So try to re-register a Microsoft Entra registered device, run dsregcmd /forcerecovery for a Microsoft Entra joined device or dsregcmd /leave for hybrid joined devices.

    https://learn.microsoft.com/en-us/troubleshoot/entra/entra-id/app-integration/error-code-aadsts700003-device-object-not-found

    Since your new VM shows:

    • AzureAdJoined : YES
    • DeviceAuthStatus : SUCCESS

    the current VM device object is valid which means that the device is present and enabled in Microsoft Entra ID.

    https://learn.microsoft.com/en-us/entra/identity/devices/troubleshoot-device-dsregcmd

    The remaining suspect is the user Windows/Web Account Manager/CloudAP token state. A PRT is issued through Windows CloudAP/WAM components and is device bound and WAM and CloudAP are key Windows components for PRT issuance and use and the PRT as a secure artifact used for SSO.

    https://learn.microsoft.com/en-us/entra/identity/devices/concept-primary-refresh-token

    Start with the machine where the web-account RDP sign-in is being initiated, not only on the Azure VM, check the user’s Entra registration state:

    dsregcmd /status
    

    If that client is Microsoft Entra joined, run:

    dsregcmd /forcerecovery
    

    Then sign in again when prompted, sign out, and sign back in. That is the supported recovery path for an Entra joined device whose referenced device object was deleted.

    If the client is only Microsoft Entra registered / workplace joined, remove the account from:

    Settings > Accounts > Access work or school
    

    Then disconnect the work/school account and register it again. That is the supported path for Entra registered devices.

    You need also to check more than just the normal All devices blade and use Microsoft Graph to list devices linked to the user:

    GET https://graph.microsoft.com/v1.0/users/{user-id}/registeredDevices
    GET https://graph.microsoft.com/v1.0/users/{user-id}/ownedDevices
    
    

    If an old/deleted/superseded VM registration still appears there, remove the bad device object or recreate the user/device registration cleanly. If it no longer appears anywhere, then the reference is probably not a visible directory object anymore, but stale local token-broker state.

    Revoking sign-in sessions is still the right step, but it is not always sufficient by itself. Microsoft Graph revokeSignInSessions invalidates refresh tokens and browser session cookies by resetting the usersignInSessionsValidFromDateTime but there can be a delay before revocation takes effect.

    https://learn.microsoft.com/en-us/graph/api/user-revokesigninsessions?view=graph-rest-1.0

    A password reset can help force fresh authentication but I would not treat it as the authoritative fix for 700003 error.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.