add-in
66 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/1.1KViews3likes4CommentsOffice.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?308Views2likes3CommentsContent 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)); });354Views2likes0CommentsChatGPT for Excel update failed, followed by Office add-in catalog errors
I am using Microsoft 365 Personal and Excel Desktop on Windows. The issue originally started when Excel told me that the ChatGPT for Excel add-in needed to be updated. I clicked "Update Now", but the update never completed. The Update button became disabled, and even after waiting for a long time and restarting Excel, ChatGPT still showed that an update was required. I then tried to remove the ChatGPT add-in, but Excel displayed an error saying that ChatGPT could not be removed and that I should try again later. After that, Excel started showing: "Error loading add-ins. One or more add-ins failed to load. See your add-ins." When I opened My Add-ins and clicked Refresh, Excel displayed: "Access denied to catalog." I then performed the following troubleshooting steps: Office is fully updated. I signed out and signed back into my Microsoft account. I cleared the Office add-in cache. Microsoft Edge WebView2 Runtime is installed and running. I tried running Excel as administrator. I performed Quick Repair. I performed Online Repair. I completely reinstalled Microsoft 365. Excel for the web can access and use Office add-ins normally. After reinstalling Microsoft 365, the ChatGPT for Excel add-in disappeared completely. I am now unable to reinstall it because Excel Desktop still shows: "Error loading add-ins. One or more add-ins failed to load." and "Access denied to catalog." The problem therefore started with a failed ChatGPT for Excel add-in update, and then developed into a broader Office add-in catalog problem in Excel Desktop. Please investigate whether there is an issue with the Office Add-in catalog / Microsoft Marketplace authentication or add-in update process for Microsoft 365 Personal accounts.266Views1like3CommentsCannot 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.1.5KViews1like2CommentsAccess 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.236Views1like4CommentsOutlook 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.864Views1like0CommentsAdd-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.164KViews1like18CommentsWhat 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.3KViews1like4Comments