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

[FEATURE] Add Set-PnPMicrosoft365Group #2929

Closed
svermaak opened this issue Mar 22, 2023 · 3 comments · Fixed by #2930
Closed

[FEATURE] Add Set-PnPMicrosoft365Group #2929

svermaak opened this issue Mar 22, 2023 · 3 comments · Fixed by #2930
Assignees
Labels
enhancement New feature or request

Comments

@svermaak
Copy link
Contributor

Is your feature request related to a problem? Please describe.
New-PnPMicrosoft365Group has option for ResourceBehaviorOptions

Describe the solution you'd like
Can this ResourceBehaviorOptions, TeamResourceBehaviorOptions etc. parameter be added to Set-PnPMicrosoft365Group

Describe alternatives you've considered
I am using Exchange Management Shell

Additional context
Not sure where Set-PnPMicrosoft365GroupSettings comes into play

@svermaak svermaak added the enhancement New feature or request label Mar 22, 2023
@KoenZomers
Copy link
Collaborator

Sure. Good idea. On it.

@KoenZomers KoenZomers self-assigned this Mar 23, 2023
@KoenZomers KoenZomers added the in review PR or issue is currently being reviewed label Mar 23, 2023
@KoenZomers
Copy link
Collaborator

KoenZomers commented Mar 23, 2023

I noticed in the source code they're already there actually. Have a look at this parameter:
https://pnp.github.io/powershell/cmdlets/New-PnPMicrosoft365Group.html#-resourcebehavioroptions

And this example on how to use them:
https://pnp.github.io/powershell/cmdlets/New-PnPMicrosoft365Group.html#example-5

I notice these two are missing:

  • CalendarMemberReadOnly: Members can view the group calendar in Outlook but cannot make changes.
  • ConnectorsDisabled: Changes made to the group in Exchange Online are not synced back to on-premises Active Directory.

Source: https://learn.microsoft.com/en-us/graph/group-set-options#configure-groups

I will add these two as options.

@KoenZomers
Copy link
Collaborator

Done

@KoenZomers KoenZomers removed the in review PR or issue is currently being reviewed label Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants