Skip to content

Instantly share code, notes, and snippets.

@AlexanderHolmeset-zz
Created October 6, 2020 10:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexanderHolmeset-zz/fea1997e89694c8337098b559afb15ef to your computer and use it in GitHub Desktop.
Save AlexanderHolmeset-zz/fea1997e89694c8337098b559afb15ef to your computer and use it in GitHub Desktop.
$connection = Get-AutomationConnection -Name AzureRunAsConnection
$tenant = 'alexholmeset.onmicrosoft.com'
Connect-ExchangeOnline -CertificateThumbprint $connection.CertificateThumbprint -AppId $connection.ApplicationID -ShowBanner:$false -Organization $tenant
Get-MessageTrace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment