Pages

Friday, November 10, 2017

ManageEngine - Mail fetching and mail sending issues faced by Office 365 users

Mail fetching and mail sending issues faced by Office 365 users.
Nirmal D 10 months ago Answered
Dear User(s)

Due to an update in Office 365, couple of our users are facing Incoming and Outgoing Mail issue. If you are one among them, please follow the below steps to fix it.

Sunday, October 15, 2017

Remvoe & Create OWA Exchange Back End

1. Remove OWA  (Exchange Back End).
Remove-OwaVirtualDirectory -Identity "ex1\owa (Exchange Back End)"

[PS] C:\Windows\system32>Remove-OwaVirtualDirectory -Identity "ex1\owa (Exchange Back End)"

Confirm
Are you sure you want to perform this action?
Outlook Web App virtual directory "ex1\owa (Exchange Back End)" is being removed.
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"): y
[PS] C:\Windows\system32>

2. Create OWA  (Exchange Back End).
New-OwaVirtualDirectory -WebSiteName "Exchange Back End" -Server ex1

[PS] C:\Windows\system32>New-OwaVirtualDirectory -WebSiteName "Exchange Back End" -Server ex1
Name                                    Server                                  OwaVersion
----                                    ------                                  ----------
owa (Exchange Back End)                 EX1                                     Exchange2013
[PS] C:\Windows\system32>

Friday, October 13, 2017

Re-create OWA virtual Directories in Exchange 2013

Re-create OWA virtual Directories in Exchange 2013

Some times, you may be fed up with some sort of issues related to ‘owa’ , ‘ecp’ or any other virtual directories. Any repair or fine tuning mayn’t fix the issue and you will have to re-create the virtual directories from the scratch.
The difference in Exchange 2013 is that, it has got 2 websites hosted at IIS (Default Website and Exchange Back End).
I am presenting a simple scenario in which I describes how to remove the owa virtual Directories and how to re-create the owa virtual directories in Exchange 2013 for both Default Website and Exchange Back End

Remove the owa virtual Directories
[PS] C:\Windows\system32>Remove-OwaVirtualDirectory “ServerName\owa (Default Web Site)”
Confirm Are you sure you want to perform this action? Outlook Web App virtual directory “ServerName\owa (Default Web Site)” is being removed. [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is “Y”): y
[PS] C:\Windows\system32>Remove-OwaVirtualDirectory “ServerName\owa (exchange back end)”
Confirm Are you sure you want to perform this action? Outlook Web App virtual directory “ServerName\owa (exchange back end)” is being removed. [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is “Y”): y

 Re-Create the owa virtual Directories
[PS] C:\Windows\system32>New-OwaVirtualDirectory  -InternalUrl “https://ServerName/owa” -ExternalUrl “https://mail. domain.com/owa”
[PS] C:\Windows\system32>New-OwaVirtualDirectory  -InternalUrl “https://ServerName/owa” -ExternalUrl “https://mail. domain.com/owa” -WebSiteName “Exchange Back End”
Hope you are now free from the owa virtual directories remove/recreate troubles

Tuesday, October 10, 2017

OWA/ECP login loop on Exchange 2010/13/16

OWA/ECP login loop on Exchange 2010/13/16
On Exchange server, configuring virtual directory might be pain sometime. A simple misconfiguration of Virtual directory might be the worst nightmare and create login loop, because I had this few days back. While configuring additional CAS server  after few changes done on the Virtual directory, my OWA/ECP page start to go on loop whenever I tried to get login. I was on dark what mistake I had made. So, I tried to list down what might the issue that is causing on looping of my OWA/ECP page. While listing down, I have found two things.
  1. SSL Certificate.
  2. Issue with configuration of Virtual Directory.
SSL Certificate can also be the reason behind this kind of issue. So, you need to make sure you do have correct SSL assigned with IMAP, POP, IIS and SMTP. Also 2nd thing is that SSL certificate is across all of your Exchange server. If the issue is with SSL Certificate, you are lucky and can be resolve easily. But with virtual directory it is not so.
On my Earlier Blog, you can find how to configure Virtual Directory. But as going on, I came for the conclusion with that might not be enough if OWA/ECP login loop issue arises. Hence, here I have made an Table with the specific configuration required while configuring the OWA/ECP Virtual Directory.
On the IIS Manager expand to the default web site and check if the configuration you have made are as of the below Table are not.
Table: Chart of Virtual Directory configuration.
Virtual directory
Default IIS Authentication methods
SSL settings
Default authentication methods
Exchange Admin Center (EAC)
HTTP Redirect
Authentication Methods
Exchange Management
Shell (EMS)
Sites \ Default Web Site
• Anonymous authentication
• Not Required
 Available through EAC
YES
 Internal
 External
aspnet_client• Anonymous authentication• SSL required
NO


Autodiscover• Anonymous authentication
• Basic authentication
• Windows authentication
 • SSL required• Integrated Windows authentication
• Basic authentication
No
Basic, Ntlm, WindowsIntegrated, WSSecurity, OAuthBasic, Ntlm, WindowsIntegrated, WSSecurity, OAuth
ECP
(Exchange Control
Panel)
• Anonymous authentication
• Basic authentication
 • SSL required• Use-forms-based authentication
No
 Basic, Fba Fba
EWS
(Exchange
Web Services)
• Anonymous authentication
• Basic authentication
 • SSL required• Integrated Windows authentication
No
Ntlm, WindowsIntegrated, WSSecurity, OAuthNtlm, WindowsIntegrated, WSSecurity, OAuth
Mapi • Windows authentication • SSL required Not available in EAC
No
Ntlm, OAuth, NegotiateNot configured
Microsoft-Server-Active-Sync• Basic authentication • SSL required• Basic authentication
• Ignore client certificate
No
Not set *
All methods can be used.
Not set *
All methods can be used.
OAB
(Offline
Address Book)
• Windows authentication
None available
No
WindowsIntegrated, OAuthWindowsIntegrated, OAuth
OWA (Outlook Web App)• Basic authentication• SSL required • Use-forms-based authentication
• Domain\user name
No
 Basic, Fba Basic, Fba
OWA\Calendar• Anonymous authentication• Ignore client certificatesNone available
No


OWA\Integrated• Windows authentication• SSL required
• Ignore client certificates
None available
No


OWA\oma (Outlook
Mobile
Access)
• Basic authentication• Ignore client certificatesNone available
No


PowerShell• Windows authentication• Not Required None set
No
 {} {}
Rpc• Basic authentication
• Windows authentication
• SSL required
No


Similarly, only configuration of Default website is not going to solve this issue. Hence you need more Knowledge on configuration of Exchange Back End site too, else you will keep on going loop. Below is the detail configuration you can have on Exchange Back End.
Table: Exchange Back End Virtual Directory Configuration.
Virtual directoryIIS Default Authentication methodsIIS SSL settingsHTTP Redirect
Exchange Back End
• Not RequiredYes
Autodiscover• Anonymous authentication
• Windows authentication
• SSL required
• Ignore client certificates
No
 ecp• Anonymous authentication
• Windows authentication
• SSL required
• Ignore client certificates
No
 EWS• Anonymous authentication
• Windows authentication
• SSL required
• Ignore client certificates
No
 Exchange*
• SSL required
• Ignore client certificates
No
 Exchweb*
• SSL required
• Ignore client certificates
No
 mapi*• Anonymous authentication• SSL required
• Ignore client certificates
No
 Microsoft-Server-ActiveSync• Basic authentication• SSL required
• Ignore client certificates
No
 OAB• Windows authentication• SSL required
• Ignore client certificates
No
owa• Anonymous authentication
• Windows authentication
• SSL required
• Ignore client certificates
No
owa\Calender• Anonymous authentication• Ignore client certificatesNo
 PowerShell• Windows authentication • SSL required
• Accept client certificates
No
Public*
• SSL required
• Ignore client certificates
No
 PushNotifications• Anonymous authentication
• Windows authentication
• SSL required
• Ignore client certificates
No
 Rpc• Windows authentication• Ignore client certificatesNo
 RpcWithCert• Windows authentication• Ignore client certificatesNo
I hope this will help you solving the Exchange OWA/ECP login loop issue. 🙂

Sunday, October 8, 2017

An old password still works after you change it in Outlook on the Web

https://support.microsoft.com/en-us/help/267568/an-old-password-still-works-after-you-change-it-in-outlook-on-the-web

Friday, October 6, 2017

Exchange 2013 EAC / ECP Blank Screen

Exchange 2013 EAC / ECP Blank Screen

When trying to log in into the new Exchange 2013 EAC / ECP you encounter a plain blank screen and get no options at all. The URLs you may see this error on are below.You must attach to these addresses on the CAS server so you need the CAS role installed.
https://ServerName/ecp
https://ServerName/owa
Ive seen this with two seperate issues, one is SSL cert related and one is corruption. If it is SSL related you will see this error in event viewer.

Wednesday, October 4, 2017

A fatal alert was generated and sent to the remote endpoint. This may result in termination of the connection. The TLS protocol defined fatal error code is 51. The Windows SChannel error state is 900.

In Group Policy Editor (run: gpedit.msc),  went to Computer Configuration > Administrative Templates > System > Distributed COM > Application Compatibility and enabled "allow local activation security check exemptions"

Monday, October 2, 2017

https://www.vcloudnine.de/microsoft-exchange-2013-shows-blank-ecp-owa-after-changes-to-ssl-certificates/

EDIT
This issue is described in KB2971270 and is fixed in CU6.
I ran a couple of times in this error. After applying changes to SSL certificates (add, replace or delete a SSL certificate) and rebooting the server, the event log is flooded with events from source “HttpEvent” and event id 15021. The message says:
If you try to access the Exchange Control Panel (ECP) or Outlook Web Access (OWA), you will get a blank website. To solve this issue, open up an elevated command prompt on your Exchange 2013 server.
Check the certificate hash and appliaction ID for 0.0.0.0:443, 0.0.0.0:444 and 127.0.0.1:443. You will notice, that the application ID for this three entries is the same, but the certificate hash for 0.0.0.0:444 differs from the other two entries. And that’s the point. Remove the certificate for 0.0.0.0:444.
Now add it again with the correct certificate hash and application ID.
1
2
3
C:\windows\system32>netsh http add sslcert ipport=0.0.0.0:444 certhash=1ec7413b4fb1782b4b40868d967161d29154fd7f appid="{4dc3e181-e14b-4a21-b022-59fc669b0914}"
 
SSL Certificate successfully added