To publish to Linkedin company page using the plugin XYZ SMAP (XYZ Social Media Auto Publish) you need to create a linkedin app and get approval from linkedin.
You can see the app creation and app approval details in https://help.xyzscripts.com/docs/social-media-auto-publish/faq/how-can-i-create-linkedin-application/
After getting approval from linkedin, in the plugin please select “Basic profile fields+company pages” in the V2 API permissions.
Now save the app and authorize it. After the authorization, you can see the company pages and select the company page to auto publish.
Now you can auto publish your posts to your linkedin pages.
If there is any issue please contact our support team.