question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enhancement: Extend `aad o365group add` with options to set `resourceBehaviorOptions`

See original GitHub issue

resourceBehaviorOptions can be set only at creation time of an Microsoft 365 Group however currently we do not provide the ability to set them, therefore only the default behaviours are set. We should provide the ability to set these options to our own preference if they are provided.

Options

Option Description
--allowMembersToPost [allowMembersToPost] Set if only group members should be able to post conversations to the group
--hideGroupInOutlook [hideGroupInOutlook] Set to hide the group in Outlook experiences
--subscribeNewGroupMembers [subscribeNewGroupMembers] Set to subscribe all new group members to receive group conversation emails when new messages are posted in the group
--welcomeEmailDisabled [welcomeEmailDisabled] Set to not send welcome emails to new group members

Resources

resourceBehaviorOptions is a string collection that specifies group behaviors for a Microsoft 365 group. These behaviors can be set only on group creation (POST).

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
waldekmastykarzcommented, Feb 22, 2022

Correct @nanddeepn. We keep isPrivate as-is for now.

3reactions
garrytrindercommented, Feb 22, 2022

@nanddeepn I’ve updated the spec based on the feedback from @waldekmastykarz slight adjustment in that the options should be flags rather than accepting a boolean value and adjusted the option description slightly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set Microsoft 365 group behaviors and provisioning options
Use the group resource in Microsoft Graph to set specific group behaviors and resources to provision when creating a Microsoft 365 group.
Read more >
Release notes - CLI for Microsoft 365
aad app list - retrieves a list of Azure AD app registrations #3742 · aad user ... extended 'aad o365group add' command with...
Read more >
Microsoft 365 (Office 365) groups vs distribution lists - CodeTwo
This is a clear improvement over distribution lists, as the only way to limit access to groups was to change role assignment policy...
Read more >
Hide Office 365 Group from GAL via Graph API
Microsoft Graph introduced the property resourceBehaviorOptions which includes a set of options that are related to Exchange properties of the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found