You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
new_group=MicrosoftGraph::Models::Group.new.tapdo |group|
group.display_name='My new Group'group.mail_enabled=falsegroup.mail_nickname='newgroup'group.security_enabled=truegroup.group_types=['Unified']end@client.groups.post(new_group).resume
But I get an error back with the following message A value is required for property 'displayName' of resource 'Group'.
What am I missing?
Hi, I'm trying to create a new group, I initialize a GraphServiceClient just like in the README
Then I try to build a Group object and POST it
I pieced this code together by using this doc https://learn.microsoft.com/en-us/graph/api/group-post-groups?view=graph-rest-1.0 as well as another user's code from this issue #163 (comment)
But I get an error back with the following message
A value is required for property 'displayName' of resource 'Group'.What am I missing?