For anyone else having this issue, this is how I solved it:
Log into Microsoft Learn Profile.
Go to Profile -> Certifications -> View Certification Details
From there press the 'Print Button'
In the pop-up, change the printer to the option that says 'Save as PDF'
Hope this helps!