How to disable Microsoft Edge from retaining the last viewed PDF orientation

When viewing a PDF within Microsoft Edge and the orientation is incorrect, it may be due to the browsers' PDF view settings option. To disable this option, copy and paste the text below and turn the feature off and try again.

edge://settings/content/pdfDocuments?search=pdf