Tag: Exchange 2010

Microsoft Exchange

Create a DNS Entry for Exchange Autodiscover

This is a short blog post how you can create the DNS records and entry for Microsoft Exchange Autodiscover in the Genotec Hosting Control Panel. This works also with other DNS providers as well.

  1. First login to the HCC (Hosting Control Center).
  2. Navigate to domain names and choose your domain
  3. (OPTIONAL) If you not already have, create a new A record for your mail server (for example mail.the-it-crowd.ch)
    A Record
  4. (OPTIONAL) If you do not already create an MX record for your domain, create an MX record
    MX record
  5. Create a CNAMEDNS entry for your Exchange autodiscover domain. Normally this is pointing to your mail server. You could also use the already existing mail.the-it-crowd.ch A record. But I would recommend you to create this CNAME.
  6. Create the Autodiscover SRV record
    TYP: SRV HOST: _autodiscover._tcp.the-it-crowd.ch. DATA:
    0 0 443 autodiscover.the-it-crowd.ch.

You can find more information about Microsoft Exchange on Microsoft Docs.

I hope this blog post gives you an overview of how you create a DNS entry for your Microsoft Exchange Autodiscover setup. If you have any questions, please leave a comment. If you are running Office 365 and Exchange online check the following blog post about Office 365 – Verify your domain hosted at Genotec.

Office 365 – Can not receive mails with ownen Mail Domain


After working with some test accounts in Microsoft Office 365 I realized I could not send mails to my own domain. In the Office 365 control panel everything looked right and the domain was active. I also added the mail addresses to the user accounts.

The error I got back was:

Final-Recipient: rfc822;[email protected] Action: failed Status: 5.4.1 Diagnostic-Code: smtp;550 5.4.1 Relay Access Denied

After creating a support ticket with the Microsoft Office 365 the support called me and checked my account. Now the problem was I already added the domain to another Office 356 account. So the Forefront had the domain added as duplicated domain.

 Office 365 Forefront

 You can check the status of your domains in Forefront by clicking on the Exchange Online Administration (Manage) like on the Overview site. Now you can click


Now on your Exchange Online Management page click on Mail Control on the left site.


On the right site you can click on Configure IP safelisting, perimeter message tracing, and e-mail policies.


Now in the Domain tap you can check if you have a domain entry whichs starts with “duplicated…..”. If you have a entry like that you have to open a support ticket and the Forefront Online Team will remove the entry from your Account and you have to add the Domain again.

By the way this was the first time I used the Microsoft Support for Office 365 and it was a really good experience. Microsoft really offers a great Service here with fast and qualified support.


Powershell: How to connect to Office 365 with Powershell

Powershell Header

You can simply manage and administrate Office 365 from your Powershell prompt or with your own Powershell scripts.


Here is how you can connect to Office 365 with Windows PowerShell:

First create a object with your Windows Live Credentials. This command will open a Windows in which you can enter your Windows Live Credentials for your Office365 Accout. In my case [email protected] and my password.

$LiveCred = Get-Credential

You can open a new Session:

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection

Now join the session with:

Import-PSSession $Session

To close the Session:

Remove-PSSession $Session

Now if you join the PS session with Enter-PSSession you can now work online and run commands like Get-User. More about working with Powershell and Office 365 in the next posts.