smartsystemsinc
asked on
Exchange 2007 Shell Issue
I have SBS 2008 and have been troubleshooting the Outlook 2007 / Exchange 2007 Autodiscover certificate issue. When I attempt to enter a script to Exchange Management shell as part of solution to solve Outlook 2007 certificate issue I get an error. I have SBS 2008 have imported the revised crt with autodiscover.domain.org added to it. And I successfully completed Step one of MS Article kb 940726 where I ran the Set-ClientAccessServer -Identity CAS_Server_Name -AutodiscoverServiceIntern alUri https://mail.contoso.com/autodiscover/autodiscover.xml command.
However, when i attempt either the next step or the one following that step, it says the objects do not exist.
My exact syntax and shell error are in the code section. Thanks very much for any help.
However, when i attempt either the next step or the one following that step, it says the objects do not exist.
My exact syntax and shell error are in the code section. Thanks very much for any help.
[PS] C:\Windows\System32>Set-WebServicesVirtualDirectory -Identity server.domain.local\ews -InternalUrl https://remote.domain.com/ews/exchange.asmx
Set-WebServicesVirtualDirectory : The operation could not be performed because
object 'server.domain.local\ews' could not be found on domain controller 'SERVER
.domain.local'.
At line:1 char:32
+ Set-WebServicesVirtualDirectory <<<< -Identity server.domain.local\ews -Inter
nalUrl https://remote.domain.com/ews/exchange.asmx
[PS] C:\Windows\System32>
try this code instead
Set-WebServicesVirtualDirectory -Identity server.domain.local\EWS(default web site) -InternalUrl https://remote.domain.com/ews/exchange.asmx
run the following, in order to get the exact name of your WebSite ::
get-WebServicesVirtualDire ctory
Locate the identity part.. and use it in the command
Set-WebServicesVirtualDire ctory -Identity IdendityYouvelocated -InternalUrl https://remote.domain.com/ews/exchange.asmx
get-WebServicesVirtualDire
Locate the identity part.. and use it in the command
Set-WebServicesVirtualDire
ASKER
Ok...I appreciate the responses.
Rammerstein: Yes thats the procedure I am following.
Akhater: I tried that syntax exactly already and get the same error.
seb acker: I think you are onto my issue. I think I have a simple syntactical error. I ran the command you indicated to get Virtual directory adn this is what I got.
[PS] C:\Windows\System32>get-We bServicesV irtualDire ctory
Name Server InternalUrl
---- ------ -----------
EWS (SBS Web Applications) SERVER https://sites/EWS/Exchange.asmx
Rammerstein: Yes thats the procedure I am following.
Akhater: I tried that syntax exactly already and get the same error.
seb acker: I think you are onto my issue. I think I have a simple syntactical error. I ran the command you indicated to get Virtual directory adn this is what I got.
[PS] C:\Windows\System32>get-We
Name Server InternalUrl
---- ------ -----------
EWS (SBS Web Applications) SERVER https://sites/EWS/Exchange.asmx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you very very much. I applied the same syntax to the OAB and Uniofied Messagiing sites adn that worked. Fianlly those propmts for certs went away.
ASKER
There seems to be a difference in the MS article for solving the exchaneg problem and the SBS implementation of that solution. note teh indication of the Internal AND ExtrenalURL difference adn the correctly specified virtual directory in SBS Web applcations.
http://support.microsoft.com/kb/940726