Hi Dinesh,
The error code 0x8007001f is usually caused by migration issues during the setup.
Please share the following setup log file on OneDrive (or any other host) and post the link here:
C:$WINDOWS.~BT\Sources\Panther\setupact.log
Note: "C:$WINDOWS.~BT" is a hidden folder. To access it, press Win + R, type "C:$WINDOWS.~BT" and click OK.
(How-To: Share OneDrive files and folders - Microsoft Support)
https://support.microsoft.com/en-us/office/shar...
OneDrive sharing options - screenshot: https://imgur.com/a/vZyxpY9