Description
Core Library
MSAL Node (@azure/msal-node)
Wrapper Library
MSAL Node Extensions (@azure/msal-node-extensions)
Public or Confidential Client?
Public
Documentation Location
Description
Related to Azure/azure-sdk-for-js#29920
@pcdeadeasy has reached out to us with the above error. It seems like, from looking at the code, that this can happen if the .lockfile
file is not properly cleaned up.
Is there documentation about how a user can get themselves into a good state? If not, we think it should be documented or ideally self-healed (maybe by checking if the pid who owns the file is still running?)
Otherwise I can see a scenario where terminating processes at the wrong time may leave the system in a bad state.
Could we either document how to correct this issue as a user or self-heal within the code? We (@azure/identity-cache-persistence) can include that in our error message or troubleshooting guide.
@pcdeadeasy feel free to add any asks you have of the MSAL team.
Thanks in advance!