Hello @Hassan Wahab ,
Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
I understand that you have set up a Basic VPN gateway with certificate authentication for point to site VPN connection but when trying to connect to the VPN client, it fails with the following error: "A connection attempt failed because the connected party did not properly responder after a period of time, or established connection failed because connected host has failed to respond. Error 0x8007274c."
Only SSTP connections are supported on Basic P2S VPN gateway and hence the tunnel type on your Azure VPN gateway should be set to SSTP. I believe you have it correctly setup as you have already mentioned "P2S Azure client using SSTP/certs is not working".
Refer: https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpngateways#gwsku
However, if it is not, please change it to SSTP and save it and then re-download the VPN client and re-install it on your computer and try connecting again.
If it is correctly set to SSTP, then this issue may be occurring because the VPN client is not getting the routes from the Azure VPN gateway.
To resolve the issue, please try resetting your VPN gateway and redownload the VPN client and try connecting again.
Refer: https://learn.microsoft.com/en-us/azure/vpn-gateway/reset-gateway#reset-a-gateway
Kindly let us know if the above helps or you need further assistance on this issue.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.