cli-microsoft365 icon indicating copy to clipboard operation
cli-microsoft365 copied to clipboard

New command: `m365 entra multitenant set`

Open MartinM85 opened this issue 1 year ago • 5 comments

Usage

m365 entra multitenant set [options]

Description

Updates the properties of a multitenant organization

Options

Option Description
-n, --displayName [displayName] New display name of the multitenant organization. Both options, displayName and description are optional but at least must be specified.
-d, --description [description] New description of the multitenant organization. Both options, displayName and description are optional but at least must be specified.

Examples

Update display name of multitenant organization

m365 entra multitenant set --displayName 'Fabrikam organization'

Update display name and description of multitenant organization

m365 entra multitenant set --displayName 'Fabrikam organization' --description 'Multitenant organization between Fabrikam and Contoso'

Default properties

No response

Additional Info

Both options are optional but at least on should be specified

Multitenant organization is a brand new feature in Microsoft Entra ID

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

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

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

I will work on it

MartinM85 avatar Apr 30 '24 11:04 MartinM85

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

waldekmastykarz avatar May 01 '24 06:05 waldekmastykarz

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

Adam-it avatar May 04 '24 22:05 Adam-it

I would suggest to change the description to Updates the properties of a multitenant organization.

The signed-in user must be assigned at least the Security Administrator role.

Let's make sure this is included as a remark in the docs.

Both options are optional but at least on should be specified

Maybe we should also mention this in the option description for each option.

Jwaegebaert avatar May 06 '24 06:05 Jwaegebaert

@Jwaegebaert Spec updated. Info about required role will be mentioned in the docs.

MartinM85 avatar May 06 '24 07:05 MartinM85

Awesome, assigning it to you!

Jwaegebaert avatar May 06 '24 08:05 Jwaegebaert