Looks like your Oauth Cert is missing or corrupted somehow.
See this to replace:
Exchange Server 2019 HTTP Error 500

Installed Exchange 2019 on a fresh Windows Server 2019 OS. After install when navigating to the /owa page and entering in the domain\username and password the webpage shows a HTTP 500 error.
Notes:
The domain used to have a Exchange 2016 server on it.
I am seeing the following errors in the Event Logs.
Event Viewer - Microsoft Exchange with Database Availability Group Events
Unable to find the certificate with thumbprint 353EC205BA282F571D97553F73985860B564A6D7 in the current computer or the certificate is missing private key. The certificate is needed to sign the outgoing token.
Exchange Exchange Server Management
4 answers
Sort by: Most helpful
-
Andy David - MVP 157.4K Reputation points MVP Volunteer Moderator
2022-01-26T21:35:11.583+00:00 -
Pie 306 Reputation points
2022-01-26T23:22:31.53+00:00 Resolved that issue. Now I am trying to restore mailboxes from one database to another. In the ECP Portal I can see the Test users mailbox, and when clicking on it I see "Database is mandatory on UserMailbox".
Running the below command to try and recover/import the mailbox for the test user:
New-MailboxRestoreRequest -SourceDatabase RecoveryDB01 -SourceStoreMailbox GUID -TargetMailbox test@keyman .com
I get this result back:
The operation couldn't be performed because 'test@keyman .com' couldn't be found.
-
Aaron Xue-MSFT 2,596 Reputation points Microsoft External Staff
2022-01-27T06:01:26.477+00:00 Hi @Pie
I am glad to hear that your issue has been solved. :)
If the database isn't mounted would cause this isuee. Did you mount the database to solve the issue?
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. -
Aaron Xue-MSFT 2,596 Reputation points Microsoft External Staff
2022-01-31T01:10:41.247+00:00 Hi @Pie ,
Glad to hear your issue has been solved and thanks for your sharing.
According to the latest policy.
https://learn.microsoft.com/en-us/answers/support/accepted-answers
I am sorry for that you couldn’t mark yourself as the best answer.
I will convert your answer as a comment, and then you could mark it as the best answer, this will make answer searching in the forum easier and be beneficial to other community members as well.
Thanks for your understanding.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.