Skip to content

Commit 64912fc

Browse files
committed
Initial Checkin
Moving from personal repo
1 parent 0db14a2 commit 64912fc

10 files changed

+754
-0
lines changed

Hybrid/README.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Validating Hybrid Modern Authentication setup for Outlook for iOS and Android
2+
3+
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.
4+
5+
To run the script, at minimum you will need a valid SMTP Address for a user that is located on-premises.
6+
7+
To test basic AutoDiscover and a Empty Bearer Authorization check you can run:
8+
`.\Test-HMAEAS.ps1 [email protected]`
9+
10+
![image-01](img/img01.png)
11+
12+
To test basic AutoDiscover with a custom AutoDiscover Name and also do Empty Bearer Authorization check you can run:
13+
`.\Test-HMAEAS.ps1 [email protected] -CustomAutoD autodiscover.contoso.com`
14+
15+
![image-04](img/img04.png)
16+
17+
To test basic EAS Connectivity you can run (you will need to use the users credentials for this test):
18+
`.\Test-HMAEAS.ps1 [email protected] -TestEAS`
19+
20+
![image-05](img/img05.png)

Hybrid/Test-HMAEAS.ps1

+320
Large diffs are not rendered by default.

Hybrid/img/img01.png

64.2 KB
Loading

Hybrid/img/img02.png

48.7 KB
Loading

Hybrid/img/img03.png

49 KB
Loading

Hybrid/img/img04.png

63.8 KB
Loading

Hybrid/img/img05.png

171 KB
Loading

Retention/ConvertPrStartTime.ps1

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Example:
2+
# .\ConvertPrStartTime.ps1 000000008AF3B39BE681D001
3+
#
4+
param($byteString)
5+
$bytesReversed = ""
6+
for ($x = $byteString.Length - 2; $x -gt 7; $x-=2) { $bytesReversed += $byteString.Substring($x, 2) }
7+
[DateTime]::FromFileTimeUtc([Int64]::Parse($bytesReversed, "AllowHexSpecifier"))

Retention/Get-MRMDetails.ps1

+393
Large diffs are not rendered by default.

Retention/README.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Get-MRMDetails
2+
This script will gather the MRM configuration for a given user. It will collect the current MRM Policy and Tags for the Exchange Organization, the current MRM Policy and Tags applied to the user, the current Exchange Diagnostics Logs for the user, and Exchange Audit logs for the mailbox selected. The resulting data will allow you to see what tags are applied to the user and when the Managed Folder Assistant has run against the user. It also will grab the Admin Audit log so that we can tell if the Tags or Polices have been modified and who modified them.
3+
4+
The syntax for this script is as follows:
5+
6+
.\Get-MRMDetails.ps1 -Mailbox <user>
7+
8+
Example:
9+
10+
.\Get-MRMDetails.ps1 -Mailbox [email protected]
11+
12+
13+
14+
For Any issues or to get the latest version or contribute goto https://aka.ms/GetMRMDetails

0 commit comments

Comments
 (0)