Hello
Thank you for your question and reaching out. I can understand you are having query\issues related to FSlogix user profile error.
- Try to Rename the user profile folder in profile storage container and logged again,
- Try to find wherever this VHD is attached, end up this invalid session and try to login one more time
- Check the logs for potential issue:
Navigate to%PROGRAMDATA%\FSLogix\Logs\Profile
Open the most recent file and find any ERRORs or WARNINGs. Many times it will tell you exactly what the issue is.
Reference :
https://learn.microsoft.com/en-us/fslogix/fslogix-trouble-shooting-ht
https://learn.microsoft.com/en-us/answers/questions/223837/the-user-profile-failed-to-attach
--If the reply is helpful, please Upvote and Accept as answer--