• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

Set-OutlookProvider problem

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2007] >> Installation >> Set-OutlookProvider problem Page: [1]
Login
Message << Older Topic   Newer Topic >>
Set-OutlookProvider problem - 11.Jul.2007 8:35:07 AM   
frelisb

 

Posts: 23
Joined: 24.Sep.2003
Status: offline
Hi all,

When running the Get-OutlookProvider Exchange Management Shell command, I get this result:

Name                       Server                     SSL
----                       ------                     ---
EXCH                       mail
EXPR                       mail
WEB                        mail


Does anyone know how to set the SSL coloumn to "True" for all three lines?

Any tips would be greatly appreciated
Post #: 1
RE: Set-OutlookProvider problem - 11.Jul.2007 9:11:50 AM   
ismail.mohammed

 

Posts: 3018
Joined: 9.May2007
From: India
Status: offline
try this commandSet-OutlookProvider –id exch –ssl:$true

(in reply to frelisb)
Post #: 2
RE: Set-OutlookProvider problem - 11.Jul.2007 9:16:31 AM   
frelisb

 

Posts: 23
Joined: 24.Sep.2003
Status: offline
Thank you for your reply

Trying that command gives the following result:

[PS] C:\Documents and Settings\Administrator.domain>
Set-OutlookProvider -id exch -ssl:$true
Set-OutlookProvider : A parameter cannot be found that matches parameter name 'ssl'.
At line:1 char:35
+ Set-OutlookProvider -id exch -ssl:$ <<<< true

Seems that the -ssl parameter has been removed since beta...

Any other tips on how to achieve this?

(in reply to ismail.mohammed)
Post #: 3
RE: Set-OutlookProvider problem - 11.Jul.2007 9:48:08 AM   
ismail.mohammed

 

Posts: 3018
Joined: 9.May2007
From: India
Status: offline
have you tried this command
set-outlookprovider exch -server yourserver

(in reply to frelisb)
Post #: 4
RE: Set-OutlookProvider problem - 11.Jul.2007 10:07:53 AM   
frelisb

 

Posts: 23
Joined: 24.Sep.2003
Status: offline
Yeah, I ran the

set-outlookprovider -Identity exch -server mail

command. As you can see form my original post, the server "mail" is registered for both exch, expr and web

I can't see it doing anything for the ssl issue, though...

(in reply to ismail.mohammed)
Post #: 5
RE: Set-OutlookProvider problem - 12.Jul.2007 3:52:26 PM   
frelisb

 

Posts: 23
Joined: 24.Sep.2003
Status: offline
Can someone please check for me whether the

"-ssl" parameter is still there for the Set-OutlookProvider command in the release version? (Do a "help Set-OutlookProvider" command)

If it's not there, how the heck does one set the "ssl" parameter

I mean, if not even PowerHell does it, then what?

(in reply to frelisb)
Post #: 6
RE: Set-OutlookProvider problem - 3.Sep.2008 1:28:50 AM   
atedja

 

Posts: 64
Joined: 14.Apr.2008
Status: offline
quote:

ORIGINAL: frelisb

Hi all,

When running the Get-OutlookProvider Exchange Management Shell command, I get this result:

Name                       Server                     SSL
----                       ------                     ---
EXCH                       mail
EXPR                       mail
WEB                        mail


Does anyone know how to set the SSL coloumn to "True" for all three lines?

Any tips would be greatly appreciated


Hi,

my Exc. Server 2007 SP1 also got the problem with Autodiscover, and it seems that my autodiscover.xml is empty as well as the server column from your result above.

Does yur autodiscovery feature works well after filling in the SERVER column with Set-Outlookprovider cmdlets ?

please let me know.

thanks.

_____________________________

/* I Appreciate all kinds of response */

(in reply to frelisb)
Post #: 7
RE: Set-OutlookProvider problem - 20.Oct.2008 2:05:19 PM   
kizzle911

 

Posts: 73
Joined: 13.May2008
Status: offline
I am not sure if this topic is related to the problem that I am having.  Basically I have 4 Exchange servers in our environment (1CAS/HT 2007 server, 1 mailbox2007 and 2 mailbox2003).

Recently I moved my mailbox to the new mailbox2007 server and everytime I open Outlook 2007, I get the following message:

-----------------------------------------------------------------------------------
cas-01.server.local

Information you exchange with this site cannot be viewed or changed by others. However, there is a problem with the site's security certificate.

Checkmark: Security cert is from a trusted certifying auth
Checkmark: Security cert date is valid

X : Name of the security cert is invalid or does not match the name of the site.

Process YES/NO/ View cert
-----------------------------------------------------------------------------------

I did some searching on the web and noticed the set-outlookprovider command, is this what needs to be done??  If so, which server name should I select?

(in reply to ismail.mohammed)
Post #: 8
RE: Set-OutlookProvider problem - 20.Oct.2008 3:01:52 PM   
Elan Shudnow

 

Posts: 897
Joined: 4.Jan.2007
From: Chicago, IL
Status: offline
http://www.shudnow.net/2007/08/10/outlook-2007-certificate-error/

_____________________________

Elan Shudnow
Exchange MVP
http://www.shudnow.net

(in reply to kizzle911)
Post #: 9
RE: Set-OutlookProvider problem - 20.Oct.2008 3:25:05 PM   
Exchange_Geek

 

Posts: 1287
Joined: 31.Dec.2006
Status: offline
As a matter of fact, outlook provider should not be toyed around with (not sure who suggested this in first place)  i have not read any troubleshooting guide / site / link which states - ok lets troubleshooting Auto Discovery with OL provider first.

You can simply go to the View Certificate and go to details. Scroll down to the part which states Subject Alternate Name. All the names mentioned needs to be resolved using DNS. Ensure that there is A record for autodiscover.mydomain.com OR exchangeserver.mydomain.com OR what ever is mentioned there.

BTW: the link given is crystal clear as to what needs to be done in such cases.

(in reply to kizzle911)
Post #: 10
RE: Set-OutlookProvider problem - 20.Oct.2008 4:04:32 PM   
kizzle911

 

Posts: 73
Joined: 13.May2008
Status: offline
Thanks for that info Elan and Exchange_geek but unfortunately I am still getting the security error.

We already have a certificate on the internet, webmail.company.com, and that is the name I found under Subject when I viewed the certificate. 

I tried Elan's instructions by typing Get-ClientAccessServer -Identity CASServer | FL .  I noticed that the AutoDiscoverServiceInternalUri had cas-01.server.local/Autodiscover/Autodiscover.xml.

I typed Set-ClientAccessServer -Identity CASServer -AutoDiscoverServiceInternalUri https://webmail.company.com/Autodiscover/Autodiscover.xml
 
I restarted IIS and I am still noticing the error when I start Outlook 2007.

Any ideas???

(in reply to Elan Shudnow)
Post #: 11
RE: Set-OutlookProvider problem - 20.Oct.2008 4:12:24 PM   
Elan Shudnow

 

Posts: 897
Joined: 4.Jan.2007
From: Chicago, IL
Status: offline
Are you using that FQDN for all of the services as well?

Set-ClientAccessServer -Identity CASServer -AutoDiscoverServiceInternalUri https://webmail.company.com/Autodiscover/Autodiscover.xml

Set-WebServicesVirtualDirectory -Identity “CASServer\EWS (Default Web Site)” -InternalURL https://webmail.company.com/EWS/Exchange.asmx -ExternalURL https://webmail.company.comi/EWS/Exchange.asmx -BasicAuthentication:$true

Set-OABVirtualDirectory -Identity “CASServer\OAB (Default Web Site)” -InternalURL https://webmail.company.com/OAB -ExternalURL https://webmail.company.com/OAB

Enable-OutlookAnywhere -Server CASServer -ExternalHostname “mail.shudnow.net” -ClientAuthenticationMethod “Basic”-SSLOffloading:$False

Set-ActiveSyncVirtualDirectory -Identity “CASServer\Microsoft-Server-ActiveSync (Default Web Site)” -ExternalURL https://webmail.company.com/Microsoft-Server-Activesync

Set-UMVirtualDirectory -Identity “CASServer\UnifiedMessaging (Default Web Site)” -InternalURL https://webmail.company.com/UnifiedMessaging/Service.asmx -ExternalURL https://webmail.company.com/UnifiedMessaging/Service.asmx -BasicAuthentication:$true

_____________________________

Elan Shudnow
Exchange MVP
http://www.shudnow.net

(in reply to kizzle911)
Post #: 12
RE: Set-OutlookProvider problem - 20.Oct.2008 6:21:29 PM   
kizzle911

 

Posts: 73
Joined: 13.May2008
Status: offline
For all my other services???  Well I use it for OWA and that's all I can think of.

Just to let you guys know, I never enabled autodiscover on the Exchange 2007 server since this is the first time I ran into this issue. 

Elan:  Do I need to set all those features eventhough I don't use them such as Unified Messaging, Active Sync??

(in reply to Elan Shudnow)
Post #: 13
RE: Set-OutlookProvider problem - 20.Oct.2008 6:24:08 PM   
Elan Shudnow

 

Posts: 897
Joined: 4.Jan.2007
From: Chicago, IL
Status: offline
Na, you don't have to enable all of them.  For example, if you don't use OA, no need to set the URL.  If you don't use EAS, you'll never hit the URL anyways.  If you're not UM enabled  your Voice Mail tab in Outlook 2007 won't even show up anyways for you to even contact the UM FQDN.  So no worries.  Just configure the services you need.

_____________________________

Elan Shudnow
Exchange MVP
http://www.shudnow.net

(in reply to kizzle911)
Post #: 14
RE: Set-OutlookProvider problem - 20.Oct.2008 6:57:31 PM   
kizzle911

 

Posts: 73
Joined: 13.May2008
Status: offline
Ok now I am unable to access OWA.

I typed the following commands:

Set-WebServicesVirtualDirectory -Identity “van-cas-01\EWS (Default Web Site)” -InternalURL https://webmail.company.com/EWS/Exchange.asmx -ExternalURL https://webmail.company.com/EWS/Exchange.asmx -BasicAuthentication:$true

Set-OABVirtualDirectory -Identity “van-cas-01\OAB (Default Web Site)” -InternalURL https://webmail.company.com/OAB -ExternalURL https://webmail.company.com/OAB

It still shows the security error and now I cannot log into OWA.  I can see the OWA mainpage but cannot get in.  How do I fix this???  How do I remove the settings???

(in reply to Elan Shudnow)
Post #: 15
RE: Set-OutlookProvider problem - 20.Oct.2008 7:26:40 PM   
Elan Shudnow

 

Posts: 897
Joined: 4.Jan.2007
From: Chicago, IL
Status: offline
The default settings use the netbios of the server and have ExternalURL set to $null. So you'd just use the same commands, replace the FQDN with the NetBIOS name of the server and set ExternalURL to $null.

Set-WebServicesVirtualDirectory -Identity "van-cas-01\EWS (Default Web Site)” -InternalURL https://NetBIOS/EWS/Exchange.asmx -ExternalURL $null -BasicAuthentication:$true

Those commands shouldn't prevent you from logging into OWA though.

_____________________________

Elan Shudnow
Exchange MVP
http://www.shudnow.net

(in reply to kizzle911)
Post #: 16
RE: Set-OutlookProvider problem - 20.Oct.2008 7:40:45 PM   
kizzle911

 

Posts: 73
Joined: 13.May2008
Status: offline
Elan, 

Thanks for your help.  It worked perfectly.  I don't get the security alert anymore.

And you're right, those settings had nothing to with OWA.  For some reason, I was able to log back in.

However,  I am still not sure why we need Autodiscover?? Also why Outlook 2003 worked perfectly and Outlook 2007??  Do have a proper explanation or can you point me a to a website that would explain why this feature is required?  Thanks.

(in reply to Elan Shudnow)
Post #: 17
RE: Set-OutlookProvider problem - 20.Oct.2008 7:51:47 PM   
Elan Shudnow

 

Posts: 897
Joined: 4.Jan.2007
From: Chicago, IL
Status: offline
Microsoft is trying to de-emphasize public folders.  De-emphasize as in they're not adding new features for public folders and they're adding other applications to take over the functionality of public folders.  An example is SharePoint with its shared contacts, discussion lists, etc...

Because of this, Outlook 2007 was given the functionality to obtain features that were previously in public folders through IIS.  For example, the OAB is a system folder within your public folders.  Your CAS will use the file distribution service to copy the OAB files from the OAB Generation server to the CAS.  This allows the OAB files to be distributed by the CAS.  This allows Outlook 2007 to bypass needing public folders for OAB.

So because of this, Outlook 2007 doesn't require any public folders to retrieve things like Free Busy, OAB, etc...  Outlook 2003 doesn't have the built in functionality to retrieve this data that way and must have public folders for things like OAB and Free/Busy.  That's why your Outlook 2003 was working fine.  It's not trying to contact these services by a URL and therefore won't get any certificate errors.

Make sense?

_____________________________

Elan Shudnow
Exchange MVP
http://www.shudnow.net

(in reply to kizzle911)
Post #: 18
RE: Set-OutlookProvider problem - 20.Oct.2008 8:11:57 PM   
kizzle911

 

Posts: 73
Joined: 13.May2008
Status: offline
Makes perfect sense.

One last question, the EWS feature, what is the purpose of this??  For OWA??

(in reply to Elan Shudnow)
Post #: 19
RE: Set-OutlookProvider problem - 20.Oct.2008 8:15:32 PM   
Elan Shudnow

 

Posts: 897
Joined: 4.Jan.2007
From: Chicago, IL
Status: offline
EWS = Exchange Web Services.  It accesses services such as the Availability Service for Free/Busy data as well as Out of Office information.

_____________________________

Elan Shudnow
Exchange MVP
http://www.shudnow.net

(in reply to kizzle911)
Post #: 20

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2007] >> Installation >> Set-OutlookProvider problem Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter