Skip to content

Files

Latest commit

 

History

History

Hybrid

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 10, 2021
Mar 11, 2021
Mar 27, 2023

Validating Hybrid Modern Authentication setup for Outlook for iOS and Android

This script allows you to check and see if your on-premises Exchange environment is configured correctly to use Hybrid Modern Authentication (HMA) with Outlook for iOS and Android. For this to work correctly, you will need to enable HMA and follow HMA Outlook for iOS and Android guidance to configure this feature properly.

Download the latest release here: https://github.com/microsoft/CSS-Exchange/releases/latest/download/Test-HMAEAS.ps1

To run the script, at minimum you will need a valid SMTP Address for a user that is located on-premises.

To test basic AutoDiscover and a Empty Bearer Authorization check you can run:

.\Test-HMAEAS.ps1 user@contoso.com

image-01

To test basic AutoDiscover with a custom AutoDiscover Name and also do Empty Bearer Authorization check you can run:

.\Test-HMAEAS.ps1 user@contoso.com -CustomAutoD autodiscover.contoso.com

image-04

To test basic EAS Connectivity you can run (you will need to use the users credentials for this test):

.\Test-HMAEAS.ps1 user@contoso.com -TestEAS

image-05