After Add Certificate To Exchange And URL changing Accordingly, Free&Busy not showing . OWA Show error code 5021


After replacing the self sign exchange certificate with trusted certificate publisher, you need to change the exchange services URL’s accordingly to mach the names on the certificate :
How to change exchange internals/externals URL’s
As a result the free&busy become unavailable and grey out lines pop on both outlook when scheduling meeting and on OWA on the same page . First thing is to check the Obvious and find if the autodiscover DNS record is set right, the best place to start is with Microsoft Remote Connectivity Analyzer , You can check “Outlook Autodiscover”  there . After passing that stage check your connectivity internal with :

Test-OutlookWebServices -identity <your email or alias>

You should get success’s on all the test how ever if you get error massage regarding client access server :

Id : 1011 

Type : Error 

Message : When querying Availability for the recipient e-mail address , the following error code and message we are received:
ErrorServiceDiscoveryFailed:Unable to find a Client Access server that can serve a request for an intraforest mailbox 


Id : 1025

Type : Error

Message : [EXCH] Error contacting the AS service at https://<Your FQDN>/EWS/Exchange.asmx. Elapsed time was 15 milliseconds.

That could mean you are missing some External/external URL’s in webservicesvirtualdirectory , run :

Get-WebServicesVirtualDirectory | fl name,*url*

Make sure you have them all covered including InternalNLBBypassUrl , you should get :

Name                 : EWS (Default Web Site)
InternalNLBBypassUrl : https://<FQDN of your server>/ews/exchange.asmx
InternalUrl          : https://<FQDN of your server>/EWS/Exchange.asmx
ExternalUrl          : https://<External FQDN of your server>/ews/exchange.asmx

If missing just add them, example to add internalNLBBypassUrl URL :

set-WebServicesVirtualDirectory -Identity "<Server name>\EWS (Default Web Site)" -InternalNLBBypassUrl https://<FQDN of your server>/EWS/Exchange.asmx

After resetting your IIS running IISRESET from command prompt your free busy potion will work again !

Good Luck

Leave a Reply

Your email address will not be published. Required fields are marked *