Skip to content

Latest commit

 

History

History
145 lines (108 loc) · 3.84 KB

File metadata and controls

145 lines (108 loc) · 3.84 KB
title storyline: follow
description Follow a user on Viva Engage
author aditijha4
ms.date 02/06/2026
ms.localizationpriority medium
ms.subservice viva-engage
doc_type apiPageType

storyline: follow

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Follow a user's storyline in the organization.

In Viva Engage, users may follow other users within the platform. This feature helps users stay updated with the activities and posts of the people they follow. It's useful for keeping track of influential or key individuals within the organization, such as leaders or ambassadors who can help spread news and awareness on specific topics.

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

HTTP request

POST /users/{user-id}/employeeExperience/storyline/follow

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.
Content-Type application/json. Required.

Request body

In the request body, supply a JSON representation of the parameters.

For delegated permissions (user context), leave the request body empty:

{}

For application permissions (app-only context), provide the following parameter:

Parameter Type Description
followBy engagementIdentitySet The identity information of the user who is following. Required for application permissions.

Response

If successful, this action returns a 204 No Content response code.

Examples

Example 1: Follow a user with delegated permissions

The following example shows how to follow a user using delegated permissions.

Request

POST https://graph.microsoft.com/beta/users/f2a84916-d735-41d9-a04a-4ecf6266ae71/employeeExperience/storyline/follow
Content-Type: application/json

{}

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

HTTP/1.1 204 No Content

Example 2: Follow a user with application permissions

The following example shows how to follow a user using application permissions.

Request

POST https://graph.microsoft.com/beta/users/b3c29da7-ff83-4a92-b14e-7c91fe830b96/employeeExperience/storyline/follow
Content-Type: application/json

{
  "followBy": {
    "user": {
      "id": "e7f439cd-2e84-4b15-a903-f6d82a7b9c21"
    }
  }
}

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

HTTP/1.1 204 No Content