Ask a question

J.C. Wallace

SBS 2008 Exchange 2007 to Exchange 2013: Outlook Desktop Authentication Failures

On an SBS2008 Migration we’ve installed Ex2013 on 2012-R2 & migrated all the Mailboxes and while OWA and Active Sync are working fine, Outlook Desktop (on the same LAN) is producing authentication failures, i.e., it keeps requesting credentials and most of the time it doesn’t accept them.

Exchange 2007 is still on the SBS2008 box (as we’re having problems uninstalling that too) but I don’t know if it’s that Ex2007 is still online or if it’s related to this...

Migrate Exchange Server 2007 from SBS 2008 to a new Exchange Server 2013 on Windows Server 2012 R2

In Chapter 5 , Step 16 the Set-VirtualDirectories.ps1 Script threw some errors but I was able to go in and set them manually (and I’m confident those are correct) however I’m not sure how to handle this one because PowerShell doesn’t seem to think that there is a  MapiVirtualDirectory ?!

From the Set-VirtualDirectories.ps1 Script

PS C:\> Set-MapiVirtualDirectory "$HostName\mapi (Default Web Site)" -InternalUrl ((Get-MapiVirtualDirectory "$HostName\mapi (Default Web Site)").ExternalUrl)

Get-MapiVirtualDirectory : The term 'Get-MapiVirtualDirectory' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

 

Please advise...


asked09/09/2019 07:22
175 views
Add Comment
Host

You need to run this from Exchange Management Shell and NOT Powershell

J.C. Wallace

Sorry,  I actually did run it from the EMS the first time... but I’ve been at this for 21 straight hour now and I’m losing focus...

This is what it returns in the Ex2013 EMS

[PS] C:\Windows\system32>Set-MapiVirtualDirectory "$HostName\mapi (Default Web Site)" -InternalUrl ((Get-MapiVirtualDirectory "$HostName\mapi (Default Web Site)").ExternalUrl)

To configure the MAPI/HTTP feature you must specify the InternalUrl, ExternalUrl, or both.

    + CategoryInfo          : InvalidArgument: (TW-SVR-28\mapi (Default Web Site):ADObjectId) [Set-MapiVirtualDirectory], ArgumentException

    + FullyQualifiedErrorId : [Server=TW-SVR-28,RequestId=75e8661a-2848-4f82-9f03-1fdd076c67d4,TimeStamp=9/9/2019 7:37:26 AM] [FailureCategory=Cmdlet-ArgumentException] 7C955059,Microsoft.Exchange.Management.SystemConfigurationTasks.SetMapiVirtualDirectory

    + PSComputerName        : tw-svr-28.twebber.local

 

Thanks


replied 09/09/2019 07:46
Host

Pls, send me Teamviewer credentials to mariette at server-essentials.com? I will fix this for you


replied 09/09/2019 08:04
J.C. Wallace

Thank you so much Mariette!  That was strange having you remote in to help me... It’s normally me remoting in to help everybody else :-)

Everything appears to be fine now... and not a moment too soon. That shop will be opening for business in about an hour!

Thank again and have a great day!


replied 09/09/2019 10:03
Mariette Knap

Thank you!


replied 09/09/2019 12:35
Last Activity 09/09/2019 12:35

No answers found

Add an Answer