Archiv für den Monat: Juni 2018

Connecting to Office 365/Exchange

…..a script with a set of functions to allow me connect to each individual Office 365 service or Exchange Online: Connect-AzureActiveDirectory: Connects to Azure Active Directory Connect-AzureRMS: Connects to Azure Rights Management Connect-ExchangeOnline: Connects to Exchange Online Connect-SkypeOnline: Connects to Skype for Business Online Connect-EOP: Connects to Exchange Online Protection Connect-ComplianceCenter: Connects to Compliance Center Connect-SharePointOnline: Connects to SharePoint Online Connect-MSTeams: Connects to Microsoft Teams Get-Office365Credentials: Gets Office 365 credentials Connect-ExchangeOnPremises: Connects to Exchange On-Premises Get-OnPremisesCredentials: Gets On-Premises credentials Get-ExchangeOnPremisesFQDN: Gets FQDN for Exchange On-Premises Get-Office365Tenant: Gets Office 365 tenant name (SharePoint) Set-Office365Environment: Configures Uri’s and region to use…..

Quelle: Connecting to Office 365/Exchange | EighTwOne (821)

Mailflow issue from Exchange On-Prem to Office 365 – Lalit Bisht Blogs

You are on Exchange Hybrid environment and sending emails to Office 365 via specific SendConnector which has TlsCertificateName attribute configured and EOP is doing certificate validation for Inbound SMTP connections.

You might see any of the following errors in the queue/Protocol Logs.
–> 454 4.7.5 The certificate specified in TlsCertificateName of the SendConnector could not be found.
–> TLS negotiation failed with error NoCredentials.
–> „421 4.4.1 Connection timed out.“ Attempted failover to alternate host, but that did not succeed. Either there are no alternate hosts, or delivery failed to all alternate hosts

It may be because of the following issues:
–> You changed the third party SMTP certificate but didn’t update the TlsCertificateName attribute on the send connector.
–> Third party certificate is not assigned to the SMTP services.
–> Status of that third party certificate shows „INVALID“ or „RevocationCheckFailure“.

Please perform the following to resolve the issue.
–> Update the TLSCertificateName attribute on the Office 365 SendConnector.

$cert = Get-ExchangeCertificate -Thumbprint
$TLSCert = (‘<I>’+$cert.issuer+'<S>’+$cert.subject)
Set-SendConnector -Identity -TLSCertificateName $TLSCert
–>Make sure required certificate is assigned to the SMTP service and certificate Status shows VALID.

Quelle: Mailflow issue from Exchange On-Prem to Office 365 – Lalit Bisht Blogs