
1,079 questions with Microsoft 365 and Office | Development | Office JavaScript API tags
Cross tenant shared file download programmatically
Use case : I need to access files shared by a user in an external tenant programmatically. For getting user delegated token I have given files.read.all , and im usign microsoft graph node sdk , for accessing cross tenant files, even if the file was…
Microsoft 365 and Office | Development | Office JavaScript API

Clarification of hostVersion and Office Build Version Equivalence for License Type Detection in Outlook Add-ins
I am developing telemetry to differentiate between volume-licensed and retail installations of Office 2016/2019 based on version information available in Outlook add-ins. We currently use Office.context.mailbox.diagnostics.hostVersion to capture the…
Microsoft 365 and Office | Development | Office JavaScript API

Theme apply on Microsoft Excel Web Addin.
I want to build a features which will fetch 4/5 theme details from a backend and when user will click on a particular colour palate then the theme should be applied on the current workbook. I was trying to apply the theme in current workbook but observed…
Microsoft 365 and Office | Development | Office JavaScript API

Guidance on IE11 Support and User Detection for Outlook Add-in Migration to Angular 19
We are in the process of migrating our Outlook Add-in from AngularJS to Angular 19. Since Angular 12 and later versions have dropped support for IE11, we want to ensure a smooth transition for our users. Currently, we have checked for IE11 users on…
Microsoft 365 and Office | Development | Office JavaScript API

If my account is deleted, will my office scripts within a Teams team also be deleted?
I've created multiple Office scripts for my organization, and I've shared these scripts with a Teams team. If my account is deleted, will these scripts on this site also be deleted? And if they are deleted, how can I prevent the scripts from being…
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 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
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

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 repair invalid SpeechRecognition API after edge Version 111.0.1661.54
Recently, after I updated my Edge browser, I discovered some speech-to-text extensions were unable to recognize my voice. Through my research, I found that the reason could be due to an API called SpeechRecognition. In Chrome, the speech-to-text API used…
Microsoft 365 and Office | Development | Office JavaScript API

Microsoft Edge | Microsoft Edge development

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

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

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