Share via

office-js ms-word:ofe|u|https://EXTERNAL-URI-FROM-SERVER.docx results in issue "You can only view this document. You do not have permissions to edit it."

Anonymous
2023-02-24T07:52:05+00:00

Versions:

The current version of Office 365: is Version 2301: February 14 Version 2301 (Build 16026.20200).

The current version of Office-js is "@microsoft/office-js": "1.1.78".

To open Word documents in the Office 365 version mentioned above, you can use the command ms-word:ofe|u|https://EXTERNAL-URI-FROM-SERVER.docx with the syntax <scheme-name>:<command-name>|<command-argument-descriptor>|<command-argument>, as described in the Microsoft Office Uri Schemes documentation (https://learn.microsoft.com/en-us/office/client-developer/office-uri-schemes).

When opening Word documents in protected view (which is enabled for sources from the internet in my case), an error message appears: "You can only view this document. You do not have permissions to edit it."

However, no limiting permissions are assigned to the test documents.

This issue did not occur in the previous version of Office 365 (Version 2301: January 26, Build 16026.20146).

Have other users experienced similar issues? Is there an open ticket with Microsoft regarding this issue?

Microsoft 365 and Office | Word | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-02-24T08:29:57+00:00

    Hi Kasper,

    Thanks for posting in the community.

    According to your description, the situation happens when using Office URI schemes. We would love to help you with your query, however, our team focuses on general queries. The situation you mentioned is related to Office development, you can go to Microsoft Q&A Community by using the Office Development tag, as there are also many experienced engineers and experts in the forums there.

    Also, we welcome community members to share ideas about the situation if one has related experiences.

    Sincerely,

    George | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments