Skip to main content

KI-126

Non-admin users are unable to check in Microsoft 365 files

Created date

07/22/2024

Updated date

07/22/2024

Status

Backlog

Related work item

PLTFM-2880

Description

If a non-admin user checks out a Microsoft 365 file and then tries to check the file back in, they will receive a “Could not get file” error message. This is because they are missing a permission set that grants them access to the CA_CheckOutResource Apex class that was added to the mvn-content-authoring package in the last product release.

Affects version(s)

v14.1

Impacted capabilities

Content Management

Steps to reproduce

  1. Ensure that you have Microsoft 365 set up and configured in your Salesforce org.

  2. Create a Document record with a Microsoft 365 file (e.g., .docx).

  3. Check out the file to Microsoft 365.

  4. Check the file back in.

Notice how the file does not get checked in and a “Could not get file” error message appears instead.

Workaround

Assign all non-admin users who need to use the Microsoft 365 integration a permission set that grants them access to the CA_CheckOutResource Apex class. You can create a new permission set or modify an existing one.

Fix version

Resolution notes