add-in
62 TopicsPrimer: How to Use RBAC for Applications to Control App Use of the Mail.Send Permission
The temptation to use the Mail.Send application permission in scripts can lead PowerShell developers into trouble because the permission allows access to all mailboxes, including sensitive executive and financial mailboxes. Fortunately, RBAC for Applications allows tenants to control the access that apps have to mailboxes and other Exchange content. All explained here with an example script to test RBAC of Applications. https://office365itpros.com/2026/02/17/mail-send-rbac-for-applications/617Views3likes4CommentsOffice.js preview features release
Office.js for PowerPoint has had a couple of preview features (getImageAsBase64, getSlideAsBase64) in preview now for nearly a year. I've done my best to search for any updates from the office.js on release timeline for these features with no luck. These two API calls are super convenient and enable features in the add-ins for PowerPoint which is near impossible to create using alternative solutions. Anyone out there with any knowledge on when we can expect these beta/preview features to be production ready?229Views2likes3CommentsContent Control getter not giving all characters | Word Add-in
Hi, I am working on Word add-in where I am able to set placeholder text for content control without any character limit but when I am trying to get the placeholder text using office JS methods, then it is returning only the first 255 characters string. If the same is set on content control object then the collection must return the whole text of the placeholder. Please provide a support for this issue as soon as possible. Code snippet :- Word.run((context) => { const range = context.document.getSelection(); // Insert a content control at the selection range const contentControl = range.insertContentControl(); // Set the placeholder text for the content control contentControl.placeholderText = "indiaaaaaaaaaaaaaaadsf asd fsdf[a]sd [fa]sd [fa]sd[ fa]sd f{}{}asd fsda:;asdfa sdf asd fasd asd fdfasd f@3323 q4q234q34dfasdf asd fasdf asd fasd fasd fasdf asd as fasd asdf asd asd fasdf asdf asd asd fasd fasd fasd asd sdafindiaaaaaaaaaaaaaaadsf asd fsdf[test test" // Load the changes made to the document return context.sync() .then(() => { console.log("Content control inserted with placeholder text:", contentControl.placeholderText); // returning only first 255 characters }); }) .catch((error) => { console.error("Error: " + JSON.stringify(error)); });338Views2likes0CommentsCannot install addins
I am a Microsoft 365 Personal user. When I try to add the Claude for Excel Addin (for the Desktop version of Excel), I get an error: "Error loading add-ins. One or more add-ins failed to load. See your add-ins.". However, this is not specific to the Claude addin, since every addin gives the same error. When I click on the My-Addins option and then "refresh", I get another error: "Access denied to catalog." Signing in and out of Office does not fix the issue. Clearing the Office 365 cache did not fix the problem. The issue extends to Powerpoint and Word as well. I cannot add any addins to the web versions of Office either. Interestingly, if I download an XML manifest file, I can use the "Manage my addins" option in the web versions of Office 365 to manually add the addins. But still no luck with the Desktop versions. Anyone have any thoughts on how to fix this? Do I need to manually reinstall Office 365? I also noticed that the "Get Add-ins" button in "Account" settings is disabled.746Views1like2CommentsAccess to subAddress Property of Hyperlinks in Powerpoint Javascript API
Recently my company has me developing a Taskpane Add-in for Powerpoint using the Javascript API. Right now the API is still missing a 'subAddress' property for the Powerpoint.Hyperlink class. My heart's deepest longing is to add a slide to a presentation with existing slide-to-slide hyperlinks, check those hyperlinks for discrepancies between the slide ID and the text (ie: a Hyperlink reading '13' that now links to slide 14), and finally correct the text to the subaddress ID of the hyperlink in Javascript. It is my burning passion to do this for every hyperlink in my presentation with the push of a button. In the interest of all mankind I would ask that the 'subAddress' property of the hyperlinks be available for use in addition to the 'address' and 'screenTip' properties which now exist. To the microsoft dev who can grant me this boon I offer half my kingdom. Truly there is no dev more favoured than thee.130Views1like4CommentsOutlook Add-in Can not get access token
Hi. I am trying to develop an outlook add-in and in my adding I want to forward and/or delete an email. for this I am using Microsoft exchange API like this await axios.delete(`${OFFICE_URL}/me/messages/${mailId}`, { headers: { 'Authorization': 'Bearer ' + accessToken, 'Content-Type': 'application/json', 'Accept': 'application/json', } }); but to be able to this I need to get an access token. From the Microsoft documentation (https://learn.microsoft.com/en-us/javascript/api/outlook/office.mailbox?view=outlook-js-1.5&preserve-view=true#outlook-office-mailbox-getcallbacktokenasync-member(1) I am trying to get my access token like this. async function getAccessToken() { return await new Promise((resolve, reject) => { Office.context.mailbox.getCallbackTokenAsync( { isRest: true }, function (result) { if (result.status === Office.AsyncResultStatus.Succeeded) { resolve(result.value); } else { reject(new Error(result)) } }) }); } This code is not working approximately for a week but before it was working and I was not getting an error. But this is not the case anymore. From developer tools, this is the request and payload I am sending. Even though server responds with 200 (OK) it is not giving me my token. This is the response. { "Header": { "ServerVersionInfo": { "MajorVersion": 15, "MinorVersion": 20, "MajorBuildNumber": 7292, "MinorBuildNumber": 29, "Version": "V2018_01_08" } }, "Body": { "ResponseMessages": { "Items": [ { "__type": "GetClientAccessTokenResponseMessage:#Exchange", "Token": null, "MessageText": "An internal server error occurred. The operation failed., One or more errors occurred.", "ResponseCode": "ErrorInternalServerError", "ResponseClass": "Error" } ] } } } What I do not understand is that this was working fine just a week before and not just one time but it was working fine for more than a month.847Views1like0CommentsAdd-ins in the new Outlook for Windows
The new Outlook for Windows brings a more consistent and robust experience with rapid access to new features. It also has some significant changes in how add-ins are handled. The article below outlines our approach and what admins need to know about add-ins in the new Outlook for Windows.163KViews1like18CommentsWhat is this? Is this an Office Addin?
Hi, I'm a developer and I got this promotional e-mail from Microsoft: I dislike the ad itself, but I'm interested the way this works: when I click in a button, instead of opening a browser, it reacts in the e-mail body itself. Like a mini browser with SPA in the body. What is this kind of e-mail? Is it an outlook add-in? How can I create this kind of e-mail for Outlook?Solved1.3KViews1like4CommentsXMLTools doesn't work with Excel 2007 anymore
Hello, I used XMLTools for Excel 2003 with Excel 2007 (it says its compatible). Everything worked fine, but now I get a Errormassage saying: Runtime error '424', object requierd. How can I make it work again? https://support.office.com/en-us/article/Create-an-XML-data-file-and-XML-schema-file-from-worksheet-data-e35400d4-0e10-4669-9a50-59a8c57d677e1.4KViews1like1Comment