@Konstantinos Xanthopoulos Thank you for reaching out to Microsoft Q&A. I understand that you are having issues with connectivity to network drives when logoffs/restarts occur.
Here is a similar issue that I see that may help you- https://learn.microsoft.com/en-us/answers/questions/290947/network-password-incorrect-using-azure-ad-ds-ident.html
If this does not work, please open a support ticket with Azure Support Team so they can thoroughly investigate this issue.
Please let us know if you have any further questions and we will be glad to assist you further. Thank you!
Remember:
Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
Want a reminder to come back and check responses? Here is how to subscribe to a notification.