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

Delegation for Connect-Maester #484

Open
slueders-bag opened this issue Oct 3, 2024 · 2 comments
Open

Delegation for Connect-Maester #484

slueders-bag opened this issue Oct 3, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@slueders-bag
Copy link

it would be great as an CSP to connect to different tenants by using an parameter like TenantName oder TenantID in the Connect-Maester cmdlet.

@soulemike
Copy link
Contributor

This would be nice, but becomes challenging since each of the upstream modules uses a different parameter structure and approach. In my experience it is easier to connect through those upstream commands then skip Maester connection in multi-tenant scenarios. example

Considering other modules like PNP.PowerShell and handling that as a custom MSAL wrapper, I feel that has other challenges that make it even less desirable for multi-tenancy.

M365DSC team has a nice table that shows some of the complexity. https://microsoft365dsc.com/user-guide/get-started/authentication-and-permissions/#authentication-methods

@merill merill added the documentation Improvements or additions to documentation label Oct 20, 2024
@merill
Copy link
Contributor

merill commented Oct 20, 2024

We added Connect-Maester as a convenience for the 80% use case and ideally don't want to duplicate all the functionality in Connect-MgGraph in Graph and similar commands in the other modules.

However I think it will be good for the Maester docs to include guidance on how to use Connect-MgGraph and other commands to switch tenants etc, (and point to the docs for the various modules).

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

No branches or pull requests

3 participants