Hello there,
This issue may be caused by some services not started.
You could take below methods to resolve this issue:
Method A)
Recycle the application pool "MSExchangeMapiFrontEndAppPool" from IIS Manager.
IIS Manager > Application Pools > MSExchangeMapiFrontEndAppPool > Recycle
Method B )
Reset IIS with this cmd commend line
iisreset /noforce
Method C )
if not working, try rebooting your sever
You may also check if the Microsoft Exchange Transport service and other transport related services are running properly on your server, we could restart them manually.
Official docs for your reference:
Event ID 5011 — IIS Application Pool Availability
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc735271(v=ws.10)
Recycling Settings for an Application Pool <recycling>
https://learn.microsoft.com/en-us/iis/configuration/system.applicationHost/applicationPools/add/recycling/
IIS Application Pool Crash and Debug Diag
https://learn.microsoft.com/en-us/archive/blogs/parvez/iis-application-pool-crash-and-debug-diag
Similar cases:
Exchange 2016 - Event ID 5011 - WAS warning RRS feed
https://social.technet.microsoft.com/Forums/en-US/7727025b-1818-459d-94a4-35c9fa1c0e52/exchange-2016-event-id-5011-was-warning
WAS event 5011
https://forums.iis.net/t/1231656.aspx
However, there is also a professional forum for IIS cases
https://forums.iis.net/
Hence I believe that the best answer to this question is to contact IIS.NET Forums
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Best Regards,
Samson Peng