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
Copy file name to clipboardExpand all lines: articles/en/Viva/vivagraphapi.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,13 +12,16 @@ date: '2024-06-02'
12
12
13
13
[Graph Explorer](https://developer.microsoft.com/en-us/graph/graph-explorer) is a great tool for showcasing the capabilities of the Graph API. It even comes with a sample tenant you can test your queries against. The same queries can, of course, be reproduced in Postmant and your future applications. For our purpose of testing the Viva Engage Community API, we will use Graph Explorer. If it's your first time using Graph Explorer or Graph API, you can check out the [Graph Explorer Overview](https://learn.microsoft.com/en-us/graph/graph-explorer/graph-explorer-overview).
14
14
15
+
<br/><br/>
15
16
16
17
<h1>Get all communities</h1>
17
18
18
19
In order to get all communities using Graph API, use the GET method with the following url: https://graph.microsoft.com/beta/employeeexperience/communities
19
20
20
21
<imgsrc="/articles/images/VivaGraphAPI.PNG">
21
22
23
+
<br/><br/>
24
+
22
25
<h1>Get specific community</h1>
23
26
24
27
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
@@ -27,6 +30,7 @@ In order to get a specific community, use its ID. In the case of the sample tena
27
30
28
31
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).
29
32
33
+
<br/><br/>
30
34
31
35
<h1>community resource type</h1>
32
36
@@ -41,12 +45,17 @@ id | String | The unique identifier of the community. Read only. Inherited from
41
45
privacy | communityPrivacy | Defines the privacy level of the community. The possible values are: public, private, unknownFutureValue (don't use).
42
46
43
47
48
+
<br/><br/>
49
+
44
50
<h1>Create a new community</h1>
45
51
46
52
Every Viva Engage community is associated with a Microsoft 365 group, but the group doesn't have the same ID as the community.
47
53
48
54
<imgsrc="/articles/images/VivaGraphAPI3.PNG">
49
55
56
+
57
+
<br/><br/>
58
+
50
59
<h1>Modify your community</h1>
51
60
52
61
For Viva Engage networks in native mode, creating a new Viva Engage community also generates a connected Microsoft 365 group, as well as a new SharePoint site, OneNote notebook, and Planner plan. You can use the associated Microsoft 365 group to manage community operations, such as:
0 commit comments