Exchange Server

Sending external email via Exchange Server

We’ve been adding the ability for our applications to send email to email addresses outside the organisation, and had issues where the message would be sent to addresses inside the organisation without issue, but was never received outside the organisation.

It turns out that this behaviour is by design – Exchange Server won’t send relay email outside your organisation to prevent spamming. We needed to create a Receive Connector. Continue reading

Working with remote Powershell behind a proxy server

PowerShell

PowerShell

This week, I have been working on an application that generates new users in Active Directory. Part of the application generates an Office 365 account for the user using a programmatically-generated PowerShell script.

Everything worked fine during testing, however once we put it into production, the script failed. Manually running the script on the server revealed that the script failed to connect to the remote PowerShell session. Continue reading