LinkedIn Community Management MCP connector for Copilot Studio
March 10, 2026
Managing a LinkedIn Page means juggling post creation, comment moderation, media uploads, and analytics across multiple screens. Multiply that across several organization pages and the context-switching adds up fast.
The LinkedIn Community Management connector puts all of that behind 28 MCP tools so your Copilot Studio agent can handle it conversationally.
Seven operation categories
Posts (5 tools)
Full lifecycle management for LinkedIn posts:
| Tool | Method | Description |
|---|---|---|
| create_post | POST | Create text, image, video, article, document, or reshare posts |
| get_post | GET | Retrieve a post by URN |
| find_posts_by_author | GET | Find posts by a member or organization |
| update_post | POST | Update commentary or reshare settings |
| delete_post | DELETE | Remove a post |
The connector supports every LinkedIn post type: plain text, images, videos, articles with link previews, document carousel uploads, and reshares.
Comments (4 tools)
| Tool | Method | Description |
|---|---|---|
| get_comments | GET | List comments on a post |
| create_comment | POST | Add a comment to a post |
| get_comment | GET | Get a specific comment by ID |
| delete_comment | DELETE | Remove a comment |
Reactions (3 tools)
| Tool | Method | Description |
|---|---|---|
| get_reactions | GET | List reactions on a post |
| create_reaction | POST | React to a post (LIKE, PRAISE, EMPATHY, and more) |
| delete_reaction | DELETE | Remove a reaction |
Organizations (4 tools)
| Tool | Method | Description |
|---|---|---|
| get_organization | GET | Get organization details by numeric ID |
| find_org_by_vanity_name | GET | Look up an organization by its URL vanity name |
| get_follower_count | GET | Get total follower count |
| find_member_org_access | GET | Find organizations the member administers |
Social metadata (2 tools)
| Tool | Method | Description |
|---|---|---|
| get_social_metadata | GET | Get engagement stats (likes, comments, shares) |
| toggle_comments | POST | Enable or disable comments on a post |
Media (7 tools)
Upload images, videos, and documents for use in posts:
| Tool | Method | Description |
|---|---|---|
| initialize_image_upload | POST | Get an upload URL for an image |
| get_image | GET | Get image details by URN |
| initialize_video_upload | POST | Initialize video upload (returns chunk URLs) |
| finalize_video_upload | POST | Finalize after all chunks are uploaded |
| get_video | GET | Get video details and processing status |
| initialize_document_upload | POST | Get an upload URL for a document |
| get_document | GET | Get document details by URN |
Video upload flow:
Video files upload in 4 MB chunks:
- Call
initialize_video_uploadwith the file size to get chunk upload URLs and a video URN - PUT each 4 MB chunk to its corresponding upload URL and save the ETag from each response
- Call
finalize_video_uploadwith the video URN, upload token, and array of ETags
Statistics (3 tools)
Analytics for your LinkedIn Page:
| Tool | Method | Description |
|---|---|---|
| get_share_statistics | GET | Post and share engagement analytics |
| get_page_statistics | GET | Page view analytics segmented by demographics |
| get_follower_statistics | GET | Follower growth and demographic breakdowns |
Filter by time range using start_time and end_time as epoch milliseconds with optional granularity (DAY, WEEK, MONTH). Data is available for the past 12 months.
Example agent scenarios
Automated post creation and engagement monitoring
- User tells the agent to draft a post about a new product launch
- Agent uses
create_postto publish text with an article link preview - Later, agent uses
get_social_metadatato check likes, comments, and shares - Uses
get_commentsto surface any questions that need responses
Community engagement workflow
- Agent uses
find_posts_by_authorto list recent organization posts - For each post, calls
get_social_metadatato rank by engagement - Uses
get_commentsto find unanswered questions - Flags posts that need attention with comment counts and topics
Page analytics reporting
- Agent uses
get_follower_statisticsto pull follower growth for the past quarter - Calls
get_page_statisticsto break down page views by audience demographics - Uses
get_share_statisticsto identify top-performing posts - Summarizes trends for the social media team
Rich media posting
- Agent calls
initialize_image_uploadto get an upload URL - Uploads the image to the returned URL
- Uses
create_postwith the image URN to publish a visual post - Tracks performance with
get_social_metadata
LinkedIn API details
The connector handles several LinkedIn REST.li patterns automatically:
- URN encoding: Pass raw URN values like
urn:li:organization:123. The connector URL-encodes them in API paths. - Post creation response: LinkedIn returns the new post ID in the
x-restli-idheader. The connector extracts it and returns{ "id": "urn:li:ugcPost:..." }in the response body. - Partial updates:
update_postandtoggle_commentswrap your changes in the required{"patch":{"$set":{...}}}envelope automatically. - Compound keys:
delete_reactionconstructs the REST.li compound key path/reactions/(actor:{urn},entity:{urn})from individual parameters. - API versioning: All requests include
Linkedin-Version: 202602andX-Restli-Protocol-Version: 2.0.0headers automatically.
Prerequisites
- A LinkedIn account with admin access to at least one LinkedIn Page
- A LinkedIn Developer App with the Community Management product enabled
- OAuth 2.0 credentials (Client ID and Client Secret) from your LinkedIn Developer App
Required OAuth scopes
| Scope | Description |
|---|---|
| w_member_social | Create and manage posts as a member |
| w_organization_social | Create and manage posts as an organization |
| r_organization_social | Read organization posts and social actions |
| rw_organization_admin | Read and write organization page administration |
| r_organization_admin | Read organization page details |
Setup
- Go to the LinkedIn Developer Portal and sign in
- Create a new app or select an existing one
- Under Products, request access to Community Management
- Under Auth, note your Client ID and Client Secret
- Add the Power Platform redirect URL to Authorized redirect URLs
Deploy with PAC CLI:
pac connector create `
--api-definition-file apiDefinition.swagger.json `
--api-properties-file apiProperties.json `
--script-file script.csx
For Copilot Studio:
- Open your agent
- Go to Actions > Add an action > Connector
- Search for your connector and add it
- The agent discovers all 28 tools automatically
Application Insights telemetry
Add your connection string to script.csx to track:
| Event | Description |
|---|---|
| RequestReceived | Every incoming request with correlation ID |
| RequestCompleted | Success responses with duration |
| RequestError | Failed requests with error details |
| MCPRequest | MCP tool invocations |
| MCPToolCall | Individual tool calls with parameters |
| MCPToolError | MCP-specific errors |
| LinkedInAPIError | LinkedIn API failures |