
1,074 questions with Microsoft 365 and Office | Development | Office JavaScript API tags
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

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

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
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
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#
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


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

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

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
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

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

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

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
Microsoft 365 and Office | Development | Office JavaScript API

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
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

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


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

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

office office-add-in insert ooxml error
insertooxml error
Microsoft 365 and Office | Development | Office JavaScript API

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
