1,098 questions with Microsoft 365 and Office | Development | Office JavaScript API tags
How to find the issue for this Office.js addin error after updating?
Hi, After updating our Office.js add-in, several customers have reported encountering this error. The add-in was functioning properly prior to the update. The current work-around is for the customers to delete the WEF folder. After this, the add-in will…
Microsoft 365 and Office | Development | Office JavaScript API
Office add-in manipulate powerpoint headers/footers
Our main question is how we can manipulate headers and footers for a powerpoint file using office.js or another library/tehcnology available in the office add-ins context. We currently notice that there is no supported method in office.js. Is this…
Microsoft 365 and Office | Development | Office JavaScript API
How to get the content of a comment that has been clicked on ?
Hello, I am currently working on a Microsoft Add-In by using the Office js API and I need to retrieve the content of comments from a word document. I have been able to find how to retrieve the content of the comment when clicking on the text attached to…
Microsoft 365 and Office | Development | Office JavaScript API
How to detect if an appointment in OnAppointmentSend event is a canceled meeting in Outlook Add-in?
We have an Outlook add-in that uses the OnAppointmentSend launch event. It works correctly for normal meeting sends, but we need to detect when the user is sending a cancellation for an existing meeting. Is there a way to determine from the event payload…
Microsoft 365 and Office | Development | Office JavaScript API
What are the API options for retrieving full EML in an Outlook Add-in in mobile?
We are building an Outlook add-in which processes the full EML of the selected email. We have it working in Outlook web app and Outlook desktop app, however in the mobile app the add-in is failing because the necessary APIs are not supported in mobile…
Microsoft 365 and Office | Development | Office JavaScript API
I have bug in D365 mobile app for sales., It is JavaScript, and I can't find an emulator or method to test.
I have D365 form that works perfect in browser for D365 for sales for JavaScript in a button click. It is unresponsive however on mobile devices. I am using D365 Dynamics for Sales mobile app. I can not find emulator or good way to debug. I have tried…
Microsoft 365 and Office | Development | Office JavaScript API
How Can i Make arrowhead line with powerpoint office365 javascript api?
안녕하세요! Hi, I’m building a PowerPoint Web Add-in with Visual Studio 2022 (Office.js). I provide a set of shapes/images so that internal employees can insert consistent templates. Basic shape/image insertion works. However, I need to draw a line with an…
Microsoft 365 and Office | Development | Office JavaScript API
error code 500121 on my school account?
no matter what i do cannot get my school account logged in on my auth app. have googled and tried every video error code 500121 is all error i get.
Exchange | Exchange Server | Management
Microsoft Copilot | Microsoft 365 Copilot | Development
Microsoft Security | Microsoft Authenticator
Microsoft Teams | Microsoft Teams for business | Other
Microsoft 365 and Office | Development | Office JavaScript API
how to export the list of email forwarding on O365 including all the mailbox(shared, live etc)
I tried to export the list in powershell, but i very less details, one of my friend export in some other way, he got some other users. Please do the needful.
Exchange Online
Windows for business | Windows Server | User experience | PowerShell
Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Development | Microsoft 365 Publishing
Office-js NPM package
The Microsoft Office-JS NPM at https://www.npmjs.com/package/@microsoft/office-js says "The NPM package associated with this repo is no longer officially supported." Does this mean the NPM package will no longer provide the latest source…
Microsoft 365 and Office | Development | Office JavaScript API
Automating Italian salary breakdowns in Excel using online calculation data
Hi everyone, I’m setting up an Excel payroll template for Italian employees where I want to automatically show net salary, tax deductions, and contributions once the gross salary is entered. Right now, I’m using data and reference values from , since it…
Microsoft 365 and Office | Development | Office JavaScript API
Teams custom app fails to load after integrating Azure AD authentica
I’m developing a custom Teams app that integrates with Azure AD for user authentication. The app worked correctly in the development tenant, but after adding Azure AD sign-in using MSAL.js, the app intermittently fails to load inside Teams with the error…
Microsoft 365 and Office | Development | Office JavaScript API
How to apply PowerPoint template (.POTX/.PPTX) to existing slides using Office.js API?
I am developing a PowerPoint Add-in using the Office JavaScript API. I want to apply a PowerPoint template (POTX or PPTX) to the user’s current presentation without adding or replacing slides — basically, I want to apply the new design/theme to the…
Microsoft 365 and Office | Development | Office JavaScript API
Office Add-in offline installation
Hi everyone, Many of our (enterprise) clients have blocked the Microsoft AppSource for their users and would prefer an application installer that does not require loading the add-in via AppSource. It would be great to also be able to deploy…
Microsoft 365 and Office | Development | Microsoft 365 Publishing
Microsoft 365 and Office | Development | Office JavaScript API
Excel Add-In read cell in another workbook
It does not seem to be possible to read the contents of another workbook using the Excel JavaScript API. It seems you only have access to the workbook where the Add-In is executing. Is that correct? I have read the section of the documentation “Work with…
Microsoft 365 and Office | Development | Office JavaScript API
Always I am getting 401 error when I want to send mail through graph API, while it is generating token successfully
This is my node js code as below import axios from 'axios'; import { ConfidentialClientApplication, LogLevel } from '@azure/msal-node'; // Static configuration per your request const clientId = '****'; const clientSecret = '*******'; const tenantId =…
Microsoft 365 and Office | Development | Office JavaScript API
How to apply PowerPoint template (POTX/PPTX) to existing slides using Office.js without replacing content?
Hi team, I’m developing a PowerPoint Add-in (taskpane app) using the Office.js PowerPoint JavaScript API. My goal is to allow users to apply uploaded PowerPoint templates (PPTX or POTX) from our backend to their currently open presentation — ideally…
Microsoft 365 and Office | Development | Office JavaScript API
Issue with getAttachmentContentAsync when trying to fetch inline image attachment content
I am working on an outlook web add-in and encountered an issue with getAttachmentContentAsync. My goal is to retrieve all mail content, including inline attachments, when a mail is sent. Retrieving inline images upon sending the mail is the issue I am…
Microsoft 365 and Office | Development | Office JavaScript API
onMessageSendHandler re-executes after PromptUser override for inline attachments (Desktop Only)
Context: The issue occurs in an Outlook Mail Compose Add-in using the onMessageSendHandler function (which handles the ItemSend event). The code is adapted from the official documentation: "Automatically check for an attachment before a message is…
Microsoft 365 and Office | Development | Office JavaScript API
Graph API /me/messages/{id} returns 404 for specific users (works for others)
I am reaching out regarding an issue we're experiencing with the Microsoft Graph API for certain users. We are able to successfully call the following endpoint to retrieve messages: GET https://graph.microsoft.com/v1.0/me/messages However, when we…