1,074 questions with Microsoft 365 and Office | Development | Office JavaScript API tags

Sort by: Updated
1 answer

How to Safely Include Slashes in Graph API Requests for Outlook Event IDs

When developing an Outlook Office Add-in, event IDs are stored in a database after registration from Outlook. Subsequently, the web application queries the Graph API to retrieve event details using the endpoint me/events/{event-id}. A problem arises when…

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-08-07T03:14:36.99+00:00
Shiro 0 Reputation points
commented 2025-08-11T05:51:53.57+00:00
Flora-T 2,165 Reputation points Microsoft External Staff Moderator
2 answers

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…

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-07-31T17:55:58.4666667+00:00
Rocktim Rajkumar 0 Reputation points
commented 2025-08-08T15:51:02.49+00:00
Rocktim Rajkumar 0 Reputation points
4 answers

How to get Json Data from an external WEB API to an JQUery autosearch text box end point

Hi everybody: I have an external minimal Web API that produces a JSON object ( array) as per below. app.MapGet("/AsyncAutocompleteErf/{search}", async (IErvenRepository request, string search) => { var data = await…

Developer technologies | ASP.NET | ASP.NET Core
Microsoft 365 and Office | Development | Office JavaScript API
Developer technologies | ASP.NET | ASP.NET API
asked 2025-01-10T16:24:18.3033333+00:00
Jose Daniel Navarro Brito 61 Reputation points
commented 2025-08-07T10:24:35.5633333+00:00
Raymond Huynh (WICLOUD CORPORATION) 620 Reputation points Microsoft External Staff
5 answers

How to load jquery autocomplete dropdown box from an external WEB API

Good day everybody: I have an external web api which returns a label, value records needed for a client application app.MapGet("/AsyncAutocompleteErf/{search}", async (IErvenRepository request, string search) => { var data = await…

Developer technologies | ASP.NET | ASP.NET Core
Microsoft 365 and Office | Development | Office JavaScript API
Developer technologies | ASP.NET | Other
asked 2025-02-06T10:32:43.52+00:00
Jose Daniel Navarro Brito 61 Reputation points
answered 2025-08-07T10:12:14.1033333+00:00
Raymond Huynh (WICLOUD CORPORATION) 620 Reputation points Microsoft External Staff
3 answers

Validate file content type for txt, log, JSON file in C#

public static bool IsFileValid(IFormFile file) { using (var reader = new BinaryReader(file.OpenReadStream())) { var signatures = _fileSignatures.Values.SelectMany(x => x).ToList(); // flatten all signatures to single list var headerBytes =…

Developer technologies | ASP.NET | ASP.NET Core
Microsoft 365 and Office | Development | Office JavaScript API
Developer technologies | .NET | Other
Developer technologies | ASP.NET | Other
Developer technologies | C#
asked 2025-01-08T17:16:17.0733333+00:00
Surajit Kumar Shah 0 Reputation points
commented 2025-08-07T02:48:24.16+00:00
Danny Nguyen (WICLOUD CORPORATION) 725 Reputation points Microsoft External Staff
16 answers

Outlook Add-in Fails to Update via Office 365 Admin Center Despite Passing Validation and Working Locally

I'm trying to update my Outlook add-in through the Office 365 admin center. The plugin manifest file I'm using was successfully used several months ago, and I was able to update the add-in without any issues at that time. I've made some minor changes -…

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-07-30T22:46:21.6033333+00:00
Serhii Mytrokhin 15 Reputation points
commented 2025-08-06T14:41:54.11+00:00
Michelle-N 3,420 Reputation points Microsoft External Staff Moderator
1 answer

Vertical lines for scrollbar visible in desktop add-in when add-in section is resized

When i resize the add-in section in my excel desktop app these vertical lines are visible where the previous position of scrollbar was present. It works fine for the online excel spreadsheet issue only occurs in desktop application. I have tried clearing…

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Excel | For business | Windows
asked 2024-07-08T07:33:58.1866667+00:00
Saloni Jagga 0 Reputation points
answered 2025-08-04T17:22:53.0633333+00:00
Matt 0 Reputation points
1 answer One of the answers was accepted by the question author.

hyperlink link to a PDF from within an Excel - automated email

Hi - Could you help please ? When a user clicks a hyperlink link to a PDF from within an Excel spreadsheet, instead of opening that PDF, the click should create an email draft with the target PDF attached. is this possible ? the PDF documents are stored…

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-07-29T12:26:18.52+00:00
shez 40 Reputation points
accepted 2025-07-31T06:53:27.96+00:00
shez 40 Reputation points
1 answer

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.

Microsoft 365 and Office | Development | Office JavaScript API
Exchange | Exchange Server | Management
Microsoft Copilot | Microsoft 365 Copilot | Development
Microsoft Security | Microsoft Authenticator
Microsoft Teams | Microsoft Teams for business | Other
asked 2024-06-24T18:33:20.09+00:00
estelle damster 5 Reputation points
commented 2025-07-30T14:59:45.33+00:00
Levi 0 Reputation points
1 answer

Outlook Add-in: How to communicate from OnMessageSend event to an Angular task pane?

Hi everyone, I'm developing an Outlook add-in using Angular and the Office.js library. I'm facing a challenge with communication between the OnMessageSend event and my main application running in the task pane. My Goal I want to execute logic (e.g.,…

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-07-22T18:12:10.0866667+00:00
Krystian Dawid 0 Reputation points
commented 2025-07-28T05:15:37.3733333+00:00
Dora-T 3,225 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Is it possible for a Next.js web app to open Microsoft Word with a specific Word Add-in (built with React) on button click?

Hi everyone, I’m currently developing a web application using Next.js, and I also have a Microsoft Word Add-in that was built with ReactJS. I would like to ask: Is there any way for my web app to open Microsoft Word and automatically load this specific…

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-07-13T16:04:41.9+00:00
Khoa 45 Reputation points
commented 2025-07-15T14:59:10.88+00:00
Khoa 45 Reputation points
1 answer

Default Width for OfficeJs Plugins not respecting default width set in the manifest

Default Width for OfficeJs Plugins not respecting default width set in the manifest. There are similar queries on Microsoft forums, where many users are requesting fix -…

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-07-04T06:36:06.0966667+00:00
Rakibe, Himanshu [TECH] 0 Reputation points
commented 2025-07-09T12:18:07.8933333+00:00
Kudos-Ng 2,885 Reputation points Microsoft External Staff Moderator
1 answer

JavaScript not working with ssrs report in edge

I working with an ssrs document and have images with a go to url that I inserted a JavaScript javascrpt:void(window.open http:\ the command completed works on a url command line within edge but if I click on the item nothing happens with the ssrs…

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
3,072 questions
Microsoft 365 and Office | Development | Office JavaScript API
asked 2024-08-20T03:26:06.5466667+00:00
Mark Tash 25 Reputation points
commented 2025-06-11T17:36:33.04+00:00
Patrick Dill 0 Reputation points
0 answers

JScript issues with Win11 24H2: per-application "JScriptReplacement"?

After Windows11 24H2, there are many compatibility issues with JScript engine as reported in other threads. There is a known workaround in the registry (per system or per user) using the JScriptReplacement=0. But, is there a per-application workaround…

Microsoft 365 and Office | Development | Office JavaScript API
Windows for business | Windows Client for IT Pros | User experience | Other
asked 2025-02-03T11:04:28.85+00:00
Davide Capodaglio 5 Reputation points
edited a comment 2025-06-10T14:51:58.3766667+00:00
Kestutis Mitkus 1 Reputation point
1 answer

Emails sent via Office.js add-in not rendering correctly in inbox

Hi everyone, I’ve developed a custom Outlook add-in using OfficeJS and I’m encountering an issue related to rendering HTML content inserted into the message body via the setSignatureAsync method. The problem specifically occurs **when a message is…

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-05-05T11:59:13.8733333+00:00
Emil Karapetyan 0 Reputation points
answered 2025-06-11T05:25:31.0266667+00:00
Mohsen Panahi 0 Reputation points
2 answers

How to properly open a Dialog using office.js and DialogApi?

On a freshly created taskpane add-in using yeoman generator for outlook with react, I'm trying to open a dialog for authentication using DialogApi but only an empty webview2 appears. For testing purposes, I'll only try to open a simple html file on this…

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-06-17T20:47:47.5366667+00:00
Jose Manuel Febrer 0 Reputation points
answered 2025-06-18T02:42:39.1033333+00:00
rikzakcom 0 Reputation points
0 answers

Overcome taskpane add-in (Word) SSO issue - error 13000

We are creating an add-in that needs to retrieve the user's M365 email - the add-in is a taskpane and made for Word and Excel. The issue occurs when getting the access token prior to calling the graph api. Office.onReady(async () => { try { //…

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-06-24T17:30:58.0866667+00:00
Ed Neary 20 Reputation points
0 answers

Identity API is not supported for this add-in

We are creating an add-in that needs to retrieve the user's M365 email - the add-in is a taskpane and made for Word and Excel. The issue occurs when getting the access token prior to calling the graph api. Office.onReady(async () => { try { //…

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-06-24T18:18:16.3466667+00:00
Ed Neary 20 Reputation points
edited the question 2025-06-24T18:19:52.12+00:00
Ed Neary 20 Reputation points
1 answer One of the answers was accepted by the question author.

office office-add-in insert ooxml error

insertooxml error

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-06-27T08:21:00.2233333+00:00
y jacky 20 Reputation points
accepted 2025-06-30T07:42:38.23+00:00
y jacky 20 Reputation points
0 answers

Request for Subresource Integrity (SRI) Hash Support for office.js CDN

Dear Microsoft Team, I hope this message finds you well. We are currently integrating the Office.js library as part of our Outlook Add-in and are referencing it via the official Microsoft CDN, as shown below: <script type="text/javascript"…

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-07-09T11:14:42.42+00:00
Rocktim Raj 0 Reputation points