Questions tagged [office365]

Microsoft Office 365 includes service APIs for the hosted versions of Exchange Server, SharePoint, Lync, and Yammer. These APIs give you access to Files, Sites, Calendar, Contact, Mail, Notes and other data stored in Office 365. Many of these are also available via the Microsoft Graph. Additionally, there are APIs for integrating with add-ins for SharePoint, Word, Excel, PowerPoint, Outlook, and OneNote.

Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

VBA Excel: set Sensitivity Label as Public

Good morning, I would like your help. Is there any code with which I can set the sensitivity label as 'Business Use' for every new Excel file I open? Workbooks.Add 'Define Sensitivity label as 'Public'...
Vasilis Kal's user avatar
0 votes
0 answers
13 views

Office JS - Italic between quotation marks

Beginer here. My problem might be basic but I am struggling to find a way to solve it. I'm developing a Word add-in using the Office JS API (in Script Lab). I want a function that will put any text ...
SEB0123456's user avatar
-1 votes
0 answers
8 views

How do I preserve the Outlook Folder structure when recreating a profile [closed]

USER CONFIGURATION Windows 11 O365 Microsoft® Outlook® for Microsoft 365 MSO (Version 2308 Build 16.0.16731.20370) 32-bit From time to time, we need to recreate a user's profile for any number of ...
ezG's user avatar
  • 409
0 votes
1 answer
37 views

Power Autotmate - Flow works it reads all the the data from the SQL database, but does not create the newest item in SP list

My flow goes like this: Manually trigger -> Get rows(SQL database) **-> **Apply to Each wrapper -> Get items(SP) -> Condition length(body('Get_items')?['value']) is equal to 0 -> if ...
MathiasMester's user avatar
1 vote
1 answer
33 views

Truncation Issue with SMTP.office365.com in Codeigniter 3

Issue: While sending emails using smtp.office365.com in a Codeigniter 3 application, the email body text is being truncated. The email body contains HTML, and even simple text messages are not being ...
Esar-ul-haq Qasmi's user avatar
-1 votes
0 answers
65 views

Is Microsoft Removing VBA Support From MS Office? [closed]

I saw a news report saying that Microsoft will be removing support for VBS. Will support for VBA in the Office suite also be removed?
init 1's user avatar
  • 37
0 votes
1 answer
16 views

How to change color of bar (Points) in chart office js?

i want change the color of chart bar in office js. i am using Exce.run function. change the color of chart bars where show the value of chart. ` Excel.run(function (context) { ...
Zia ul Qamar's user avatar
0 votes
0 answers
19 views

Is there a way to edit the dropdown list of an excel spreadsheet?

I'm using data validation to create a dropdown list from a specific range of cells and that works normally, but it would be really nice if I can add some color to the dropdown list itself. This is ...
Shawn Mitchell's user avatar
1 vote
0 answers
11 views

Call a flow to create an OutLook event using the users' timezone.. is this possible?

I have this form inside our canvas app to call a flow which create an event:- and this is the code inside the Save button:- WFHSendInviteToCalender.Run( "{ ""WFHId&...
microsoftdeveloperdesigner's user avatar
0 votes
0 answers
35 views

Create an item if a value from my SQL data doesn't match any data in my SharePoint list

The flow is: Trigger - start flow when "Item is created" (SQL database) check specific value from the SQL data with the data in my SharePoint list IF that value does not exist in my ...
MathiasMester's user avatar
0 votes
0 answers
3 views

SharePoint views migration from classic to modern sites

we are in the process of migrating data from a classic sharepoint to a modern sharepoint site, files and folders have been ok, also lists have moved, but we run into problems with sharepoint views and ...
stanperez's user avatar
0 votes
0 answers
13 views

how can I get word Document Name? Using Office JavaScript API

I need a Method that get current word document name in all applications (office 365 web ,desktop, Mac). I tried with file URL but that is got after file saved and that is different in mac and ...
M Јǚйáĩď's user avatar
0 votes
0 answers
33 views

Getting Exception while using Java Mail for Office 365

I am getting below exception while sending mails using Java Mail for Office365 Exchange server through our application in Windows Server. The Windows server is located in cloud platform. The same ...
Ram's user avatar
  • 435
0 votes
0 answers
59 views

Trying to open by VBA a ".docx" word document based on a ".dotm" template will launch a temporary file with security message even in trusted folder

Sorry I asked the same question in an Access World post, but I could not found a solution. In an Access form or in an Excel userform, I have a text box and a button. In the text box the user will ...
lauro's user avatar
  • 29
0 votes
0 answers
15 views

how to convert word Ooxml to html using javascript?

getHtml() method doesn't return the exact same HTML for the same document on different platforms (Windows, Mac, Word on the web, etc.). If you need exact fidelity, or consistency across platforms, ...
M Јǚйáĩď's user avatar
0 votes
0 answers
47 views

Excel VBA: Two users one PC, user A performance is 5-10x better

IN SHORT: I have an Excel XLSB file with some pretty complex VBA code in it that iterates through a folder of XLSB files, opens each one by one, grabs some data, and closes it, then at the very end ...
Mike Lasch's user avatar
0 votes
0 answers
36 views

Filter a table and return all values which meet multiple criteria from another table in Excel

I have an excel workbook which has 3 sheets; Sheet1 contains a table called Spend_2022, Sheet2 2 contains a table called All_Spend, Sheet 3 is called Auto_Pop. My intention is for a user to select a ...
Feketenyek's user avatar
0 votes
1 answer
41 views

Application.DisplayAlerts Forces Step Into

When exporting data from an Access query (O365, Version 2310 build 16924) to an Excel template (xltm) the following code "pauses" on the "xl.Application.DisplayAlerts = False" line ...
Stormer's user avatar
  • 35
0 votes
0 answers
49 views

TOCOL function does not give expected results

I was working on an answer to the following question: https://stackoverflow.com/a/77547442/12634230 when I got a formula that returned the correct results, but when any value was changed within the ...
P.b's user avatar
  • 10.8k
0 votes
2 answers
65 views

Calculating planned working hours based on department in excel worksheet

In the attached file I have tried to subtract columns "out" from "in" to find planned working hours based on the department a person is working in. Sum two columns based on text....
Andreas's user avatar
  • 15
1 vote
0 answers
29 views

contentControl delete issue in word using office js [closed]

I appreciated for contentControl but I am facing a issue when I deleting contentControl this is deleting contentControl only gives error when I was deleting contentControl when contentControl is ...
M Јǚйáĩď's user avatar
1 vote
2 answers
33 views

how to insert value to row cells adding new row in table using office js in word?

using This I am adding new row in table how can I give value to its cells await Word.run(async (context) => { const selection = context.document.getSelection(); selection.load('...
M Јǚйáĩď's user avatar
0 votes
1 answer
13 views

Outlook addin - trigger on incoming messages (js)

The documentation for event-based triggering in Outlook add-ins only lists events for created and sent messages. Is there no way to trigger on received messages?
jgauffin's user avatar
  • 100k
-1 votes
1 answer
26 views

how can I get `parentSectionOrNullObject` Range in word? using Office javascript Api

I am using this but this is giveing error TypeError: Cannot read properties of undefined (reading 'isNullObject') when I am using breakpoint then this is give selection.parentSectionOrNullObject ...
M Јǚйáĩď's user avatar
0 votes
1 answer
33 views

office365, send mail use graph API, it usually fail

when I send mail use graph API(https://graph.microsoft.com/v1.0/users/***@***.onmicrosoft.com/sendMail) it usually fail。 the Http request is success,but the mail Delivery failed. it returns erros ...
huangwq's user avatar
0 votes
0 answers
7 views

Create publicly accessible webcal uri from .net core console application

I have this code: var calendar = new Calendar(); // Create a calendar event var calendarEvent = new CalendarEvent { Summary = "Meeting with Client", Description = "Discuss ...
lonelydev101's user avatar
  • 1,678
0 votes
1 answer
29 views

how can I get Word.Section Range using office javascript api?

I want to get current Word Section range. where my cursor is clicked get there section rage. this is like of Microsoft documentation Word.Section class
M Јǚйáĩď's user avatar
0 votes
2 answers
63 views

Want to group based on certain row in Excel

I have a set of data as below in Excel Want to group or sort based on below I have large set of data where i need to sort based on above
Vivek Kanna's user avatar
0 votes
2 answers
58 views

Conditionally assemble and send emails from Excel

I have an Office 365 with access to PowerAutomate. In a single Office 365 Excel workbook, there are three sheets. The first sheet "People" contains data about the recipients, including their ...
OC2PS's user avatar
  • 1,049
0 votes
1 answer
37 views

Naming a range on Excel sheet results in the name's watermark beneath the range?

I just named the range on this sheet as "S_ums" through the Name Box and then this happens. Does anyone know why would the name appear as watermark/backdrop/background of the range? I ...
Quarky's user avatar
  • 13
0 votes
0 answers
25 views

DJango WOPI server error when submit iframe

I'm implementing a custom wopi server to communicate a custom documenty library with office 365. The implementation is based on a django server which implements all wopi endpoints. That server ...
logit's user avatar
  • 11
0 votes
1 answer
49 views

I keep getting these emails "Your organization is out of storage space" from SharePoint and can't stop them

The office 365 admins get annoying SharePoint emails telling us we're out of space. We know that and it's not an issue for us, but no matter what I do I can't seem to stop these emails from showing up ...
Mohsen Salehi's user avatar
0 votes
0 answers
74 views

Using file dialog to add various CSVs to append to an existing table in access

I am trying my hardest on a project and keep running into brick walls. I'm trying to get it to where i can browse for a file, import that file so that it can be added to a table. The file name changes ...
Sec3Op41514's user avatar
0 votes
0 answers
24 views

Connect OutlookMail Fail A1 and A3 Errors JavaMail with simple login and pass to connect in Outlook365 Mail

i need connect in outlook365 just to read email , with login and pass to one integration, and i need to be login and pass without XOAUTH. I already tried a lot of codes without success, if anyone can ...
luizfelipetx's user avatar
0 votes
1 answer
38 views

cannot sign in to office365 account and fetch emails using imap as they deprecated IMAP

I cannot sign in to exchange account and fetch emails using imap. I got to find a link from Microsoft (https://techcommunity.microsoft.com/t5/exchange-team-blog/basic-authentication-deprecation-in-...
Sayad Ahmed Shaurov's user avatar
0 votes
0 answers
26 views

Resource Calendar does not automatically cancel conflicting meetings in Office 365

Not sure what I'm doing wrong here. We have a room that I'd like to cancel a meeting whenever it conflicts with another in that room. In its current state, it does not even send the user a message ...
Meiji Ishin's user avatar
0 votes
1 answer
95 views

Trying to send email using outlook credentials in python

outlook_server = 'smtp-mail.outlook.com' outlook_port = 587 # Your email credentials username = '' password = '' # password = 'Alpine1400!' # Create a connection to the SMTP server using SSL server = ...
Mishal Anwer's user avatar
-1 votes
0 answers
36 views

Get After and before text from Table Cell using office Javascript API

I want to get After and before text from a table cell where my cursor clicked. for example if my cursor is clicked between tow words beforetext cursor clicked Aftertext. I want to get After text and ...
M Јǚйáĩď's user avatar
0 votes
1 answer
25 views

How to properly set up a Windows Desktop application to send emails via Office 365?

We have a desktop application that sends emails on behalf of the user (for Invoices, Receipts and the like). Previously we had been using basic SMTP authentication for this but now we are adding ...
Mark's user avatar
  • 409
1 vote
0 answers
45 views

Outlook webaddin - Issue with Office.context.mailbox.getCallbackTokenAsync for shared mailbox

I'm encountering an issue with the Office.context.mailbox.getCallbackTokenAsync function in my Office Add-in from office 365. The function works fine for a non-shared inbox but returns an error for a ...
Sahana R's user avatar
0 votes
0 answers
9 views

is the Office 365 Management API restricted by an E? licence?

When I try to consent the ActivityFeed.Read permission I'm getting: Could not grant admin consent. Your organization does not have a subscription (or service principal) for the following API(s): [...
Pieter's user avatar
  • 41
0 votes
0 answers
46 views

Attachments.Add when file is open, with Office365, using Outlook VBA that worked in older version of Outlook

I migrated from Office 2016 to Office 365. I have code that has worked for years. The code has an option to attach a file. If the file that is being attached is not open, it works. If the file is open,...
blimbert's user avatar
1 vote
2 answers
112 views

Code to place rows next to each other in Excel

I'm looking for a short code (or formula?) that I could use to rearrange my data, particularly to place rows next to each other (see picture). Thank you. The closest I found was a formula that ...
MSP's user avatar
  • 13
2 votes
0 answers
24 views

Prevent my Excel OfficeJS Add-In from disappearing from the Ribbon if it fails to load a required resource?

I'm running into a particular kind of failure for an internal Excel OfficeJS Add-In. The failure is that if Excel fails to load an Add-In resource, the Add-In is removed from the Ribbon and cannot be ...
Mitchell Brooks's user avatar
0 votes
0 answers
51 views

VBA - FOR EACH cell .Formula [duplicate]

I have been searching so long have problem with error 1004 Need to do this way: How to put .formula to next column for each cell Sub test() Dim adres_img, link, img, urlfile, cv, hyp, ob, f1, f2,...
Filip WincenT's user avatar
0 votes
0 answers
22 views

Create In-Ribbon Gallery in Action(Task)Pane

I'm trying to code a VSTO Word template (Office 365). In Visual Studio I added an Actionpane Component. Now i want to add an In-Ribbon gallery on this pane. But it's not possible to add it on the ...
MS61's user avatar
  • 1
2 votes
1 answer
45 views

Can I send and excelsheet with office script to someone in another organization

A client want me to create an excelfile for him which includes office script. How can I do that without being part of the client's organization? (scripts can't be shared with external accounts and I ...
adrianm's user avatar
  • 14.5k
0 votes
1 answer
33 views

Retrieving attachment names and downloading the attachments

hoping someone here can enlighten me on how to use Microsoft Graph to download attachments from emails. I am trying to automate the download and processing of attachments from Office 365 mail with ...
Tamtomo Abdi Negoro's user avatar
0 votes
1 answer
26 views

Removing self from Global Administrator built-in role is not allowed

Question: How can I remove "Security Administrator" role? I am using Java APIs to assign "Security Administrator". The java code looks like this. final DirectoryObject ...
nav's user avatar
  • 158
0 votes
1 answer
27 views

Office dialog width issue when using parameter

I am using Office dialog and sending data to the dialog by parameter and I am using height and width 15 because I need a small dialog when I pass a parameter then its width automatically increases to ...
M Јǚйáĩď's user avatar

1
2 3 4 5
179