Office 365 SharePoint Management Shell

by Arman Obosyan 1. February 2014 09:00

In previous post we connected to our Office 365 subscription check subscription status and in addition connected to Exchange and imported Exchange cmdlets.

Now we are going to connect to our SharePoint and do some stuff using PowerShell, to connect we will need SharePoint Online Management Shell, PowerShell module that allows us to manage SharePoint in Office 365, users, site collections, and sites.

Download the SharePoint Online Management Shell (32-bit and 64-bit versions of the shell are available)

After you download and install SharePoint Online Management Shell, find it in Program files and run

After you run we will connect to our SharePoint tenant using this command

Connect-SPOService –URL https://(YOURSITE) –Credential

Aster successful connection, lets do some stuff, for example view of our SharePoint sites list using command:


Alternatively, you can use the Windows PowerShell Integrated Scripting Environment (ISE), which is preferred and recommended scripting environment. After you have installed the SharePoint Online Management Shell, the Windows PowerShell cmdlets for SharePoint Online will be available on your computer.

Start the Windows PowerShell ISE, select the Microsoft.Online.SharePoint.PowerShell module from the command browser

You will be able to see the available Windows PowerShell cmdlets for SharePoint Online.

That is for now.



Office 365 PowerShell remoting the basics

by Arman Obosyan 30. January 2014 21:29

Office 365 is designed to be very oriented to Windows PowerShell and in fact that not all administration tasks are available through the Office 365 Administration Portal’s Graphical User Interface (GUI), but they are all available through PowerShell. Therefore, Windows PowerShell is the superset administration tool and a definite requirement in your toolkit.

In addition of PowerShell we also need Windows Azure AD Module and Windows PowerShell Integrated Scripting Environment (ISE)

Before we download and install Windows Azure AD Module we need to install Microsoft Online Services Sign-in Assistant.

Download Online Services Sign-in Assistant latest version from here. After you will install it next we need to install Windows Azure AD Module you can download latest from here read latest updates in documentation.

OK, after downloading and installing all components lets try to connect to our Office 365 subscription there is no difference in connection and using in Trial or Regal Subscription, if you do not have subscription yet, register your trial from here 

Find in programs or on your desktop Windows Azure Active Directory Module for Windows PowerShell and run it.

All we need to connect to our Office 365 is:

$cred = Get-Credential
Connect-MsolService -Credential $cred

after entering you credentials, lets try some command, lets check our subscription status


So that’s all, we are connected from PowerShell, you can also save command to .ps1 file for later use, and do not forgot to Set-ExecutionPolicy –ExecutionPolicy Unrestricted otherwise you will get errors running .ps1 file.

The same way you can use commands and script that you saved in .ps1 in Windows PowerShell Integrated Scripting Environment (ISE). We will use later PowerShell ISE for easy management.

For administering Exchange you might want to import cmdlets 

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $Cred -Authentication Basic –AllowRedirection
Import-PSSession $Session

It is important that you close a PSSession after you are done. The reason for closing a PSSession is because of the connection limit in place as a security measure. If you do not close a PSSession, you will need to wait for the session to time out. If there are five sessions of PSSession open, you will not be able to establish additional sessions

Remove-PSSession $Session

That’s it for now I will continue post about PowerShell and Office 365

In addition try this Office 365 Helper Scriptsit will help you to understand and prepare for future advanced administering of Office 365



Microsoft Online Services Diagnostics and Logging Support Toolkit

by Arman Obosyan 29. January 2014 17:56

Microsoft Online Services Diagnostics and Logging Support Toolkit (MOSDAL) performs tests and collects data for Online Services Support professionals and IT professionals to troubleshoot Office 365 configuration issues. The tests contains few categories, such as Exchange, Lync, and Applications. The types of information that MOSDAL collects include the following:

  • System configuration information
  • Network configuration information
  • Registry entries pertinent to Office 365
  • Network ports
  • HTTPS requests
  • Information about Office 365 applications; for example, Office Professional Plus Subscription

Running some test, MOSDAL requesting Office 365 logon credentials. Depending on the number of services you selected, MOSDAL might take some time to collect information to be used for troubleshooting.


After it has gathered all the information, you will be provided with the option to open the file location where all the information is exported into organized folders and files. If you run MOSDAL multiple times, the data will be organized in folders with respective timestamps


MOSDAL collects a lot of information, and it is sometimes difficult to locate and interpret the data. From the MOSDAL download site, you should download and read the MOSDAL training manual, which will walk you through the types of data being gathered, where to locate the data, and how the data can be used for troubleshooting purposes.

Download MOSDAL (Microsoft Online Services Diagnostics and Logging) Support Toolkit

MOSDAL x32 (en-us).zip 2.6 MB
MOSDAL x64 (en-us).zip 2.6 MB
MOSDAL 4.6 Training (en-us).zip 504 KB


New Office 365 Partner Admin Center

by Arman Obosyan 29. January 2014 02:17

The new Office 365 Partner Admin Center provides Partners new and enhanced tools to manage their Office 365 customers.  The new Office 365 Partner admin center is rolling out to partners worldwide over the next few weeks.  Previously, with Partner tools in the Office 365 admin center, you could perform delegated administration tasks on behalf of customers and create trial invitations, purchase offers, and offers for delegated administration. With the tools in the new Partner admin center, you are now also able to:

  • View the customers for which you have delegated admin privileges—all in one place.
  • Easily find, select, and perform administrative tasks on behalf of your customers.
  • View your customers’ Office 365 service health status and details.
  • Create, edit, and view service requests on behalf of your customers.

Continue at source…


Office 365 Series Articles

by Arman Obosyan 28. January 2014 21:31

Decided to start some series of post on Office 365, I will try to post lots of article in QY14, also I decided to post in English language, because posting in Russian language scope on visitors region and posting in Georgian is out of all realities, so, sorry if my English is not perfect, but anyway posting in English will let you use translator in case you will need it. So good luck to me and I hope to post after this post

Check Office365 tag on blog to find all about Office 365


Office 365 Trust Center

by Arman Obosyan 25. January 2014 04:19

  • Your privacy matters
  • Leadership in transparency
  • Independently verified
  • Relentless on security
  • Service continuity


The Value of Office 365

by Arman Obosyan 13. January 2014 04:20


Office 365 Admin mobile app for service health and maintenance status updates monitoring

by Arman Obosyan 13. December 2013 08:31

Administrators can use the Office 365 Admin app to check the overall health of their organization's services, see the health of individual services, and set data refresh intervals.
To access service health data with the Office 365 Admin app, you must have an active Office 365 subscription with administrator user rights. Also, this app does not currently support Windows Azure Active Directory Multi-Factor Authentication.

Download the app on the Windows Phone 8 Store

b6b55a7e-78f6-47a1-afe9-6568b87e3bb8 a41a114b-1225-452d-84cb-918ccc1827ea df95f1b3-c202-43b6-a7a5-029e389f61af 5142c64c-bdec-4cfb-82aa-5fbba2a4d837 

The Office 365 Admin app is in the process of rolling out across multiple platforms,

Download Office 365 Admin for Android

Download Office 365 Admin for iOS

Tags: , ,

Office 365 for Business (Georgian language Clip Version)

by Arman Obosyan 9. December 2013 08:00
Office 365 for Business (Georgian language Clip Version)

This Video Short URL

For more info visit:
Office 365 plan's for Business
Office 365 for Business FAQ
Office for Mobile Devices (Windows Phone, iPhone, iPad, Android)

Microsoft License Advisor

Microsoft Georgian Facebook Fan-Page


Office 365 Cloud myths: Debunked

by Arman Obosyan 29. November 2013 09:58

APAC Office 365 Cloud myths: Debunked


Office 365 Self-Service Password Reset for Users

by Arman Obosyan 22. November 2013 23:58

Prior to the Fall 2013 preview release, Windows Azure Active Directory provided administrators with the ability to reset their passwords automatically without contacting Microsoft Support or another administrator in their organization. Now, this capability is available for all users in your Windows Azure Active Directory domains.

Self-service password reset for users allows end users in your organization to reset their passwords automatically without calling an administrator or helpdesk for support.

Continue at source…


Once you provide matching passwords that meet the organizational policy, your password is reset and you can log in with your new password immediately.

self-service password reset

More at source.


© 2008-2012, Arman Obosyan, Postmaster.GE
Powered by BlogEngine.NET
Hosted on Windows Azure and IIS8

About the author

Arman Obosyan have more than 20+ years’ work experience in Information Technologies sector.

Last few years he working on a position Technology Strategist at Microsoft Corporation, In the past Arman was Head of IT Infrastructure in Governmental Central Bank of Georgia (National Bank of Georgia).

Nowadays Arman is supporting C-Level and enabling business, visionary with a passion of technology, trends.


Certified since 2003 year, passed following certifications MCP, MCSA, MCSE, MCTS, MCITP, Exin ITIL and VMware Certified Professional (VCP)

Founder / Lead of Microsoft Certified Professionals (MCP) Club Tbilisi and Community GE project 

In 2010 Was awarded a Microsoft Most Valuable Professional (MVP)

2017 MVP Reconnect


The opinions expressed herein are my own personal opinions and do not represent anyone else's view in any way, including those of my employer.

Live Trafic



<<  January 2021  >>

View posts in large calendar