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
In order to get all communities using Graph API, use the GET method with the following url: https://graph.microsoft.com/beta/employeeexperience/communities
24
+
In order to get all Viva Engage communities using Graph API, use the GET method with the following url: https://graph.microsoft.com/beta/employeeexperience/communities
24
25
25
26
<imgsrc="/articles/images/VivaGraphAPI.PNG">
26
27
@@ -30,30 +31,42 @@ In order to get all communities using Graph API, use the GET method with the fol
In order to get a specific community, use its ID. In the case of the sample tenant used in Graph Explorer, it's eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIxMjczMDI1MyJ9. Use the GET method with the following url: https://graph.microsoft.com/beta/employeeexperience/communities/eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIxMjczMDI1MyJ9
39
+
40
+
In order to get a specific Viva Engage community, use its ID. In the case of the sample tenant used in Graph Explorer, it's eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIxMjczMDI1MyJ9. Use the GET method with the following url: https://graph.microsoft.com/beta/employeeexperience/communities/eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIxMjczMDI1MyJ9
38
41
39
42
<imgsrc="/articles/images/VivaGraphAPI2.PNG">
40
43
41
44
42
45
b) by name
43
46
44
-
Use $filter to filter for your Viva Engage community's name. The API call fetches details about a community named "Our first Community" and returns data such as community ID, display name, description, and other related properties.
Use **$filter** to filter for your Viva Engage community's name. The API call fetches details about a community named "Marketing" and returns data such as community ID, display name, description, and other related properties.
47
53
48
-
c) by property
54
+
<imgsrc="/articles/images/VivaGraphAPI3.PNG">
49
55
50
56
51
57
52
58
See the full documentation for this GET request [here](https://learn.microsoft.com/en-us/graph/api/community-get?view=graph-rest-beta&tabs=http).
Using GET Method and Url https://graph.microsoft.com/beta/employeeexperience/communities/COMMUNITYID/owners?$select=displayName you can also retrieve the owners of the community.
Get the Microsoft 365 group associated with the Viva Engage community. The M365 group is crucial for the management of the community. You can manage community operations through the associated Microsoft 365 group by adding or removing members, managing ownership, deleting or renaming the group, and updating its description.
91
+
92
+
93
+
<imgsrc="/articles/images/VivaGraphAPIgroup.PNG">
94
+
67
95
<br/><br/>
68
96
69
97
<h1>community resource type</h1>
@@ -87,7 +115,7 @@ privacy | communityPrivacy | Defines the privacy level of the community. The pos
Every Viva Engage community is associated with a Microsoft 365 group, but the group doesn't have the same ID as the community.
118
+
Mind that every Viva Engage community is associated with a Microsoft 365 group, but the group doesn't have the same ID as the community.
91
119
92
120
<imgsrc="/articles/images/VivaGraphAPI3.PNG">
93
121
@@ -112,9 +140,12 @@ For Viva Engage networks in native mode, creating a new Viva Engage community al
112
140
113
141
| Method | Url | Description |
114
142
|---|---|---|
115
-
|GET|https://graph.microsoft.com/beta/employeeexperience/communities| Get all communities |
116
-
|GET|https://graph.microsoft.com/beta/employeeexperience/communities/COMMUNITYID| Get specific community|
117
-
|POST|https://graph.microsoft.com/beta/employeeexperience/communities/COMMUNITYID| Create a community|
143
+
|GET|https://graph.microsoft.com/beta/employeeexperience/communities| Gets all communities |
144
+
|GET|https://graph.microsoft.com/beta/employeeexperience/communities/COMMUNITYID| Gets specific community|
145
+
|GET|https://graph.microsoft.com/beta/employeeexperience/communities?$filter=displayName eq 'Marketing' | Gets community by name |
146
+
|GET|https://graph.microsoft.com/beta/employeeexperience/communities/COMMUNITYID/owners| Gets community owners |
147
+
|GET|https://graph.microsoft.com/beta/employeeexperience/communities/COMMUNITYID/group| Gets associated M365 group |
148
+
|POST|https://graph.microsoft.com/beta/employeeexperience/communities/COMMUNITYID| Creates a community|
118
149
119
150
120
151
<br/><br/>
@@ -123,3 +154,27 @@ For Viva Engage networks in native mode, creating a new Viva Engage community al
123
154
124
155
[Introducing the Community Creation API for Viva Engage on Microsoft Graph Beta ](https://techcommunity.microsoft.com/t5/viva-engage-blog/introducing-the-community-creation-api-for-viva-engage-on/ba-p/4011966
0 commit comments