@Ahad Alam, Thanks for posting in Q&A. For the error message AADSTS165000, it indicates that the request tokens do not match the user context, which can happen if there are inconsistencies in the authentication flow.
For the affected device, I would like to know which enrollment method we use to enroll. In general, if this is not a personal device, the device needs to do factory reset when we do enrollment.
If this is a personal device, please unenroll the device from Intune, clear all the company account on the device and enroll again to see if it can work.
Clear Safari Cookies and Data:
Go to Settings > Safari > Clear History and Website Data. This can help ensure there are no old cookies or cached data causing issues.
Please try the above suggestions and if there's any update, feel free to let us know.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.