Skip to content

Commit abe97b6

Browse files
Update vivagraphapi.md
1 parent e6967f6 commit abe97b6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

articles/en/Viva/vivagraphapi.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,16 @@ date: '2024-06-02'
1212

1313
[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).
1414

15+
<br/><br/>
1516

1617
<h1>Get all communities</h1>
1718

1819
In order to get all communities using Graph API, use the GET method with the following url: https://graph.microsoft.com/beta/employeeexperience/communities
1920

2021
<img src="/articles/images/VivaGraphAPI.PNG">
2122

23+
<br/><br/>
24+
2225
<h1>Get specific community</h1>
2326

2427
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
2730

2831
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).
2932

33+
<br/><br/>
3034

3135
<h1>community resource type</h1>
3236

@@ -41,12 +45,17 @@ id | String | The unique identifier of the community. Read only. Inherited from
4145
privacy | communityPrivacy | Defines the privacy level of the community. The possible values are: public, private, unknownFutureValue (don't use).
4246

4347

48+
<br/><br/>
49+
4450
<h1>Create a new community</h1>
4551

4652
Every Viva Engage community is associated with a Microsoft 365 group, but the group doesn't have the same ID as the community.
4753

4854
<img src="/articles/images/VivaGraphAPI3.PNG">
4955

56+
57+
<br/><br/>
58+
5059
<h1>Modify your community</h1>
5160

5261
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

Comments
 (0)