Skip to main content
Laura Rogers @WonderLaura

Laura Rogers @WonderLaura

Go Search
SharePoint911
Our Services
Training
Our Team
About SP911
Important Links
SharePoint 2010
Contact Us
  

SharePoint911 > Blogs > Laura Rogers @WonderLaura > Posts > Outlook Web Access Web Parts

 Posts

Outlook Web Access Web Parts

This is my first blog post, ever.  So, I'll start with something simple.  Well, it starts off simple, but the end leaves a little to be desired.  Here goes...

Outlook Web Access web parts are meant for use on SharePoint My Sites.

Each Outlook Web Access web part has the following required fields:
Mail server address
Mailbox

Now, for end users, the Mailbox field is pretty easy, since it only requires their email address.  Unfortunately, it seems that the Mail server address field seems to be the main reason that a lot of people don’t use these web parts.  Most end users don’t know their email server name.

Here’s how to set the Mail server address field to auto-populate for a single user:

1. In Central Admin, go to your Shared Services Administration site.
2. Click on User Profiles & Properties
3. Click View User Profiles
4. Find your own account name
5. Edit your profile
6. Scroll down to the Outlook Web Access URL field.  This is the one to fill in.

Here’s how to determine what URL goes in here.  You do need to know the server name of at least one email server in your company.  Log into your Outlook Web Access, and look at the URL after you’ve logged in.  It probably looks like https://email.company.com/exchange
For ours, I simply change it to http, and replace email.company.com with an email server name.  It doesn’t have to even be my mailbox server, it can be any mail server in the same domain.  So, the result is http://servername/exchange

7. Save your profile
8. Go to your My Site, and when you add OWA web parts, the Mail server address field will already be filled in.
9. Also, as a bonus, you’ll notice that there’s a new link at the top of your My Site, called “My OWA”.  This link will take you directly to OWA, without having to log in!

Okay, so that took care of one user, how do we get everyone’s Outlook Web Access URL field to populate?  In SSP, User Profile & Properties, View Profile Properties, edit that field.  It appears that the only way this will work is to connect to some data source.  Pick a custom field in Active Directory to map to, use a script to automatically fill in all user AD accounts with http://servername/exchange, and you’re good to go.

That last sentence is the complicated part, so if anyone reading this tries it, let me know how it goes.

Comments

Anders Rask

Hi Laura,

Nice to see you start blogging, i keep promising myself ill start “when i get the time”, but there always seems to be a mountain of tasks ahead of me 

Here’s a quick powershell script I throw together for ya, that will insert the field directly in User Profiles

$siteUrl = “http://ssp/ssp/admin” #replace with your ssp url
$sites = new-object Microsoft.SharePoint.SPSite($siteUrl)
$serverContext =[Microsoft.Office.Server.ServerContext]::GetContext($sites)

$sites.Dispose() # clean up SPRequest objects

$userProfileManager = new-object Microsoft.Office.Server.UserProfiles.UserProfileManager($serverContext)

foreach ( $userProfile in $userProfileManager )
{
$userProfile["SPS-OWAurl"].Value = “https://yourOWS”
$userProfile.Commit()
}

keep the blog posts coming
Anders “yep im coming to San Diego” Rask
John Ross at 10/16/2009 6:28 PM

Bob Fox

Very nice Laura. Maybe add that script you mentioned towards the end or provide a deeper explaination and this would be very helpfull for folks that arent familiar with this.

Great job keep it up

Bob
John Ross at 10/16/2009 6:28 PM

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.

Your Email *


Body *


CommentUrl


Attachments