1,103 questions with Microsoft 365 and Office | Development | Office JavaScript API tags
login.microsoftonline.com/common/oauth2/v2.0/logout?post_logout_redirect_uri does not use the provided redirect URI
im using Microsoft OAuth2 to authorize users and obtain access and refresh tokens, in some cases I need the user to logout form the application, I used the redirect URI in the authorization process and it worked fine, and after the user successfully sign…
Microsoft Security | Microsoft Graph
Microsoft 365 and Office | Development | Office JavaScript API
Microsoft Security | Microsoft Authenticator
Published Outlook Add-in - only OnMessageSend not triggering
I have published this add-in for more than a year, previously I've only tested with the old Outlook on Windows and it works perfectly. Now I've changed some of the JS scripts (but not my manifest.xml) to make some features work with the new Outlook on…
Microsoft 365 and Office | Development | Office JavaScript API
Is it possible to Compare two base64 document using Word JS API? I don't want to compare with currently opened document. Requirement is to compare two different word document.
Is there a way to invoke Word.Document.Compare or compareFromBase64 method from Word Javascript API to compare two Word documents in base64 format? I don't want to compare with currently opened document. Requirement is to compare two different word…
Microsoft 365 and Office | Development | Office JavaScript API
Does the "online" word document support removing/adding content control along with text? If YES, what Office.js API can be used?
Hi Team, My requirement in Word document using Office.js APIs in both desktop version and web version are- remove the text with its content control add the text with content control I could perform both actions above in 'Desktop version' without any…
Microsoft 365 and Office | Development | Office JavaScript API
How to set the vertical scroll percentage on the active document
I'm working on a Word add-in using the preview version of the Office API and I'm trying to programmatically scroll the page, which seems to be possible based on the docs. I'm trying to do something like this: await Word.run(async (context) => { …
Microsoft 365 and Office | Development | Office JavaScript API
insertFileFromBase64: "The action is not supported by word in a browser."
In word online the following Office js API is throwing error "The action is not supported by word in a browser." The same code works fine in the word desktop. Could you please let me know if there is any alternative to this API which will work…
Microsoft 365 and Office | Development | Office JavaScript API
535 5.7.139 Authentication unsuccessful
We are receiving the following error using the Office 365 SMTP server to send mails: 535 5.7.139 Authentication unsuccessful, the request did not meet the criteria to be authenticated successfully. Same issue with MFA (+ App password) and without…
Microsoft 365 and Office | Development | Office JavaScript API
Exchange | Exchange Server | Management
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
Microsoft 365 and Office | Development | Microsoft 365 Publishing
Windows for business | Windows Server | User experience | PowerShell
Microsoft 365 and Office | Development | Office JavaScript API
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…