Microsoft Cloud for SMB

MicrosoftCloudforSMB

Last year I did a little research project about Microsoft’s public cloud and how it cloud affect Small and Medium sized businesses. So I created a paper which should help Microsoft partners to decide how they can improve their services and solutions by using the Microsoft public cloud. I the paper I focused on Microsoft Office 365 and Windows Intune. This should be for the partner which do infrastructure solutions like Active Directory, Exchange and PC Management.

MicrosoftCloudforSMBdoc

You can download this paper from my Windows Live SkyDrive.
The paper includes a lot of text copied from Microsoft documents and websites, and research I did by myself. All the sources should be marked, but if you find anything which is not marked please feel free to contact me.

Office 365 – Can not receive mails with ownen Mail Domain

office365

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;thomas.maurer@thomasmaurer.ch 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

office365admin01

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

office365admin02

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

office365admin03

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.

 

Office 365 – How to connect with Powershell

office365 powershell

In Office 365 you can do and automate a lot with Windows Powershell. Now this small post shows you how you can connect to Office 365 with Powershell.

  1. Install the Microsoft Online Services Sign-In Assistant
    32-bit
    64-bit
  2. Install the Microsoft Online Services Module for Windows PowerShell
    32-bit
    64-bit
  3. Open Powershell and import the MsOnline Module or use the desktop shortcut which was created by the installer.
    Import-Module MsOnline
  4. Connect to your Microsoft Office 365 account
    Connect-MsolService

    Use your Office 365 LiveID to login (for example bob@bobscompany.onmicrosoft.com)

  5. Now you can start working with Windows Powershell in your Office 365 account, if you need some more help about the available Powershell cmdlets you can list them with
    Get-Command -Module MsOnline

Office 365 – Verify domain hosted at Genotec

office365

You can add your own Domain to your Office 365 account. If your domain is hosted at Genotec, you can simply create the DNS records for your domain with the DNS editor Genotec provides in the Hosting Control Center.

Under Domainnames, yourdomainname.com you can create a new TXT entry to verify your domain. For example:

Office 365 Verify Domain Name Genotec

After you have verifyed your Domain you have to add some other DNS Records for Exchange and Lync Online to work.

Here the DNS records for Exchange Online:

Office 365 Genotec Exchange Online Records

Office 365 Genotec Exchange Online Records

Office 365 Genotec Exchange Online Records

 

And here the DNS Records for Lync Online:

Office 365 Genotec Lync Online Records

Office 365 Genotec Lync Online Records

Remember to add the dot at the end of hostnames.

 

 

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.

office365

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 tmauer@tmaurer.onmicrosoft.com 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.