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 add #6006

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

New command: m365 entra multitenant add #6006

MartinM85 opened this issue Apr 30, 2024 · 7 comments · May be fixed by #6023

Comments

@MartinM85
Copy link
Contributor

MartinM85 commented Apr 30, 2024

Usage

m365 entra multitenant add [options]

Description

Creates a new multitenant organization

Options

Option Description
-n, --displayName <displayName> Display name of the multitenant organization
-d, --description [description] Description of the multitenant organization

Examples

Create a new multitenant organization

m365 entra multitenant add --displayName 'Contoso organization' --description 'Multitenant organization between Contoso, Fabrikam, and Woodgrove Bank'

Default properties

No response

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

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/tenantrelationship-put-multitenantorganization?view=graph-rest-1.0

I will work on it

@waldekmastykarz
Copy link
Member

Thanks for the suggestion, @MartinM85. I suggest that we update the name to more clearly communicate what it's about. We could go along the lines of:

  • m365 tenant relationship multitenant add
  • m365 tenant multitenant add
  • m365 entra multitenant add

@pnp/cli-for-microsoft-365-maintainers thoughts?

@MartinM85
Copy link
Contributor Author

@waldekmastykarz You can also add a tenant to a multitenant organization, so maybe grouping under entra would be better.

m365 entra multitenant add - create a multitenant organization
m365 entra multitenant tenant add - add a tenant to a multitenant organization

@waldekmastykarz
Copy link
Member

That's a good idea too. @pnp/cli-for-microsoft-365-maintainers thoughts?

@milanholemans
Copy link
Contributor

Looks good to me.

@MartinM85 MartinM85 changed the title New command: m365 multitenant add New command: m365 entra multitenant add May 2, 2024
@Adam-it
Copy link
Contributor

Adam-it commented May 4, 2024

the entra group seems ok to me as well 👍. Since the spec is aligned lets open it up 👍

@MartinM85
Copy link
Contributor Author

@Adam-it I will work on it

@Adam-it
Copy link
Contributor

Adam-it commented May 5, 2024

All yours

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