I'm working on an addin for Excel, the manifest has permission for ReadWriteDocument.
I'm adding a handler to Office.EventType.DocumentSelectionChanged Event
First time, I insert the addin in Excel Online, it works perfectly.
Later if the access the Excel, it fails with:
OSF.DDA.Error
code: 7000
message: "You don't have sufficient permissions for this action."
name: "Permission Denied"
displayDialogAsync
and in there addingdialog.addEventHandler(Office.EventType.DialogMessageReceived, callbackFunc)
throws this exception. – Nut