Questions tagged [exchangewebservices]

Exchange Web Services (EWS) is an extensibility point for clients that connect to the Exchange server and consume information about user availability, and the manipulation of items that are located in the Exchange data store.

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

Problem with Apache PHP CURL and CURLAUTH_NEGOTIATE authentication against EWS Exchange Webservice

I would like to establish a connection to the Microsoft Exchange Web Service (EWS) using PHP and CURL. The authentication method should be negotiate. Using NTLM is not desirable for security reasons, ...
Wescam's user avatar
  • 1
0 votes
0 answers
28 views

Memory leaks problem when using node-ews for fetching events from Outlook

I'm developing app, where I fetch events from Outlook with EWS/Graph ... With MS Graph, everything works well, but when I use EWS, memory and heap usage are increasing, and then I got error that heap ...
Jakub Hlavačka's user avatar
0 votes
1 answer
46 views

Retrieve the extended propery Business Addresses in a exchange server soap request

I'm having some troubles getting the BusinessAddressesArray property (extended property) from the exchange server (version 2016) for a persona via soap request. Here is the XML request: <?xml ...
alaa_sayegh's user avatar
  • 2,141
0 votes
1 answer
20 views

Does not include images in the body of the email garethp/php-ews

I'm trying to bring in the information that is in the body of the email, including some images that are normally pasted in the body of the email. But it doesn't bring me these images that are embedded ...
ElPandaRojo1's user avatar
0 votes
1 answer
29 views

OfficeJS add-in EWS on-prem - acquire authentication token on client-side

Together with the team we are developing an Outlook add-in which main responsibility is saving e-mails from customer's inboxes in our system. We have successfully done this for Exchange Online and ...
rasmeta's user avatar
  • 475
0 votes
0 answers
29 views

Does not have PHP gareth/php-ews mail body

I am trying to make the connection with the garethp/php-ews PHP library, but when I try to obtain the body of the email it does not bring me anything. require_once "vendor/autoload.php"; ...
ElPandaRojo1's user avatar
0 votes
1 answer
48 views

Retrieve Emails from Office365 (EWS) via OAuth2

Trying to retrieve emails from Office365 via EWS using the following snippet (thanks to emailarchitect) . After creating the Settings required on Azure Portal ( App Registration, API Permission )... ...
Gotcha's user avatar
  • 1,049
0 votes
2 answers
20 views

Getting 500 from EWS API

I am trying to connect to exchange web server APIs from java. I want to configure the mail flow rules. This is the code I am using - exchangeService = new ExchangeService(ExchangeVersion....
Shubham Rai's user avatar
0 votes
0 answers
51 views

Execute a async method in Invoke Code of Uipath

Objective: Move a Mail into an Outlook subfolder that does not exist. That is why I have to create that folder and subfolder in Outlook. Possible solution: I decided to try ExchangeWebservice to ...
sergioMoreno's user avatar
0 votes
1 answer
28 views

Create a new folder in a shared mailbox with Invoke Code in Uipath

Uipath Studio Version: 2021.10.3 Language: C# Objective: I need to create a new folder and subfolder at the same level of the inbox of a shared mailbox. I need to implement this solution with Uipath ...
sergioMoreno's user avatar
2 votes
2 answers
209 views

Could not connect to ExchangeOnline using multi tenant app in microsoft

I have one tenant, Let's say abc.com where I have created one enterprise application. Let's say X-app and it is a multi-tenant app. In the other tenant, Let's say xyz.com in that I have granted all ...
Divyesh Jesadiya's user avatar
0 votes
0 answers
21 views

O365 auto forward broke after changing the forwarding address

So I've had a catchall 365 mailbox setup for a while that forwards to my Gmail account. Earlier today I ended up with a load of spam to my domain which was clogging up my Gmail. I have an old personal ...
J MGrice's user avatar
0 votes
0 answers
42 views

Inline Base64 images above 10KB not returned in MimeContent by EWS (Exchange Web Services)

As part of building a web-based email client where I'm adding a Download email as .eml feature, I'm trying to retrieve an email from Exchange via EWS and download it as an .eml file. I have this ...
user22797475's user avatar
0 votes
0 answers
14 views

java -EWS-api calendar archive

1 I am using Pull Notification and EWS to have synchronization of appointments with Exchange 2010 server and my application. It works find, I am able to pull notification whenever user create, modify ...
niubi's user avatar
  • 1
0 votes
0 answers
85 views

Get-ComplianceSearchAction isn't returning the list of messages

I need to delete all messages in a particular Exchange user mailbox that were sent from a particular email address. I've managed to get close, but before I run the New-ComplianceSearchAction -purge, I ...
ChaosFreak's user avatar
0 votes
0 answers
65 views

Exchange Admin Center Add-In list throwing "Method not found" Exception

some weeks ago I developed an Outlook Web Add-In. I uploaded the manifest to my Exchange server and everything was working fine. It got distributed to my Outlook Client and worked as intended. This ...
Andreas Danek's user avatar
0 votes
0 answers
36 views

Getting FreeBusySuggestions in Exchange Server for 15 min meetingDuration

I am currently working with our HR Dept to update their interview scheduling site. We manage our own Exchange 2016 server that handles the entire company's emails and calendars. One of the new ...
thelasttycho's user avatar
1 vote
0 answers
52 views

EWS SOAP requests - How to get mailbox statistics, folder statistics and permissions from exchange server via EWS using SOAP requests

I am developing a golang application that retrieves from Exchange Server all mailboxes, their statistics, folder statistics and permissions to them. In general I am rewriting a script that applied Get-...
bonNope's user avatar
  • 11
0 votes
1 answer
26 views

Updating the subject of a M365 recurring calendar event instance

I have an existing application that creates recurring calendar events in M365, using EWS (using direct XML, not the managed API). Sometimes I need to modify one instance, to change the start date/time ...
Jeff McKay's user avatar
0 votes
0 answers
34 views

Load attachment form EWS using OAuth authentication (0kb)

EDIT : Thanks to Ralf, my issue still there but I tried a test program using MS Graph and it's working great ! I am working on a C# console app that connect to one of our mailboxes, read mails, mark ...
Maxime V's user avatar
0 votes
1 answer
70 views

PowerShell ExchangeOnlineManagement - Add-MailboxFolderPermission: ObjectNotFoundException | Item wasn't found in the store

I am using the PowerShell command "Add-MailboxFolderPermission" of ExchangeOnlineManagement to share outlook calendars. For some calendars it is just not working, I always get this exception:...
Jakob's user avatar
  • 11
0 votes
0 answers
20 views

EWS not returning GetRoomList - Exchange 2016 On-Prem

I've installed a Exchange Server 2016 , setup admin and some users and created some rooms. All account tested via OWA is able to detect Roomlist. What I'm trying now is to get a list of room via ...
Janggus Fettir's user avatar
0 votes
1 answer
31 views

Get attachments list of mail by mail.id from folder other than inbox exchangelib python

I am having great time while working with this library. My requirement is to get mail attachments from sub folder of inbox from mail id. So far I got to know that from mail id(Message id) we can get ...
Sumit Soni's user avatar
0 votes
1 answer
71 views

Powershell / Multiple Checkboxes, one event handler

I am making a PowerShell script that creates a graphical user interface (GUI) application using Windows Forms, and allows the user to select specific mailbox properties via Check Boxes (e.g., ...
DaffyStackOverFlow's user avatar
0 votes
1 answer
56 views

how to create recurring meeting weekly, monthly and yearly in exchange mailbox calendar using EWS Managed API in PowerShell

I am trying to create an Exchange mailbox calendar meeting using EWS Managed API in PowerShell. I am able to create if it is not a recurring meeting but the code is not working for recurrence. I see ...
siddique ur rehman's user avatar
0 votes
1 answer
48 views

How to delegate folder permission in exchange offline server?

I want to delegate permissions to my tasks, contacts and calendar folder on exchange offline server to others so that they can fetch items from my folders using exchange web services client. So far I ...
Nitin's user avatar
  • 3
0 votes
1 answer
226 views

Unable to authenticate Microsoft personal account using OAuth2

I have an application that uses OAuth2 to authenticate to M365 standard users, works fine. Now we have a user with an outlook.com address that does not work. Based on some documentation I found, I ...
Jeff McKay's user avatar
1 vote
1 answer
69 views

Get Mailbox owner SID from Exchange Server

I am using the python package exchangelib to scan a mailbox. I need to get the mailbox owner SID without connecting to the AD directly (using LDAP queries). I couldn't find a way to do this, is it ...
gal's user avatar
  • 11
0 votes
1 answer
306 views

Office 365/Exchange Online compliancesearch error CS007

I hope you can help as this is driving me wild and I think I must be the only person on planet earth wanting to do this.... I want to delete emails, from a specific folder... Errors "The search ...
Neil's user avatar
  • 1
0 votes
0 answers
12 views

Using Outlook forms data with Microsoft Exchange Power Query

So I have made an outlook appointment form with custom data fields for calendar entries and those data fields do not appear when I uses Microsoft exchange to run a on the account. Is there something I ...
Wesley Young's user avatar
0 votes
1 answer
34 views

EWS: FindItem returns ErrorNonExistentMailbox for Contacts folder

Our application uses EWS to backup Exchange mailboxes (including Office 365 mailboxes). The application uses OAth2 authentication and requires an account with Exchange administrator role to ...
Aleksey's user avatar
  • 179
2 votes
0 answers
47 views

Error sending email using EWS and a domain created at Godaddy

I have a class for sending an email that uses the functions and properties of the EWS to do the service of reading boxes and sending an email. Using the @hotmail.com domain, I can read boxes and send ...
Costa.Gustavo's user avatar
0 votes
1 answer
36 views

EWS with delegated authentication - not supported browser

I am writing a .net application that uses EWS with delegated authentication. When I try to authenticate, automatically appears a window (not a browser) that asks for login (email, password and one ...
FabLser's user avatar
0 votes
0 answers
43 views

How to Send Meeting Invite using EWS v15.0.0.0 .net mvc,getting error as "The request failed.The remote server returned an error:(401) Unauthorized."

I am trying to send meeting invite using EWS, but it is not working because of this error: "The request failed. The remote server returned an error: (401) Unauthorized." This is my code, ...
Ajisha's user avatar
  • 9
0 votes
0 answers
25 views

Outlook Client reading extended property value in custom column formula using view settings

We have our own archive system in which when a mail is archived or failed to archive we set a 'extended property' in the mail as a status flag '1' or '0'. So that we comes to know that mail is ...
Ajit Hogade's user avatar
  • 1,087
0 votes
0 answers
19 views

What is the Syntax of Filter in OData query Message Trace API

I'm trying to build a URL that fetches a message trace with [email protected] as a recipient between the dates of "2023-08-09' and '2023-08-11' and I want it to filter on the Subject,Status,...
alexisc's user avatar
  • 13
0 votes
0 answers
9 views

How can I block outlook 2016 from authenticating against our o365 exchange?

My org is looking to block the 2016 and earlier versions of outlook from being able to authenticate into the office 365 exchange. We have disabled the ADFS endpoints for 2013 and earlier but it looks ...
Wise's user avatar
  • 69
0 votes
1 answer
40 views

Size of access token in EWS

I am using Exchange Web Service (EWS) for OAUTH authentication for my application. I set the size of the access token to 2048 bytes. A few weeks ago, the application stopped working and was giving ...
Roshan Aji Cherian's user avatar
0 votes
0 answers
19 views

SubscribeToStreamingNotifications with .Net 6 is not working. Could not load type System.Web.HttpException

We are using Exchange Web Services with .Net 6 and while sending and receiving mails works fine, I have trouble to implement StreamingSubscription in .Net 6. I know EWS is not fully compatible with ....
Shan's user avatar
  • 1
0 votes
1 answer
33 views

Exchange rule to notify user that they reported a phishing simulation email

We send phishing simulation emails to user's Outlook clients with a 3rd party SaaS. I've also have globally enrolled the 'Report Message' add-in for all our users, that they're actively using. (Add-in ...
juno.vr's user avatar
0 votes
0 answers
27 views

EWS -C# - send email from one user by another user - the email written in the sent items as a draft

I have code that send email from one user by another user and save the email in the send item of the first user. Everything worked fine until I changed some things in the installations, I tried to ...
shoshana's user avatar
0 votes
0 answers
22 views

Contact folder not visible in M365

I have code using EWS (direct XML, not the managed API) that creates a contact folder in M365. This has been working fine, but recently I discovered that such created folders are not visible in the ...
Jeff McKay's user avatar
0 votes
2 answers
34 views

Unable to render the Exchange Email attachment properly after adding as MailAttachment for smtp

I needed to convert an EmailMessage to MailMessage for smtp mail sending. Although if the attachments are files such as .docx, .txt, .jpg etc it displays correctly. The problem I'm facing is that ...
Carls Jr.'s user avatar
  • 3,088
0 votes
1 answer
20 views

How to reply to a conversation with ConversationId if the conversation has been deleted?

Our service takes in feedback from users. If we want to reach out to them, we do that through Exchange via EWS. The replies from the customer are ingested into our system (disconnected from Exchange). ...
John's user avatar
  • 239
0 votes
1 answer
20 views

EWS ExtendedPropertyDefinition search filter no longer filtering

For literally over a decade we have had C# code that talks to Exchange via EWS. Virtually all our clients have migrated to Office 365, and the our code was operating perfectly fine on O365 via EWS, ...
Mark Henderson's user avatar
0 votes
0 answers
42 views

Gareth/php-ews , how to get sent mail items

use garethp\ews\API\Type; use garethp\ews\MailAPI; $api = MailAPI::withUsernameAndPassword('server', 'username', 'password'); $mail = $api->getMailItems(); foreach ($mail as $mailItem) { $...
Raju Puthen's user avatar
-1 votes
1 answer
28 views

How To send mail with outlook using python in remote server where there is no outlook app and without fail of authentication using any protocol

my orgnization has smtp disabled..one user(I) need smtp auth or send mail using any method..can you please elaborate all steps.. i need authentication to be successful to send mail through outlook ...
karthi's user avatar
  • 3
1 vote
1 answer
66 views

Need To Know the Syntax of Filter in OData query Message Trace API

URL https://reports.office365.com/ecp/reportingwebservice/reporting.svc/MessageTrace?$filter=StartDate ge DateTime'2023-07-14T00:00:00Z' and EndDate le datetime'2023-07-14T23:59:59Z' Error <?xml ...
Error's user avatar
  • 13
0 votes
0 answers
41 views

Invalid Char in body when using ExchangeServices.SendEmail

I have some code that sends emails when there is an error. One of the things it includes is the "Stack Trace". Well sometimes that Stack Trace ends up with some "special characters&...
dblwizard's user avatar
  • 595
1 vote
1 answer
67 views

How to create Microsoft Teams calendar event through EWS APIs

I went through the documentation and understood that there are Graph API's to create a Microsoft Teams appointment. e.g., isOnlineMeeting" property to true, and "onlineMeetingProvider" ...
Mahesh's user avatar
  • 21

1
2 3 4 5
82