Manage Domains in Office 365 using PowerShell

In a previous blogpost I showed you how to create new domains in Office 365 using the Microsoft Online Portal. You can do the same using PowerShell which can be much more interesting, especially for partner reselling Office 365 through the Cloud Solution Provider (CSP) program. If you want to know more about PowerShell, check my previous blog post Manage Office 365 with PowerShell.

Add a new domain

Adding a new domain in Windows Azure Active Directory can be broken down into three steps as we’ve seen in adding a domain using the Microsoft Online Portal:

  • Add and validate the actual domain;
  • Configure and validate DNS records (domain purpose);
  • Configure or add users;

These steps will be described in the following sections

Add and validate the actual domain

To add a new domain you can use the New-MsolDomain command. The –Name option is used to pass the domain name and the –Authentication option is used to pass the type of domain, which is either Managed or Federated. The latter is used in a federated environment with Directory Synchronization and ADFS, so in this example we use ‘Managed’:

New-MsolDomain –Authentication Managed –Name

image Continue reading Manage Domains in Office 365 using PowerShell

Manage Office 365 with PowerShell

The core components of Office 365 are Exchange Online, Lync Online and SharePoint Online, all are running on top of Windows Azure Active Directory as shown in the following figure:


All services can be managed from the Microsoft Online Portal. When logged on to the portal you can select the various services under Admin in the navigation pane. It is also possible to manage Office 365 using PowerShell, but all services require a different approach or module.

Managing Windows Azure Active Directory using PowerShell

To manage Windows Azure Active Directory with PowerShell you have to install the Azure Active Directory Module for Windows PowerShell (64-bit version) but before you can use this you also have to install the Microsoft Online Services Sign-In Assistant. Continue reading Manage Office 365 with PowerShell

Add new users in Office 365 using the Microsoft Online Portal

In my previous blogpost I explained how to add additional domains to your Office 365. In this blogpost I’ll explain how to create new users in Office 365. To add new users in Office 365 you can use the Microsoft Online Portal or Remote PowerShell, both for single users or for bulk users.

Add users using the Portal

To add new users, in the Microsoft Online Portal select Users and Active Users. Initially you will only see your default administrator account. To add a new user click the + icon.


The Create new user account wizard will show up where you can add a First name, Last name, Display name and User name. a password will be auto-generated, but you can also select Type password to enter a new password manually. The new password will be shown on screen and it will be sent to the administrator account in your organization. Continue reading Add new users in Office 365 using the Microsoft Online Portal

Manage Domains in Office 365 step-by-step

In a previous blog post I explained how to create a new organization (tenant) in Office 365. After the initial creation there’s one (administrative) account and you can start working with that account almost immediately. For example, when you logon to and use the credentials you entered when creating the new tenant you logon to OWA and you can start sending email, there’s not much to see though at this point :-)


When you send an email your email address will be, not nice but it works. Continue reading Manage Domains in Office 365 step-by-step

Extend Office 365 trial

In my previous blog I explained how to create a new tenant in Office 365 which start with a 30 days trail period. It can happen that you haven’t finished testing within 30 days, so it’s good to know there’s the option to extend the Office 365 trial with another 30 days.

To achieve this logon to the Microsoft Online Portal via and login with the global administrator account. In the main menu select Billing and Subscriptions and in the subscription details (on the right) click Extend trial.


To extend the trial subscription you need to enter your credit card details, but your card won’t be charged for extending the trial period. In the pop-up windows, click Next and in the following windows enter your credit card details. Once entered click Extend trial and you’re good for another 30 days.

Please note you can extend your Office 365 trial only once.


Get every new post delivered to your Inbox.

Join 27 other followers