Using Command Blocks allows you to run commands against multiple tenants or users and review the results in real-time.

Cloud User Hub Command Blocks include a mixture of commands, from those that perform actions (e.g. create a calendar, create a mail folder, add a user as a member to an Azure Active Directory group, etc.) to those designed solely to retrieve information (e.g. list tenant inventory, licenses, security score details, etc.).

Included in the list of informational Command Blocks below, there is an option to view and filter a report. 

Command Blocks 

Path 

Section 

Permissions 

List domains 

Azure Active Directory > All Command Blocks > Identity and Access 

Domains 

Microsoft Azure Active Directory Domains Reader and/or Writer 

List Microsoft Authenticator methods 

Azure Active Directory > All Command Blocks > Identity and Access 

Authentication Methods 

Command Identity and Access Essentials Reader and/or Writer 

Get a list of available licenses 

Microsoft Partner Center > All Command Blocks > Customer accounts 

Licences 

Command Partner Center Subscription Reader and/or Writer 

Get group mailboxes 

Microsoft 365 > All Command Blocks > Exchange Online 

Exchange Mailbox 

Microsoft Exchange Online Mail Reader and/or Writer 

Get inactive mailboxes 

Microsoft 365 > All Command Blocks > Exchange Online 

Exchange Mailbox 

 

Microsoft Exchange Online Mail Reader and/or Writer 

Get mailboxes including the inactive ones 

Microsoft 365 > All Command Blocks > Exchange Online 

Exchange Mailbox 

Microsoft Exchange Online Mail Reader and/or Writer 

Get list of teams 

Microsoft 365 > All Command Blocks > Microsoft Teamwork 

Microsoft Teams 

Command Microsoft Teams Reader and/or Writer 

List channels 

Microsoft 365 > All Command Blocks > Microsoft Teamwork 

Channel 

Command Microsoft Teams Reader and/or Writer 

List secure scores

Microsoft 365 > All Command Blocks > Security

Secure Score

Microsoft Secure Scores Reader and/or Writer

In the following example, we will focus on the Microsoft Partner Center “Get a list of available licenses” Command Block and its report.