Hello there!

Need Help? We are right here!

miniOrange Email Support
success

Thanks for your Enquiry.

If you don't hear from us within 24 hours, please feel free to send a follow-up email to info@xecurify.com

Search Results:

×

Two-Factor Authentication (MFA/2FA) for Outlook Web App (OWA) login


Microsoft Outlook Web App (OWA) MFA/2FA is a security feature requires two factors to log in to your OWA account and Exchange admin center (EAC). The first factor is something you know, such as your username and password. The second factor is something you have, such as a security key or an authenticator app.
miniOrange provides various MFA methods and integrates seamlessly with multiple third-party identity providers, simplifying the setup and usage of OWA MFA.
OWA Multi-Factor Authentication (MFA) offers several benefits, including increased security, reduced risk of data breaches, and increased productivity.
Here are some additional benefits of OWA MFA:

  • Protectecting your organization against phishing attacks.
  • Helps to prevent unauthorized access to your email and other sensitive data.
  • Contributes to enhancing your compliance with industry regulations.
OWA MFA: OWA Exchange Gateway Single Sign-on login


Follow the Step-by-Step Guide given below to enable Two-Factor Authentication (2FA) for outlook web access (OWA) or Exchange

1. Configure OWA / Exchange Gateway in miniOrange IdP

  • Login into miniOrange dashboard from the Admin Console.
  • Click on Add Application button.
  • Outlook Web Access Single Sign-On (SSO) add app

  • In choose application type, click on create app button in SAML/WS-FED application type.
  • OWA SSO choose app type

  • In the next step, search for your application from the list, if your application is not found. Search for "custom" and you can set up your app via Custom WS-Fed App.
  • Exchange OWA Single Sign-on (SSO) select SAML tab

  • Enter the following information in the respective fields.
    • Custom Application Name: Outlook Web access Owa
    • WT-Realm: https://{owa-url} e.g. https://mail.example.com/owa
    • Reply URL: https://{owa-url} e.g. https://mail.example.com/owa
    • Set WS-Fed validity period: 300s
    Outlook Web Access Single Sign-On (SSO)

  • Under Attribute Mapping section, enter the following attributes as shown below:
  • Outlook Web Access Single Sign-On (SSO)

  • Click on Save.

2. Configure Exchange / OWA for Sign-On using miniOrange

  • After saving the app, go to Apps and click on Select >> Metadata against the app saved.
  • SharePoint On-premise Single Sign-On (SSO) manage apps

  • Select Show Metadata Details to reveal the details shown in the image below.
  • SharePoint On-premise Single Sign-On (SSO) manage apps

  • Copy the WS-Federation Reply URL and download the X.509 Certificate.
  • Add above certificate (obtained in above step) to the Trusted People store on the Exchange Server using the steps below:
    • Got to Management Console. Open run dialog (Win + R) and type mmc and press enter.
    • In Management Console, go to File > Add or Remove Snap-ins (Ctrl + M).
    • Search for Certificates on the left side and press Add.
    • In the Certificate Snap In window, select Computer account and press Next. Then select Local Computer and press Finish.
    • You will see an entry for Certificates (Local Computer) in the right pane. Click OK to close the Add or Remove Snap-ins window.
    • You will see a branch named Certificates created under Console Root. Expand the Certificates branch and select Trusted People.
    • Right click on Trusted People > Find > Import and click on Next.
    • Choose the location of the downloaded certificate file you created above and click on Next, again Next and Finish.
    • You have successfully added a Signing Certificate to Trusted People. Now close Management Console and choose No on the Save data prompt.
  • Execute the commands below on the Exchange Server using the Exchange Management Shell.
  • In the below command, ##Base URL## is the exchange/OWA host. The command has both URLs: One ending in / and the other one which does not contain a trailing slash.
    $uris=@("https://##Base URL##/owa/","https://##Base URL##/ecp/","https://##Base URL##/owa","https://##Base URL##/ecp")
  • In the below command, the ##miniOrange URL## is the WS-Federation Reply URL. The Cert Thumbprint is the SHA-1 thumbprint of the certificate you downloaded.

    Note: Make sure the certificate thumb print is in uppercase.


    Set-OrganizationConfig -AdfsIssuer "##miniOrange URL##" -AdfsAudienceUris $uris -AdfsSignCertificateThumbprint ##Cert Thumbprint##
    Get-EcpVirtualDirectory | Set-EcpVirtualDirectory -AdfsAuthentication $true -BasicAuthentication $false -DigestAuthentication $false -FormsAuthentication $false -WindowsAuthentication $false
    Get-OwaVirtualDirectory | Set-OwaVirtualDirectory -AdfsAuthentication $true -BasicAuthentication $false -DigestAuthentication $false -FormsAuthentication $false -WindowsAuthentication $false -OAuthAuthentication $false
    # Restart w3svc and was net stop was /y net start w3svc

FAQ

How to disable miniOrange Login for Exchange?

  • You can run the below commands in Exchange Management Shell to disable federation with miniOrange and enable Forms based authentication.
  • Get-OwaVirtualDirectory | Set-OwaVirtualDirectory -AdfsAuthentication $false -BasicAuthentication $false -DigestAuthentication $false -FormsAuthentication $true -WindowsAuthentication $false -OAuthAuthentication $false
    Get-EcpVirtualDirectory | Set-EcpVirtualDirectory -AdfsAuthentication $false -BasicAuthentication $false -DigestAuthentication $false -FormsAuthentication $true -WindowsAuthentication $false
    # Restart w3svc and was net stop was /y net start w3svc

External References