Office 365 Delegated Administration

Within your partner tab in Office 365 you are able to manage tenancies on behalf of your clients. With this also comes the ability to do this via PowerShell as well but with limitations such as Exchange Online can’t be managed via this process, so to do this you need a seperate unlicensed admin account created to do this.

As you should all be familar with the web GUI I will discuss the required PowerShell commands to get started.

Once you have connected your service use the following cmdlet:

$tenID=(get-msolpartnercontract -domain customer.com).tenantId.guid

Then to get all users for example use:

get-msoluser -tenantID $tenID

all the other commands such as set-user are avaliable just ensure you include -tenantID $tenID to any commands!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s