Solved

Exchange 2010 OOF and Free Busy authentication from another domain

Posted on 2014-02-13
16
1,055 Views
Last Modified: 2014-02-23
Hi,

We're in the middle of a messy migration at the moment. We have purchased another company and have brought them onto our premises. We just basically picked up their whole network and brought it on premises, but they are still in their own little bubble so to speak.

So we have 2 separate networks, with 2 separate Windows 2008 Active Directories, with 2 separate Exchange servers etc.

We have slowly been migrating people across into our environment. Domain A is our environment. Domain B is the company we bought.

We have migrated some computer accounts and domain accounts across to Domain A, whilst leaving their Exchange mailbox in Domain B.

We have also migrated some mailboxes across to Domain A whilst leaving their computer and domain and computer accounts in Domain B.

We weren't going to do a full Federated Trust thing with Cross Forest Migration. We are just exporting their PST from their Exchange 2010 server on Domain B, and importing it into their Domain A mailbox account.

So, the user is logged into a computer that is a member of Domain B, with an AD account that is a member of Domain B. When we configure their Outlook for the Domain A Exchange Server, it prompts for Domain A credentials, and they are good to go. (We have configured them with accounts in both domains).

I've just noticed though that Out of Office is not working, and neither is the Free Busy information.

For people that are logging into their computer using Domain A AD accounts and Domain A Exchange mailboxes, everything works properly. But for people that are logged in as Domain B accounts, this doesn't work.

I've done the Autodiscovery test within Outlook, and I notice that the first thing it does is look for autodiscovery information for Domain B, but then moves onto Domain A and it is successful.

I know this is a messy scenario, but it is necessary for a short period of time until we can sort some things out.

I'm just wondering if it's some sort of permissions thing in IIS for Exchange Web Services, or it's just the fact that this won't work because their AD account is still in Domain B.

I've also tried the registry hack to prefer a local XML file, and used the Autodiscover details for Domain A, but that doesn't work either.

Anyone got any ideas?

Thanks.

Steve
0
Comment
Question by:StevenAhmet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 10
  • 6
16 Comments
 
LVL 2

Expert Comment

by:CubeOver
ID: 39858126
What was the exact process for PST email migration?
This has nothing to do with Autodiscover, BTW.
0
 

Author Comment

by:StevenAhmet
ID: 39858150
Using EMC, "new-mailboxexport request" on Domain B mail server, and "new-mailboximportrequest" on Domain A Exchange server.
0
 
LVL 2

Expert Comment

by:CubeOver
ID: 39858159
0
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
LVL 2

Expert Comment

by:CubeOver
ID: 39858162
One more thing - how exactly you retargeted MS Outlook 2010 on computers of the migrated users? Did you delete the whole profile, of just changed server?
The setting may be cached in the profile.
Try deleting all profile configuration, then creating anew.
0
 

Author Comment

by:StevenAhmet
ID: 39858165
I created a new profile. I'm just having a look at that link you posted now.
0
 

Author Comment

by:StevenAhmet
ID: 39858184
This looks like it will only work if the domains are federated. Is that true?
0
 
LVL 2

Expert Comment

by:CubeOver
ID: 39858198
You should not need to create a trust between domains at this stage.
Have you created new users in the same manner as "normal" residents of Domain A?
Have you checked the Outlook error log?
http://www.technipages.com/outlook-2010-2007-enable-disable-logging
Have you checked email addresses of migrated users same as residents?
0
 

Author Comment

by:StevenAhmet
ID: 39858225
Yes, new users are created in the exact same way.

After enabling Outlook logging, I can see when I try to access Out of Office, I'm getting a HTTP 500 error.
The response says "Unable to access an account or mailbox".

I looked at this;

http://support.microsoft.com/kb/2596516

The hotfix was already installed. I added the Registry entry. I had to create the "Security" key folder, then the WinhttpAuth DWORD, but still no go.

I'm still getting the same error in logging.
0
 

Author Comment

by:StevenAhmet
ID: 39860923
Just wanted to make sure I add that;

1) Everything works correctly using OWA, (for all users). I can see Free/Busy info for all users and set OOF correctly.
2) Out of Office/Free Busy works correctly for all users logging into the Domain A domain.

I thought for sure that MS article was going to be the ticket as it describes the situation perfectly......"You open a mailbox profile in Microsoft Outlook 2010 by using credentials that are different to the credentials that you used to log on to Windows."

But still no go. Any further help would be appreciated.

Steve
0
 
LVL 2

Expert Comment

by:CubeOver
ID: 39860982
If you are using an internet proxy AND it is able to reach your CAS role, try removing CAS from proxy exception list.
Try Outlook 2013. Do you have latest patched on Office And Exchange?
0
 

Author Comment

by:StevenAhmet
ID: 39863218
No internet proxy.
Office 2010 and Exchange are patched.

We don't have Outlook 2013 anywhere in the organisation so can't try it.
0
 

Author Comment

by:StevenAhmet
ID: 39863242
**Update: I've done another test;

1) Removed the computer from Domain B so it is just in a workgroup. Not added into any domain.
2) Logged in as a local administrator of the computer.
3) Configured Outlook to use the same Domain A mailbox I've been testing with.

Out of Office and Free/Busy both work. Not sure where to go from here now.
0
 

Author Comment

by:StevenAhmet
ID: 39863310
OK, so I added the computer back to Domain B.
Logged in as the Domain B user.
Opened up Outlook again that is configured with the Domain A mailbox.
And now it works!!

I just have to try it now with some user's actual computers.
0
 

Accepted Solution

by:
StevenAhmet earned 0 total points
ID: 39869075
OK, I worked it out. It was working on some machines and not on others.

I was testing with a machine that I had removed from all domains so was just connected to a Workgroup.

I won't go into the series of events that led me to my answer, but it had to do with network profiles, ie Public and Work, turning Firewalls on and off, allowing Outlook through the firewall etc.

I then got to Control Panel\User Accounts\Stored Credentials. On one particular machine, it prompted me for the domain credentials of the mailbox which I know I had previously entered. So I checked in my Stored Credentials and saw a lot more entries than I was expecting.

I checked Outlook to see if OOF and Appointments were working, and lo and behold, they were.

So I removed the following from Stored Credentials;

Windows Credentials
mailserver.domain.com.au   <- This was the FQDN of the mail server
With their DOMAIN\Username and password

Generic Credentials
MS.Outlook:username@mailserver.domain.com.au:PUT
With their DOMAIN\username and password

Once this was removed, it stopped working.
If I added them back, it worked again.

The only thing I can think of, is that there was something firewall related that was stopping contact to the mail server, which then should have asked for authentication.

So, I can add these entries manually into the computers that I need to and it all works!
0
 
LVL 2

Expert Comment

by:CubeOver
ID: 39869097
I do not think this was firewall-related.
This is definitely credentials you mentioned.
Outlook+Exchange uses complex combination of protocols to different destinations, and all works great once you are in a trusted domain.
Once you are out of trusted domain, you rely sorely on user's stored or entered credentials for auth to each proto/destination pair.
BUT
not all protocols are able to detect account conditions like : password expiry, password incorrect, account locked etc.
Not all code in Outlook is able to process error codes correctly and raise appropriate GUI warnings/dialogs. Obviously this is the case in OoO and Free/Busy info.
What you found is a good solution, but you should also test what happens if user's password is expired and needs to be changed in Domain A while they are working on PCs in Domain B. Or the incorrect logins leading to account lockouts.

I have had a similar case where domain-based DFS namespace was redirecting non-domain computer/users to different individual servers but users had no stored credentials for those.
The MS DFS code was not handling redirects to file shares in the same user context as for the original DFS namespaces. I had to get rid of DFS and use a simple single file share. Joining domain was not an option since many devices were BYO and had non-Pro Windows 7/8 versions installed.

IMO you ought to focus efforts on completing the migration, at the same time let Domain B users know of possible issues and workarounds.
0
 

Author Closing Comment

by:StevenAhmet
ID: 39880399
None of the answers provided by the one other expert were helpful in the solution.
I got to the solution on my own.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
how to add IIS SMTP to handle application/Scanner relays into office 365.
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question