Search Engine: Elastic

Article ID: 115097, created on Nov 7, 2012, last review on May 9, 2014

  • Applies to:
  • Operations Automation 5.5


Provider wants to get report about Office 365 subscriptions created under their account in Microsoft Cloud along with number of seats for each subscription.


  1. Connect to any Windows machine connected to Internet (log in locally or using RDP), e.g. connect to MOSI Gateway server which is used to provision Office 365 services in Parallels Automation.
  2. Install the Microsoft Online Services Module for Windows PowerShell if it is not installed yet (use correct architecture - 64-bit or 32-bit). See the article Use Windows PowerShell to manage Office 365 for details.
  3. Launch the 'Microsoft Online Services Module for Windows PowerShell' from Start menu. Alternatively, run the Windows PowerShell command prompt and load the Office 365 cmdlets manually by typing the import-module MSOnline command.
  4. Run the Connect-MsolService cmdlet and enter login and password of syndicated Office 365 account administrator in the opened window.
  5. Run the Get-MsolPartnerContract | Get-MsolSubscription cmdlet to get the list of active Office 365 subscriptions with numbers of seats for each one along with other info. This command may run for several minutes.

See the article Windows PowerShell cmdlets for Office 365 for more details about Office 365 PowerShell cmdlets.

caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae 5b048d9bddf8048a00aba7e0bdadef37 2554725ed606193dd9bbce21365bed4e e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF