871 questions with JavaScript API tags

Sort by: Updated
0 answers

In my Excel Web (Taskpane) Add-in, the title and "Get support" in the personality menu sometimes get grayed out

Hi, I'm developing an Excel Add-in (Office Add-ins platform, not VTSO/COM), which runs a taskpane. The add-in sometimes encounters an issue on the personality menu described below. When the personality menu works well, it presents GoodCase.png, where …

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,508 questions
asked 2024-04-04T03:51:02.8066667+00:00
Nakai Shinji 0 Reputation points
1 answer

Getting status code error 403 while deploying the java code to Azure server

Getting the below error While deploying java code to azure server. Status code 403, "{"error":{"code":"AuthorizationFailed","message":"The client 'azure_function@vlsrivaashr.com' with object id…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,908 questions
asked 2024-03-18T12:07:55.8966667+00:00
Vaibhav Srivastava 0 Reputation points
commented 2024-04-03T23:57:23.8766667+00:00
Grmacjon-MSFT 16,101 Reputation points
1 answer One of the answers was accepted by the question author.

Azure Functions v4 signalR connection

Hi. I am migrating our app from azure functions v3 to v4. I need to migrate the signalR negotiate trigger. In the documentation there is described the old way for v3, i need to know how to migrate it to…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,298 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
120 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
asked 2024-02-15T11:53:09.26+00:00
mattonecz 30 Reputation points
commented 2024-04-03T04:21:39.2333333+00:00
Aishwarya 0 Reputation points
1 answer One of the answers was accepted by the question author.

Patch request not updating data

I am trying to send a patch request and update my calendar using this API call in my code. const calendarsResponse = await axios.patch( `https://graph.microsoft.com/v1.0/me/calendars/${calendarId}`, updatedCalendarData, { headers: { …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,645 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,900 questions
asked 2024-04-01T19:45:56.2233333+00:00
STEPHEN IGNATIUS 20 Reputation points
commented 2024-04-02T10:40:10.6566667+00:00
STEPHEN IGNATIUS 20 Reputation points
1 answer

validate entra ID token in NodeJS

How to validate an entra ID token in NodeJS

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,559 questions
asked 2024-03-25T13:22:09.7733333+00:00
LATORRE IRANZO, Juan Carlos (J.) 0 Reputation points
commented 2024-04-01T05:02:20.1533333+00:00
Akhilesh 5,015 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Data access outside of function - Javascript

Hi I have the following code in javascript: var dadosJSON = ''; async function lerArquivoJSON(caminhoDoArquivo) { const resposta = await fetch(caminhoDoArquivo); const dados = await resposta.json(); return dados; } async function main() { …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,621 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
asked 2024-03-28T15:29:44.3033333+00:00
José Carlos 886 Reputation points
commented 2024-03-28T20:29:18.13+00:00
José Carlos 886 Reputation points
0 answers

Fetch Microsoft forms data inside the React app

I'm trying to integrate an microsoft inside the react application. I was able to embed inside the react application by following the https://support.microsoft.com/en-us/office/send-a-form-and-collect-responses-2eaf3294-0cff-492d-884d-a1dee909e845. Now…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,645 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
Microsoft Q&A
Microsoft Q&A
Use this tag to share suggestions, feature requests, and bugs with the Microsoft Q&A team. The Microsoft Q&A team will evaluate your feedback on a regular basis and provide updates along the way.
577 questions
asked 2024-03-28T16:23:14.59+00:00
Shibu Loyola Dass N 0 Reputation points
1 answer

How to solve 401 errors in order to access outlook calendars with @azure/identity?

Hi, I have been trying for hours now to build a next.js app that reads events from a shared outlook calendar. For some reason I cannot explain I always receive: GraphError at GraphErrorHandler.eval…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,645 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
asked 2024-03-06T15:28:53.73+00:00
Oliver Götz 0 Reputation points
commented 2024-03-26T14:58:55.86+00:00
awijekoon 950 Reputation points Microsoft Vendor
0 answers

Disable buttons in Javascript

I have a small program, which I made for my grandson, which shows an image of an animal, and the person has to guess the animal's name by clicking on the letters that make up the animal's name. These letters are buttons. What is happening? When the…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
asked 2024-03-24T11:21:47.8966667+00:00
José Carlos 886 Reputation points
edited the question 2024-03-25T01:23:26.51+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
1 answer

Office Addin Excel - React router [office-js-dev].

Is there a possibility to get a working sample which demonstrates how to use Nested Submenus in react based excel office addin , Using react router to move between differn pages/react components for differnt submenue items link to submenue items…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,508 questions
asked 2024-03-19T03:29:31.18+00:00
Bhasker Kumar 5 Reputation points
answered 2024-03-22T08:03:02.8533333+00:00
Sihai Zhong 0 Reputation points
0 answers

can anyone help me export data from workday to sharepoint via ccds(custom cloud data source) using javascript)

In the workday adaptive tool i have to write export data function: function exportdata(context){ var reader=context.createTableReader(); vsr row=null; while((row=reader.readerRow())!=null){ ai.log.logInfo(JSON.stringify(row)); } } the above code is the…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,680 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
asked 2024-03-22T06:05:04.6366667+00:00
Abhinav Khare 0 Reputation points
edited the question 2024-03-22T06:07:55.9+00:00
Abhinav Khare 0 Reputation points
1 answer

JavaScript Error->Error: Cannot find module 'prompt-sync'

I wrote the following javascript program on VSCode: try{ const prompt = require("prompt-sync")({sigint: true}) }catch(err){     console.log(err) } I am getting th efollowing error message: Error: Cannot find module 'prompt-sync' Following is…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
asked 2024-03-21T18:40:31.83+00:00
Khan, Zulfi 0 Reputation points
edited an answer 2024-03-22T04:16:47.87+00:00
Mzoughi Ilyes 80 Reputation points
1 answer

JavaScript Error->Error: Cannot find module 'prompt-sync'

I wrote the following javascript program on VSCode: try{ const prompt = require("prompt-sync")({sigint: true}) }catch(err){     ``console.log(err) } I am getting th efollowing error message: Error: Cannot find module 'prompt-sync' Following is…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
asked 2024-03-21T18:36:09.7933333+00:00
Khan, Zulfi 0 Reputation points
edited an answer 2024-03-22T04:07:01.5366667+00:00
Mzoughi Ilyes 80 Reputation points
1 answer

Migrating Service Bus Queue trigger with retry options from v3 to v4

Hello. In azure functions v4 we register our functions in function.json which can contain also retry settings: "retry": { "strategy": "exponentialBackoff", "maxRetryCount": 2, "minimumInterval":…

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
548 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,298 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
asked 2024-03-21T15:25:16.6166667+00:00
mattonecz 30 Reputation points
answered 2024-03-22T00:58:55.72+00:00
Ryan Hill 25,981 Reputation points Microsoft Employee
0 answers

Why Am I Getting the Error Message 'WORKBOOK REPAIRED' Every Time I Reopen My Excel Workbook After Running Office Scripts Code?

WORKBOOK REPAIRED We temporarily repaired this workbook so that you can open it in Reading View. Every time I execute this Office Scripts code, close and reopen the workbook, I get this error. I've reviewed the code but it seems fine to me. What could it…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,476 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,508 questions
asked 2024-03-21T18:40:16.8933333+00:00
Husiel Ruiz 0 Reputation points
commented 2024-03-21T20:10:32.7433333+00:00
Viorel 112.5K Reputation points
0 answers

Using the latest PictureInPictureWindow API in edge causes the browser to crash

Problem Description :Create a PIP window through the PictureInPictureWindow API in edge, and the browser will send a crash after opening the PIP window menu. OS: windows 10/11 Test Demo: https://document-picture-in-picture-api.glitch.me/ Menu Position:…

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,144 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,657 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,215 questions
asked 2023-12-20T02:47:10.48+00:00
emmett zhao 10 Reputation points
commented 2024-03-21T16:33:21.0133333+00:00
Divkovic , Matej 0 Reputation points
0 answers

How can I invoke copilot.microsoft.com programmatically via an API so that i can send a prompt in via code or a link?

I would like to submit prompts to copilot.microsoft.com programmatically via API or link such that the user is not forced into the copilot interface to enter a prompt. The problem is to be able to have the user make a preselection from a menu and have…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
Microsoft Copilot
Microsoft Copilot
Microsoft terminology for a universal copilot interface.
130 questions
asked 2024-03-20T20:39:42.6366667+00:00
ChrisCottrell-8918 20 Reputation points
1 answer

How to fix web app deployment not loading - 504.0 GatewayTimeout

Hello, My web app does not load and instead times out after a few minutes to the 504.0 Gateway Timeout error. I am using the Azure Database for PostgreSQL flexible server and Azure Plan as the subscription and Node as the Runtime stack. Perhaps it is…

Azure Dedicated Host
Azure Dedicated Host
An Azure service that provides a dedicated physical server to host Azure virtual machines for Windows and Linux.
48 questions
Azure Database for PostgreSQL
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,908 questions
asked 2024-03-18T17:49:58.38+00:00
Dio 0 Reputation points
edited a comment 2024-03-20T06:38:38.8533333+00:00
Dan Rios 1,345 Reputation points MVP
0 answers

Can Someone help check the scripts running in the https://compliance.microsoftonline.cn/contentsearchv2 in O365

Can Someone help check the scripts? We are using the Office 365 in Chian and in the Compliance center there we can run the tasks to use content Search function to export user emails see the links https://compliance.microsoftonline.cn/contentsearchv2…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,190 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,381 questions
asked 2024-03-19T01:48:47.32+00:00
Christest1 0 Reputation points
commented 2024-03-20T04:00:36.5766667+00:00
Christest1 0 Reputation points
0 answers

Is there a way to get slides (and subsequently show/hide) by section in the PowerPoint JS API?

I am trying to iteratively show/hide multiple named sections within an existing pptx file via the JS API, but I am not seeing any relevant documentation. Does the API not currently support these features? This seems pretty fundamental, so I am just…

PowerPoint
PowerPoint
A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
221 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,508 questions
asked 2024-03-19T04:46:45.3133333+00:00
Colby B 0 Reputation points
edited the question 2024-03-19T06:56:15.0166667+00:00
Jiajing Hua-MFST 4,990 Reputation points Microsoft Vendor