Hi,
Hope everything is going well.
1,Kindly check the smsts.log, appdiscovery.log, appenforce.log and locationservices.log to see if there is any further information.
2,We can try to put a little pause after the Setup Windows & ConfigMgr step, for example add "Run a command line" -step with command "ping localhost -n 60".
Also let the task sequence install drivers first and install applications after.
Similar thread for your reference: Application installation randomly fails in SCCM task sequence
3,This issue might be related to cache size for client. We can try to add a powershell step before the application install step to increase the cache size.
How to Increase SCCM Client Cache Size
Please note: The links are not from Microsoft, just for your reference.
4,Are the laptops joined domain correctly? Please make sure you have added correct network driver. If the client doesn't have correct network driver and valid IP address, the post installation task, for example joining domain and installing application may get failed.
Hope my answer could help you. Should you have any questions or concerns, please do feel free to contact me.
Best regards,
Simon
If the response is helpful, please click "Accept Answer" and upvote it.
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.
After the way you tag questions on Q&A is updated, for any "Microsoft Configuration Manager" related problem, you can tag it with "Microsoft Intune", and then "Microsoft Configuration Manager" as the child tag.