What if a user doesn't have access to the SharePoint Document configured for a Confluence Macro?

Question

What happens if a user in a "SharePoint Online Document" macro has configured a SharePoint Document and then another user who doesn't have access to this document tries to display the Confluence page?

Answer

In this case, instead of the SharePoint document the following error message will be displayed:

Image 1: Error message regarding missing permission at a SharePoint document (click to enlarge)

Filter by label

There are no items with the selected labels at this time.