Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New command: m365 entra multitenant set #6008

Open
MartinM85 opened this issue Apr 30, 2024 · 5 comments · May be fixed by #6030
Open

New command: m365 entra multitenant set #6008

MartinM85 opened this issue Apr 30, 2024 · 5 comments · May be fixed by #6030

Comments

@MartinM85
Copy link
Contributor

MartinM85 commented Apr 30, 2024

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

@waldekmastykarz
Copy link
Member

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

@MartinM85 MartinM85 changed the title New command: m365 multitenant set New command: m365 entra multitenant set May 3, 2024
@Adam-it Adam-it added needs peer review Needs second pair of eyes to review the spec or PR and removed on hold labels May 4, 2024
@Adam-it
Copy link
Contributor

Adam-it commented May 4, 2024

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

@Jwaegebaert
Copy link
Contributor

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.

@MartinM85
Copy link
Contributor Author

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

@Jwaegebaert Jwaegebaert added work in progress and removed needs peer review Needs second pair of eyes to review the spec or PR labels May 6, 2024
@Jwaegebaert
Copy link
Contributor

Awesome, assigning it to you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants