Questions tagged [office365-apps]

Office 365 add-ins lets you create consumer and enterprise experiences running within supported Office 2013 applications by using the power of the web and standard web technologies like HTML5, XML, CSS3, JavaScript, and REST APIs. An app for Office is basically a webpage that is hosted inside an Office client application. Use this tag when referring to Office 365 add-ins only.

Office 365 add-ins lets you create consumer and enterprise experiences running within supported Office 2013 applications by using the power of the web and standard web technologies like HTML5, XML, CSS3, and JavaScript.

An Office add-in is basically a webpage that is hosted inside an Office client application. You can use apps to extend the functionality of a document, email message, meeting request, or appointment. Add-ins can run in multiple environments and clients, including rich Office desktop clients, Office Web Apps, mobile browsers, and also on-premises and in the cloud.

This document provides a quick overview of the Add-ins for Office platform, how an app works inside of an Office application, and how you publish an add-in to the Office Store or to an onsite catalog for consumers to use.

There are several types of add-ins available:

Supported applications:

   Application      | Task pane | Content | Mail
  _______________________________________________
   Excel 2013       |     •     |    •    |
   Excel Web App    |     •     |    •    |
   Word 2013        |     •     |         |
   Outlook 2013     |           |         |   •
   Outlook Web App  |           |         |   •
   PowerPoint 2013  |     •     |         |
   Project Pro 2013 |     •     |         |

Resources:

488 questions
3
votes
1 answer

Reusing ClaimsPrincipal to authenticate against sharepoint online

I have an Office 365 account (using the latest SharePoint 2013 instance) I also have a simple .net web app that is authenticating against Office 365, I created an AppPrincipalId and added it using New-MsolServicePrincipal powershell commmand. This…
Phil
  • 2,315
  • 2
  • 18
  • 26
2
votes
1 answer

He does not allow me to send images with a size greater than 800kb

I created a flow in Power Automate for it sent scheduled mails from a Sharepoint list, the Sharepoint list contains columns such as Subject, Recipient, Hyperlink, Date and Time sent, and additional I make use of the attachments column for him sent…
user15500092
2
votes
1 answer
2
votes
1 answer

Office JavaScript API: selecting a range in Word for Mac

I'm working on a side project using the Microsoft Office JavaScript APIs. I have some functionality working to select a range in order to scroll to a particular position within a document. This works as expected in Office for the web, but in Office…
Dan Tao
  • 125,917
  • 54
  • 300
  • 447
2
votes
2 answers

Office JavaScript API: highlighting text in a document

I'm working on a side project using the Microsoft Office JavaScript APIs. I have been relying on the documentation to find my way around, but I've hit a wall trying to find something in the docs (perhaps it isn't there because it doesn't…
Dan Tao
  • 125,917
  • 54
  • 300
  • 447
2
votes
1 answer

AADSTS650051: Application 'CLIENT_ID' is requesting permissions that are either invalid or out of date

This question is similar to AADSTS65005: Application 'CLIENT_ID' is requesting permissions that are either invalid or out of date." But the situation is a little different: I removed registered application from AAD Auth this application This error…
吳文喬
  • 171
  • 1
  • 11
2
votes
0 answers

Office.context.mailbox.item.addFileAttachmentAsync is taking too long to return response

I have been experiencing very inconsistent behavior with this call. Sometimes it succeeds, sometimes fails, but always takes a long time with the Outlook Web client. We have seen this in dev, on production, with IE and Chrome browsers. Outlook is…
2
votes
1 answer

Office-js Excel addin : when to return context.sync()

I have trouble to understand when to use context.sync(). Here is a basic example but which resumes my lack of understanding: Excel.run(function (context){ const wb = context.workbook; const ws = wb.worksheets.getActiveWorksheet(); //…
Val
  • 33
  • 7
2
votes
2 answers

Get "Target URL ... is not allowed" error message when actioning Outlook actionable message for external email user

We're developing a connector that creates actionable outlook messages for external users. I.E. This is a service. Can anyone please help with the below example? We're getting an error for the external users when they try to action the message by…
markfl
  • 78
  • 8
2
votes
0 answers

How to know if a meeting is part of recurring series using office-js api without doing save drat

In my application I need to differentiate a recurring meeting vs a normal meeting, is there a way to get some this information in meeting compose form through Office-JS api without doing a save draft?
Deepak Sharma
  • 1,873
  • 10
  • 23
2
votes
0 answers

Azure AD and Office 365 authorization/authentication flow

I've a silly doubt related to Azure AD authentication and Office 365 provider hosted app/add-in authentication.As mainly there are two authentication ways for Azure AD resource access Authorization Grant flow ( user based /delegated permission )…
2
votes
0 answers

Using displayDialogAsync() to open dialog doesn't work after calling it a second time

When using displayDialogAsync() to open a dialog in Outlook, the dialog appears fine. However, when I close it with the 'X' button and try to reopen the dialog again by calling the same function, it does not work. Looking at console logs, this…
2
votes
1 answer

Officejs calls fail with 7000 Permission Denied for new file

I have Office Apps add-in (word/excel/pp) with ReadWriteDocument permissions. However there is unexplained behavior when I open a new file, open my add-in and try call either Office.context.document.getFilePropertiesAsync or…
spery
  • 342
  • 3
  • 15
2
votes
2 answers

Word js: how to get the Range object from start and end index

Basically what I want is that, I have start and end index now I want to get the Range object from this start and end index. OR how do I get the start and end index from the existing range object. Word.run(function (context) { var range =…
Prashant Mhase
  • 111
  • 3
  • 6
2
votes
1 answer

Office 365 add-in: Content Security Policy issues

Hi Office 365 Outlook team, Our Office 365 add-in specifies the following Content Security Policy: Content Security Policy directive: “frame-ancestors ‘self’ outlook.office365.com outlook.office.com” This has been working well until recently when…
Alexey
  • 556
  • 1
  • 5
  • 18