pnp / cli-microsoft365

Manage Microsoft 365 and SharePoint Framework projects on any platform
https://aka.ms/cli-m365
MIT License
911 stars 319 forks source link

New command: `m365 entra multitenant get` #6007

Closed MartinM85 closed 2 months ago

MartinM85 commented 5 months ago

Usage

m365 entra multitenant get [options]

Description

Gets properties of the multitenant organization

Options

no command specific options

Examples

Gets properties of the multitenant organization

m365 entra multitenant get

Default properties

Additional Info

Multitenant organization is a brand new feature in Microsoft Entra ID

https://learn.microsoft.com/en-us/entra/identity/multi-tenant-organizations/overview

https://learn.microsoft.com/en-us/graph/api/multitenantorganization-get?view=graph-rest-1.0

The signed-in user must be assigned at least the Security Administrator role. It requires new permission MultiTenantOrganization.ReadBasic.All

I will work on it

waldekmastykarz commented 5 months ago

Thank you for the suggestion, @MartinM85! Let's clarify the name using the thread in #6006 and we'll take it from there

Adam-it commented 5 months ago

the naming is set so let's start reviewing the spec 👍

Jwaegebaert commented 5 months ago

One small detail, as this is a get command we won't need to define any default properties. But besides that, it looks good to go.

Jwaegebaert commented 5 months ago

All yours @MartinM85!

Jwaegebaert commented 5 months ago

Another detail, maybe change the description to something like Gets properties of the multitenant organization.