TechShizz | All posts tagged 'Outlook 2013'

Microsoft Outlook can’t start Microsoft InfoPath

Problem

When launching outlook you receive a popup saying "Microsoft Outlook can’t start Microsoft InfoPath"

Cause

Unknown

Solution

 Run Regedit & go to HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Options\Mail

If the "Mail" kay doesnt exisit, create it.

Create a new DWORD called “DisableInfopathForms” & set the value to 1

Reference, Links and Imges

 http://www.cottenhamcomputers.co.uk/microsoft-outlook-cant-start-microsoft-infopath/ 

Read Receipts showing wrong time or time zone for Office 365 mailbox

If you get read receipts that state the time it was read was the previous day, or the time is just wrong this could be to do with the time settings on the mailbox.

Microsoft have a poor guide on this explaining WHY it happens, but does not say how to resolve it. 

https://support.microsoft.com/en-gb/help/2800633/read-receipt-from-an-office-365-recipient-displays-incorrect-time-zone-information

Here is the solution:

We can check this by first connecting to Office 365 via Azure PowerShell, and then running the follwing command. 

Get-MailboxRegionalConfiguration -Identity rtownsend@domain.co.uk | fl

If the TimeZone is wrong, it will be obvious. You will need to change it to your users local time zone. To see a list of time zones run this command in PowerShell.

$TimeZone = Get-ChildItem "HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Time zones" | foreach {Get-ItemProperty $_.PSPath}; $TimeZone | sort Display | Format-Table -Auto PSChildname,Display

Once you know your time zone, run the following (replacing your correct time zone). 

Set-MailboxRegionalConfiguration -Identity rtownsend@domain.co.uk -TimeZone "GMT Standard Time"

https://technet.microsoft.com/en-us/library/dd351103(v=exchg.160).aspx

 

Error: "The security certificate has expired or is not valid" in Outlook

After migrating companies from on-premises exchange to Office 365, user may see the following error. 

"The security certificate has expired or is not yet valid"

This is because the local exchange server, although switched off still runs the IIS portion of exchange. The OWA is pointing users Outlook to look the the previous certificate that was used, not Microsoft's servers.

To fix this we need to amend the AutoDiscoverServiceInternalUrl value. 

1. Log on to the old on-premeises exchange and start the Exchange Power Shell

2. Check current value by running:

Get-ClientAccessServer -Identity "[SERVERNAME]" | Format-List

I would recommend screen taking a screen shot of this in case you need to revert back. Next, ping your office 365 autodiscover record and verify it's correct. E.g.

Ping autodiscover.domain.com

If all is OK you need to update as follows:

Set-ClientAccessServer -Identity "MBX-01" -AutoDiscoverServiceInternalUri "https://mbx01.contoso.com/autodiscover/autodiscover.xml"

Once this is done, clear the DNS server cache and restart the DNS service. Then on the client machines flush dns:

ipconfig /flushdns

This should resovle the error

Ref: https://technet.microsoft.com/en-us/library/bb125157(v=exchg.160).aspx

Outlook wont Load stuck on profile loading: Error: X-AutoDiscovery-Error: LiveIdBasicAuth:FederatedStsUnreachable: and failed logon error - STSFailure

We have an Office 365 Single Sign on environment where users were having issues starting outlook. The application would hang on loading profile. Users could not launch outlook, nor create a new profile. Users COULD log in to OWA (Office 365) and authenticate against the ADFS. 

No changes were made to the network on the on-prem nor the Office 365 environment.

We tried the Microsoft Support and Recovery Assistant for Office 365 but this tool is not supported for Single Sign on environments. 

We ran the following tests on https://testconnectivity.microsoft.com:

Single Sign on - Passed

DNS Tests - Passed

Outlook Connectivity Tests - Failed due to Autodiscover failure

Autodiscover - Failed with the following code:

A Web exception occurred because an HTTP 503 - ServiceUnavailable response was received from Unknown.
HTTP Response Headers:
Retry-After: 30
request-id: 8adf642c-4dac-4a66-972f-5963d53f2381
X-CalculatedBETarget: vi1pr0701mb3005.eurprd07.prod.outlook.com
X-AutoDiscovery-Error: LiveIdBasicAuth:FederatedStsUnreachable:<X-forwarded-for:40.85.91.8><ADFS-Business-682ms>failed logon error - STSFailure - '<s:Fault xmlns:s="http://www.w3.org/2003/05/soap-envelope"><s:Code><s:Value>s:Sender</s:Value><s:Subcode><s:Value xmlns:a="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">a:InvalidSecurity</s:Value></s:Subcode></s:Code><s:Reason><s:Text xml:lang="en-GB">An error occurred when verifying security for the message.</s:Text></s:Reason></s:Fault>'<FEDERATED><UserType:Federated>Logon failed "firstname.secondname@our-domain.com".;

 

We confirmed connectivity to ADFS with:

https://sts.our-domain.com/adfs/services/trust/2005/usernamemixed

We were a little stuck at this point so we contacted Microsoft for assistance.

After several hours the problem was part resolved by enabling the Modern Authentication Process.

Reference: 

https://blogs.office.com/2015/03/23/office-2013-modern-authentication-public-preview-announced/

 

https://support.office.com/en-us/article/Enable-Modern-Authentication-for-Office-2013-on-Windows-devices-7dc1c01a-090f-4971-9677-f1b192d6c910?ui=en-US&rs=en-US&ad=US

 

https://social.technet.microsoft.com/wiki/contents/articles/32711.exchange-online-how-to-enable-your-tenant-for-modern-authentication.aspx

 

https://blogs.office.com/2015/11/19/updated-office-365-modern-authentication-public-preview/

 

We still have the Autodiscover errors, but this got the users working. 

 

The fix was to connect to Microsoft Exchange Online via PowerShell and run the follwoing:

Set-OrganizationConfig -OAuth2ClientProfileEnabled:$True

 

Update!!:

Issue has now been fully resolved. After much messing around and hours of Microsoft Sernior technicians, I spotted that the TIME on the ADFS server and the time on the ADFS Proxy server were out by 7 minutes. Each machine was on a different physical host.

I configured a tursted time source on each physical host, re-tested the testconnectivity.microsoft.com and the problem was resoved!

The difference in time (+5 minutes) was the cause.

Prepare G-Mail account for Outlook | Setting up Gmail account in Outlook

You now have to enable two step authentication and create an APP Password to be able to use your G-Mail account in Outlook.

https://support.office.com/en-gb/article/Prepare-your-Gmail-or-Google-Apps-account-for-connecting-to-Outlook-and-Office-365-b650957d-4446-425a-ab78-01b89cbead93

 

My opinion,

Complete ball ache!