@Ahmed Alshatawi Thanks for posting in our Q&A.
For apps in device setup, if you don't mix LOB and Win32 apps, but it still shows error, it is suggested to try to increase the "Show an error when installation takes longer than specified number of minutes" in ESP to a much higher value and reset the device to try again to see if it can be successful.
For stuck in account setup, we can skip the account setup. For more details, please refer to the following link:
https://call4cloud.nl/autopilot-account-setup-identifying-security-policies/
Note: Non-Microsoft link, just for the reference.
Meanwhile, here is a link about troubleshooting the Enrollment Status Page for the reference: https://learn.microsoft.com/en-us/troubleshoot/mem/intune/understand-troubleshoot-esp#troubleshooting
Hope it can help.
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.