Create AD group with owners and members with python graph SDK

Copper Contributor
from msgraph import GraphServiceClient
from import Group

graph_client = GraphServiceClient(credentials, scopes)

request_body = Group(
	description = "Group with designated owner and members",
	display_name = "Operations group",
	group_types = [
	mail_enabled = False,
	mail_nickname = "operations2019",
	security_enabled = True,
	additional_data = {
			"owners@odata_bind" : [
			"members@odata_bind" : [

result = await

Im following this example to create Azure AD security group with owners and members, But the group is created without the members and additional owners provided. Im following the below doc:


The Group object has members and owners parameter, should that be used instead? If so is there any example for that? 


0 Replies