Skip to content

Commit f68c49a

Browse files
Update groupify-csom.md
Added ExecuteQuery() to the code sample as it doesn't work without it
1 parent 6afce0b commit f68c49a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/features/groupify/groupify-csom.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ foreach (char c in pwd.ToCharArray()) passWord.AppendChar(c);
4444
ctx.Credentials = new SharePointOnlineCredentials("[email protected]", passWord);
4545
Tenant tenant = new Tenant(ctx);
4646
tenant.CreateGroupForSite("https://contoso.sharepoint.com/sites/team-site", "display-name-for-group", "alias-for-group", true);
47+
ctx.ExecuteQuery();
4748
```
4849

4950

0 commit comments

Comments
 (0)