“a specified logon session does not exist. it may already have been terminated”

Eduard Paul 16 Reputation points
2020-06-01T09:48:49.39+00:00

a specified logon session does not exist. it may already have been terminated - after i joined the device to azure active directory

-i cannot access our shared folder in our server after i joined the device to azure AD and use office 365 account (Please see click the link below to see the error image for your reference), but if i use local administrator of the device i can access the file server using the credentials with no problem, please note that we dont have an premises active directory or GPO, kindly help me.

a specified logon session does not exist. it may already have been terminated

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

6 answers

Sort by: Most helpful
  1. Anonymous
    2020-09-20T19:15:52.36+00:00

    I had this problem with a mapped drive to a NAS for a user. I added the name of the NAS as the domain name before his logon name "NASNAME\LOGONNAME" that appears to disconnect it from the AZURE directory and the drive mapped.

    Was this answer helpful?

    20+ people found this answer helpful.

  2. Gary Ford 115 Reputation points
    2023-02-22T01:26:24.63+00:00

    Honestly, I am very frustrated with the way Microsoft keeps breaking basic interoperability that has worked for ever. That being said, I have found that using '.' in front of the account will tell Windows this is a local user. i.e. '.\useraccount' will allow you to connect where 'useraccount' won't. That worked for me on my Azure AD joined workstation connecting to SMB shares on local NAS and Linux boxes.

    Was this answer helpful?

    20+ people found this answer helpful.

  3. Paul Busch 35 Reputation points
    2023-05-29T16:26:29.5633333+00:00

    This issue happens after joining a system to Azure AD that was previously on a workgroup or local domain pointing to a local NAS. The correct way to solve this is to specify the local name or ip of the NAS in your user name. So username would be something like 192.168.x.x\username and then whatever password belongs to that username that would exist on the NAS. I tried using the .\username to force a local sign on, but that did not work.

    Was this answer helpful?

    8 people found this answer helpful.

  4. Rupin Kuruvilla 0 Reputation points
    2023-05-25T09:56:16.4+00:00

    Add share path in web credentials in the windows PC . before adding the username add the share path url removing the two \ . it works for me

    Was this answer helpful?

    1 person found this answer helpful.

  5. Patrick H 1 Reputation point
    2020-06-04T05:32:02.03+00:00

    I have the exact same issue on all new desktop builds where I connect with an office 365 account. Instead of asking for a login it's asking for a pin. I've added credentials through the credential manager and disabled the hello pin feature. Still getting the same error message.

    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.