Skip to content

Commit

Permalink
Merge pull request #307 from microsoft/main
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
bill-long authored Mar 11, 2021
2 parents 33125a3 + a138ac4 commit ae33b9f
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 13 deletions.
22 changes: 16 additions & 6 deletions Hybrid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,29 @@

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](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`
To test basic AutoDiscover and a Empty Bearer Authorization check you can run:

```PowerShell
.\Test-HMAEAS.ps1 user@contoso.com
```
![image-01](img/img01.png)

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`
To test basic AutoDiscover with a custom AutoDiscover Name and also do Empty Bearer Authorization check you can run:

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

![image-04](img/img04.png)

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`
To test basic EAS Connectivity you can run (you will need to use the users credentials for this test):

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

![image-05](img/img05.png)
17 changes: 11 additions & 6 deletions Retention/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
# Get-MRMDetails

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.

The syntax for this script is as follows:
Download the latest release here: [https://github.com/microsoft/CSS-Exchange/releases/latest/download/Get-MRMDetails.ps1](https://github.com/microsoft/CSS-Exchange/releases/latest/download/Get-MRMDetails.ps1)

.\Get-MRMDetails.ps1 -Mailbox <user>
To run the script, at minimum you will need a valid SMTP Address for a user. Then you can review the associated logs that are generated from the script.

Example:
Syntax:

.\Get-MRMDetails.ps1 -Mailbox rob@contoso.com
```PowerShell
.\Get-MRMDetails.ps1 -Mailbox <user>
```

Example to collect the MRM Details from rob@contoso.com:

For Any issues or to get the latest version or contribute goto https://aka.ms/GetMRMDetails
```PowerShell
.\Get-MRMDetails.ps1 -Mailbox rob@contoso.com
```
2 changes: 1 addition & 1 deletion Security/src/Test-ProxyLogon.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ begin {
[Void]$allResults.FileList.Add( $files[$i] )

Import-Csv -Path $files[$i] -ErrorAction SilentlyContinue |
Where-Object { $_.AuthenticatedUser -eq '' -and $_.AnchorMailbox -Like 'ServerInfo~*/*' } |
Where-Object { $_.AnchorMailbox -Like 'ServerInfo~*/*' -and $_.AnchorMailbox -notlike 'ServerInfo~*/autodiscover*' -and $_.AnchorMailbox -notlike 'ServerInfo~localhost*/*' } |
Select-Object -Property $outProps |
ForEach-Object {
[Void]$allResults.Hits.Add( $_ )
Expand Down

0 comments on commit ae33b9f

Please sign in to comment.