I would suggest you to Disconnect this Shared PC from Network and Install Windows 10 using .iso and give different computer name or Host Name .
Then connect network and Join to Azure AD with different computer Name .
By this way it should not use SharedPC Mode and will connect as a Fresh new Device.
Hope this answers your question :)
Thank you.
--
--If the reply is helpful, please Upvote and Accept as answer--