SMTP OAuth device_code flow authentication problem
I am creating a client that could make user connect to Exchange Online, and send E-mail as the logged-in user. I have created the corresponding Organization, User and Application on Microsoft services, did the settings that seems necessary. Conventional…
Upgrading Exchange Server 2016 from CU 20 to latest CU that is in Hybrid.
Hi, I have Exchange Server 2016 that is currently on CU 20 and I would like to upgrade it to the latest CU 23. We are in Hybrid and on prem is primarily used for SMTP relay and initial on boarding of users/mailboxes that are then migrated to O365. I am…
Request for Email Activity Report with Internal/External Breakdown - exchange online
Hi everyone, Is it possible to generate a report that shows the number of emails sent and received by each user, with a breakdown of internal and external emails? I understand that we can find some basic metrics in the admin center under Reports >…
An Active Directory error 0x51 occurred" error when you run the "Setup /PrepareAD" command in Exchange server 2013.
Hi Experts Can someone from you give an idea how to fix this issue in Exchange ? . We are currently upgrading the CU version of our exchange 2013 Mailbox and CAS server. From CU8 to CU23. Prepare schema is all goods but after performing PrepareAD setup…
![](https://techprofile.blob.core.windows.net/images/jfjJ4D5PQEK18iDspB6qfA.png?8DA25D)
Outlook Add-in deployment for Exchange - not allowed in desktop client
Hi, I'm currently working on deploying an outlook add-in. However, at the last steps of the deployment, it seems as though we are hitting a wall - and I cannot fully understand what is happening from the documentation. We are deploying an add-in as .xml…
![](https://techprofile.blob.core.windows.net/images/mmZjVX7E9E2norR_QCwc-w.png?8DC8CC)
Microsoft.Exchange.WebServices.Data.EmailMessage error "The operation can't be performed because the item is out of date. Reload the item and try again"
Hi, I have been using Microsoft Exchange Web Services for a couple of years in my asp.net c# system and had no issues. Last week 1 customer started getting below error, then yesterday another customer and 2 more…
POP3 with OAuth
Getting below error with IMAP Oauth while Authentication. Caused by: javax.mail.AuthenticationFailedException: Authentication failure: unknown user name or bad password. DEBUG POP3: connecting to host "outlook.office365.com", port 995, isSSL…
![](https://techprofile.blob.core.windows.net/images/mmZjVX7E9E2norR_QCwc-w.png?8DC8CC)
IMAP error: User is authenticated but not connected?
Hi Team, I am encountering a problem while performing mail operations such as move message or retrieve message for more than 20 requests. error which i am receiving is: "User is connected but not authenticated.". followed all instructions…
![](https://techprofile.blob.core.windows.net/images/mmZjVX7E9E2norR_QCwc-w.png?8DC8CC)
exchange FindFolders: specific value has invalid HTTP Header Characters
Hi, I recently started hitting a bug, and any suggestions on how to work around this would be greatly appreciated. There were no changes to the code in the past 12 months+, and suddenly the application is breaking at this line: var ewsClient = new…
![](https://techprofile.blob.core.windows.net/images/mmZjVX7E9E2norR_QCwc-w.png?8DC8CC)
How to allow users from other organisations to sign up and send e-mails using their own Microsoft365 or Outlook e-mail accounts?
Hi there, I'm building an online invoicing app. I want users to be able to provide their e-mail credentials, so the invoice will be sent to their customer from their e-mail directly. These users are clients, they have no connection to me. I am currently…
![](https://techprofile.blob.core.windows.net/images/mmZjVX7E9E2norR_QCwc-w.png?8DC8CC)
Exchange Token Validation Error with a JWT from Exchange Microservice
Hello! I am struggling with the validation of the Exchange Token. The documented process on how to validate the token worked for a long time but does not anymore. Please see "Validate token contents" here Office 365 Exchange MicroserviceOffice…
![](https://techprofile.blob.core.windows.net/images/mmZjVX7E9E2norR_QCwc-w.png?8DC8CC)
How to debug authentication problems in EWS?
Hi, I am developing a booking integration for Microsoft Exchange Hybrid configuration. I'm using EWS, becasue Graph doesn't support hybrid. For development, I have an Exchange Online environment. The ultimate goal is to access a list of rooms, list their…
![](https://techprofile.blob.core.windows.net/images/mmZjVX7E9E2norR_QCwc-w.png?8DC8CC)
Reocurring Calendar events using MSGraph and Powershell
We have a CSV list of Holidays we are to inject into Exchange Online Calendars many of them are repeating events such as Ramadan for example. The CSV is in this format:…
Connect-Exchange Online (Error while sending the request)
Hello, I'm getting the below Error while connecting to Exchange Online (PowerShell Script) when called from .Net Application. #Import-Module ExchangeOnlineManagement #Connect-ExchangeOnline -Credential $Creds An error occurred while…
rest api for exchange online
I know there is rest API support to control your outlook/mail. But I need to know if there is any API reference for Exchange Online settings. For example, in powershell we have cmdlets like Get-TransportRule, Get-MalwareFilterPolicy,…
Getting an error when trying to setup Exchange Online ForwardingAddress in Azure Runbook
Hello, I am trying to setup an Azure Automation Runbook in which I convert a User Mailbox to a Shared Mailbox and setup a ForwardingAddress. I setup all the permissions and converting the mailbox is working, setting a forwarding address throws the…
Unable to Send Email Messages using Microsoft.Exchange.WebServices Library
Hello! I've been using Microsoft.Exchange.WebServices 2.2.0 library to send emails from my C# application for a couple of years and have not been changed my code for a long time. It worked seamlessly but yesterday I started constantly getting the…
Outlook access tokens not renewed automatically with Extended MAPI application
I have an Extended MAPI application running as a Windows service and using a previously, manually configured Outlook profile that accesses mailboxes on M365. This application has been running fine using the same Outlook profile for months or with some…
Read office 365 Emails with C#.Net using Exchange Web service APIs
I trying to read My office 365 Emails with C#.Net using Exchange Web service APIs but getting 410 unauthorized error Could you please advise me on this
How Can I Add Mutiple Domains for a Exchange Server 2019 and create users with them in a exchange server
Hi Team, I have set up the exchange server 2019 on the virtual machine that is integrated with the active directory and attached the domain suppose abc.com. I have created some users with this domain such as john@abc.com and ram@abc.com in the active…