Basic info
Exchange 2010 SP1 on Server 2008 R2. An Upgrade from Exchange 2007. Auto Reply returns an error from Outlook "Your automatic reply settings cannot be displayed because the server is currently unavailable. Try again later." When attempting to access auto reply from OWA, the user is brought back to an OWA login screen. (which does not allow the user to log back in) This is a different URL than the normal OWA log in URL.
I have attempted to remove and recreate the EWS directory without success. In current troubleshooting, if I attempt to remove the virtual directory, I receive an error it does not exist on the domain controller, if I try to recreate it, it tells me it already exists. If I try to set it, it tells me it cannot be found.
PowerShell information included below...
I have tried many different methods to resolve this so far without success. (hence posting here) I HAVE NOT yet attempted removing/reinstall the CAS role, or anything involving adsi edit.
[PS] C:\>Remove-WebServicesVirtualDirectory -Identity "EWS (Default Web Site)"
The operation couldn't be performed because object 'Server.Domain.net\EWS (Default Web Site)' couldn't be f
ound on 'DomainController.Domain.net'.
+ CategoryInfo : NotSpecified: (0:Int32) [Remove-WebServicesVirtualDirectory], ManagementObjectNotFoundEx
ception
+ FullyQualifiedErrorId : AE5EDDA2,Microsoft.Exchange.Management.SystemConfigurationTasks.RemoveWebServicesVirtual
Directory
[PS] C:\>get-webservicesvirtualdirectory | fl identity,internalurl,externalurl
[PS] C:\>
[PS] C:\>New-WebServicesVirtualDirectory -Identity 'server\EWS (Default Web Sit
e)' -InternalUrl https://webmail.domain.net/EWS/Exchange.asmx -basicauthentication 1 -windowsauthentication 1
The virtual directory 'EWS' already exists under 'server.domain.net/Default Web Site'.
Parameter name: VirtualDirectoryName
+ CategoryInfo : InvalidArgument: (server\EWS (Default Web Site):ADObjectId) [New-WebServicesVirtual
Directory], ArgumentException
+ FullyQualifiedErrorId : 775B2C6B,Microsoft.Exchange.Management.SystemConfigurationTasks.NewWebServicesVirtualDir
ectory
[PS] C:\>Set-WebServicesVirtualDirectory -Identity "server\EWS (Default Web Site)" -InternalUrl https://webmail.domain.net/EWS/Exchange.asmx
The operation couldn't be performed because object 'server\EWS (Default Web Site)' couldn't be found on 'DomainController.Domain.net'.
+ CategoryInfo : NotSpecified: (0:Int32) [Set-WebServicesVirtualDirectory], ManagementObjectNotFoundExcep
tion
+ FullyQualifiedErrorId : D6F18491,Microsoft.Exchange.Management.SystemConfigurationTasks.SetWebServicesVirtualDir
ectory
[PS] C:\>get-webservicesvirtualdirectory | fl identity,internalurl,externalurl
[PS] C:\>