Importing users from Active Directory into Office 365
Today I ran into an issue where I had to quickly import x amount of users into an empty trial tenant from
Office 365 in order for to prepare the future mail migration.
Because I'm trying to get everything running through PowerShell, I thought this would be a nice moment to
document everything for future use and for other people to see how it's done [or give tips 😉 ]
Connect to Office 365 using PowerShell
In order to manage your Office 365 tenant(s) using PowerShell, there are some pre-requisites required.
- Ensure you are running Windows 8.1, Windows 8, or Windows 7.
- Make sure you have the .NET Framework 3.51 feature [enabled by default on Windows 8 and up]
- Make sure you have the latest updates. It is important to run this after you install .NET Framework 3.51, so you get updates for that in addition to updates for your operating system.
- Install the Microsoft Online Services Sign-In assistant. Even though the link provided should work, you should always look up the latest version [see next link].
- Install the Windows Azure Active Directory (Azure AD) module for the appropriate version of your operating system.
Once these requirements are installed, you can continue to connect to your tenant using the following function:
Reasons to blog
As I’m pondering what to write for my first proper techy blog post, I’ve got to thinking about WHY I’ve chosen to blog in the first place.
Info info info….
Re-inventing the wheel can troublesome and tiresome, and on the other hand constantly telling the same story like a broken record can cause motivational issues..
So I’ve decided to make my own little resource page to answer the question “Where to I begin when I want to learn PowerShell?”.
Quickly run over to the new “New to PowerShell” page to find various collected resources that will get you started!
Time to write…
Ok ok, I cave…
After giving it a lot of thought for a long time, I’ve decided to start blogging.
Inspired by my colleague’s great blog, I will now try and write down my thoughts and experiences of my day to day IT life 🙂
Don’t expect daily updates, but I’ll try my best to keep people entertained…
