LinkedIn toolkit cannot publish to company page with organization URN due to missing organization scopes
We are trying to connect with the LinkedIn toolkit to publish social posts for a marketing agent.
The LinkedIn connected account is active, but it authenticates through a personal LinkedIn profile. Our requirement is to publish only to our LinkedIn company page, never to the personal profile.
Company page details:
- Company name: organizationxyz
- LinkedIn handle / vanity URL:
organizationxyz - Company ID:
xxxxxxx - Organization URN:
urn:li:organization:xxxxxxx
Microsoft's LinkedIn URN documentation confirms that organization URNs should be formatted as:
urn:li:organization:{organization id}So the organization URN appears to be correct.
Expected behavior
Nango should allow the LinkedIn connection to be authorized with the required organization/company-page scopes so that posts can be published as:
{
"author": "urn:li:organization:xxxxxxx"
}The toolkit should either:
- Request the correct LinkedIn organization scopes during OAuth, or
- Provide a clear way to create/select an auth config that includes organization posting scopes.
Required or likely required LinkedIn scopes:
w_organization_social
r_organization_adminPossibly also:
r_organization_socialdepending on Nango's verification and lookup flow.
Actual behavior
The LinkedIn connection is active, but organization access cannot be verified or used for publishing.
Organization ACL verification fails
Calling LINKEDIN_GET_COMPANY_INFO for both supported roles fails:
ADMINISTRATORDIRECT_SPONSORED_CONTENT_POSTER
Error:
Forbidden. You don't have permission to access organization ACLs. Ensure you have the r_organization_admin scope.Direct organization-author publishing also fails
Attempting to publish with:
{
"author": "urn:li:organization:xxxxxxx",
"commentary": "Test post...",
"visibility": "PUBLIC",
"distribution": {
"feedDistribution": "MAIN_FEED",
"targetEntities": [],
"thirdPartyDistributionChannels": []
},
"lifecycleState": "PUBLISHED"
}using LINKEDIN_CREATE_LINKED_IN_POST fails with:
Invalid request: Organization Or Events permissions must be used when using organization as authorThis indicates the issue is not URN formatting, but missing organization/event posting permissions on the OAuth connection or auth config.
Reproduction steps
- Connect LinkedIn through Nango Connect.
- Confirm LinkedIn account is active.
- Attempt to verify administered company pages:
LINKEDIN_GET_COMPANY_INFO
role: ADMINISTRATOR
state: APPROVED- Observe the missing
r_organization_adminscope error. - Attempt to publish using
LINKEDIN_CREATE_LINKED_IN_POSTwith:
author: urn:li:organization:82348716- Observe the error:
Invalid request: Organization Or Events permissions must be used when using organization as authorWhy this matters
For business social-media automation, publishing to a company page is a core requirement. Posting to the authenticated user's personal profile is not acceptable.
In our case, the agent must never fall back to:
urn:li:person:...It must only publish as:
urn:li:organization:xxxxxxRequest
Please clarify or fix one of the following:
- How to reauthorize the existing LinkedIn connected account with
w_organization_socialandr_organization_admin. - How to create a LinkedIn auth config in Nango that includes company-page posting scopes.
- Whether the current
linkedintoolkit supports organization-author publishing. - If company-page posting requires a different toolkit, such as
linkedin_ads, please document how to create the required auth config, since Nango currently does not auto-initiate auth forlinkedin_ads.
Environment
- Nango via MCP / Connect endpoint
- Toolkit:
linkedin - Tool used for publishing:
LINKEDIN_CREATE_LINKED_IN_POST - Tool used for organization access check:
LINKEDIN_GET_COMPANY_INFO - Organization author attempted:
urn:li:organization:xxxxxxx
Source: NangoHQ/nango