Enhancement: Extend `aad o365group add` with options to set `resourceBehaviorOptions`
See original GitHub issueresourceBehaviorOptions
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).
- Set Microsoft 365 group behaviors and provisioning options https://docs.microsoft.com/en-us/graph/group-set-options
- Create group https://docs.microsoft.com/en-us/graph/api/group-post-groups?view=graph-rest-1.0&tabs=http
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:11 (10 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Correct @nanddeepn. We keep isPrivate as-is for now.
@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.