Listing Microsoft 365 Services
Ranjit Rimal

Ranjit Rimal @ranjit_rimal_3bfb1aea03e6

About: IT Sales and Services

Joined:
May 17, 2025

Listing Microsoft 365 Services

Publish Date: May 21
0 0

Microsoft keeps adding or changing the list of services on their 365 plans. A product seen a month ago gets replaced by latest one. In this example , I am going to share you a script that retrieves a list of services included in one of common product Microsoft 365 Business Standard using Microsoft Graph API. If you want similar listing for other products, simply replace the value in $_.SkuPartNumber.

Connect to Microsoft Graph

Connect-MgGraph -Scopes "Directory.Read.All"

Retrieve Microsoft 365 License Information

$licenses = Get-MgSubscribedSku

Filter for Microsoft 365 Business Standard

$businessStandard = $licenses | Where-Object {$_.SkuPartNumber -eq "Microsoft_365_Business_Standard"}

Retrieve Service Plans

$servicePlans = $businessStandard.ServicePlans
$servicePlans | Format-Table ServicePlanName, ProvisioningStatus

Disconnect from Graph API

Disconnect-MgGraph

This script connects to Microsoft Graph, retrieves the license details for Microsoft 365 Business Standard, and lists the associated service plans. Services in Microsoft 365 Business Standard plan typically include Exchange Online, SharePoint Online, Teams, OneDrive, and Microsoft Office Apps.

You'll need the Microsoft Graph PowerShell module installed and the required permissions to run this script.

Comments 0 total

    Add comment