How can I preserve the Exif data details while exporting the image from Photoshop? I have tried using the option Save for Web (Legacy) but the final image doesn't have any data. I have attached the screenshot for reference.
Open the Save for Web Exported or Save As file back into Photoshop and use File > File Info. Does that show metadata? Forget Windows file properties for now, you need a second opinion.