588 questions with Exchange | Exchange Server | Development tags

Sort by: Updated
1 answer

EWS API Error

When I was using the EWS API to get exchange data, API frequently reported errors,like this: "One or more errors occurred. The request failed. An error occurred while sending the request" above error is from a piece of C# code << var…

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,198 questions
Exchange | Exchange Server | Development
Exchange | Exchange Server | Management
asked 2023-05-15T11:53:21.0233333+00:00
CN-SH-maxhubQuickBook 0 Reputation points
answered 2023-11-15T21:46:02.1066667+00:00
Peter Chen 0 Reputation points
0 answers

NET::ERR_CERT_COMMON_NAME_INVALID error in Exchange 2019 on Azure VM

Unable to securely access the EAC using https. Error msg is Your connection isn't private .... NET::ERR_CERT_COMMON_NAME_INVALID Have recreated and reloaded the GoDaddy certificate multiple times. Windows Server firewall seems to be working properly,…

Exchange | Exchange Server | Development
Windows for business | Windows Server | User experience | Other
asked 2023-11-14T00:31:24.9033333+00:00
Greg Trapp 0 Reputation points
edited the question 2023-11-14T05:26:18.7433333+00:00
vipullag-MSFT 26,492 Reputation points Moderator
3 answers One of the answers was accepted by the question author.

How to add bulk number of IP's into the receive connector of exchange server using powershell

Hello, I am looking for PowerShell command where I can add bulk number of IP's into the receive connector of exchange server. I am having problem with below command where the alignment is great concern. All the IP's have to separated by comma. …

Exchange | Exchange Server | Other
Exchange | Exchange Server | Development
Exchange | Exchange Server | Management
Exchange | Hybrid management
Exchange | Other
asked 2023-10-27T13:12:49.8133333+00:00
Surya kumar 370 Reputation points
commented 2023-11-09T01:32:53.8966667+00:00
Yuki Sun-MSFT 41,376 Reputation points Moderator
0 answers

Issue in transferring the Exchange Session from one script to another.

I'm using Certificate based Authentication for Connecting to ExchangeOnline in an unattended Script. We have multiple scripts each perform a certain task but the authentication was happening in the one script and then the session will be transferred to…

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,198 questions
Exchange | Exchange Server | Development
asked 2023-11-07T07:36:50.6133333+00:00
Nithin Nandha M 0 Reputation points
commented 2023-11-08T06:23:34.0166667+00:00
Nithin Nandha M 0 Reputation points
1 answer

Program generated reply email [Sent Time] timezone incorrect

Hi MSFT, I have encountered some issues with the reply email generated with Microsoft.Exchange.WebServices.Data.CreateReply The [Sent Time] of the parent email in the reply email is not synced with the original parent email. The time is changed from 30…

Exchange | Exchange Server | Development
Exchange | Exchange Server | Management
Developer technologies | .NET | Other
asked 2023-10-31T13:35:25.71+00:00
Nick Tai 0 Reputation points
commented 2023-11-03T02:49:48.65+00:00
Nick Tai 0 Reputation points
1 answer

The request failed. The remote server returned an error: (401) Unauthorized.

Hi, Trying to connect to the EWS - The request failed. The remote server returned an error: (401) Unauthorized. - is the error message. Using the TestConnectivity test, the error is the below code. My problem is, my mails are hosted with Office itself…

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,198 questions
Exchange | Exchange Server | Other
Exchange | Exchange Server | Development
asked 2023-10-26T07:04:38.6333333+00:00
Odene Gerber 0 Reputation points
answered 2023-10-31T03:47:47.21+00:00
Amit Singh 5,306 Reputation points
0 answers

Experiencing an exception stating "User is authenticated but not connected" when attempting to access email via IMAP using the JavaMail API

Experiencing the "User is authenticated but not connected" exception while attempting to access email via IMAP using the JavaMail API (com.sun.mail:javax.mail:1.6.2). This exception occurs in the following scenarios: Frequent opening of folders…

Exchange | Exchange Server | Development
asked 2023-10-16T09:24:26.8833333+00:00
Gaurav Baranwal 11 Reputation points
commented 2023-10-25T13:46:06.63+00:00
Gaurav Baranwal 11 Reputation points
3 answers One of the answers was accepted by the question author.

special Rpc error occurs on server

Hi All i am using exchange 2016 hybrid environment. i am trying to import exchange wildcard certificate and i am getting the below error. Please guide me. The password is correct, no issue with the share i am able to access it. i am logged in exch02 VM…

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,198 questions
Exchange | Exchange Server | Other
Exchange | Exchange Server | Development
Exchange | Exchange Server | Management
Exchange | Hybrid management
asked 2023-08-21T17:31:10.62+00:00
Glenn Maxwell 12,876 Reputation points
answered 2023-10-24T17:03:52.8733333+00:00
Samdi 46 Reputation points
0 answers

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.Exchange2010_SP2); exchangeService.setUrl(new…

Exchange | Exchange Server | Development
asked 2023-10-22T04:46:16.38+00:00
Shubham Rai 0 Reputation points
edited the question 2023-10-23T12:46:58.2633333+00:00
Antonio 250 Reputation points Microsoft External Staff
0 answers

PowerShell: Scripted New User Generation with Exchange Online/365

Greetings All, I have an automated process for adding users scripted in Powershell. I have a local AD environment with user sync & Azure AD Connect and 100% of my users are in Exchange Online. My process does the following (very high level): 1).…

Exchange | Exchange Server | Development
asked 2023-09-20T01:16:55.3166667+00:00
Gerald 21 Reputation points
commented 2023-10-21T23:45:35.5966667+00:00
Gerald 21 Reputation points
2 answers One of the answers was accepted by the question author.

how to combine 2 ForEach in exchange shell

Hello everyone. Can you help me combine 2 scripts in one powershell command export mailbox from csv in status completed - disable user clean username from all distributiongroups all my scripts is working, but i need in 1 task. Thank you i think…

Exchange | Exchange Server | Other
Outlook | Windows | Classic Outlook for Windows | For business
Exchange | Exchange Server | Development
Exchange | Exchange Server | Management
Windows for business | Windows Server | User experience | PowerShell
asked 2023-09-22T08:42:54.3333333+00:00
Ilya Bokov 165 Reputation points
answered 2023-10-19T09:21:11.0133333+00:00
Ilya Bokov 165 Reputation points
1 answer

How to create sticky notes using EWS API or Soap Request

I have an soap request below when I call the POST request(https://outlook.office365.com/EWS/Exchange.asmx) using postman, the item is getting created in the designation folder but it created as email message instead of an sticky note. <soap:Envelope …

Exchange | Exchange Server | Other
Exchange | Exchange Server | Development
asked 2023-10-16T13:36:05.9533333+00:00
Santhosh 5 Reputation points
answered 2023-10-19T08:11:07.0066667+00:00
Yuki Sun-MSFT 41,376 Reputation points Moderator
0 answers

Two-factor authentication (2FA) (OTP) with EWS or Microsoft Graph API

Dears , I'm trying to use EWS or Microsoft Graph API to sync inbox, outbox and Microsoft calendar and everything was good but after the user add two-factor authentication on his email the login operation failed and the user forces me to provide him with…

Exchange | Exchange Server | Development
Microsoft Security | Microsoft Graph
asked 2023-10-18T05:26:44.97+00:00
Mazen Hamdan 0 Reputation points
commented 2023-10-19T07:07:18.7433333+00:00
Aholic Liang-MSFT 13,886 Reputation points Microsoft External Staff
0 answers

SOAP Request FindMailboxStatisticsByKeywords return error not implemented, but my version of exchange server is 15.02.0595.003

i send this soap request to exchange server via ews <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope"> <Header xmlns="http://schemas.xmlsoap.org/soap/envelope"> <RequestServerVersion…

Exchange | Exchange Server | Development
asked 2023-10-13T09:57:05.4066667+00:00
bonNope 0 Reputation points
edited the question 2023-10-16T05:54:15.12+00:00
Anonymous
0 answers

Exchange Web Service Error

HI Team, WE have in house application Newcase that actually sends out email from NewCase to EWS via ttps://autodiscover.INTLSOS.com/Autodiscover/Autodiscover.svc end point. However, this url is not reachable and we are getting below error from the…

Exchange | Exchange Server | Development
asked 2023-10-09T02:46:44.9533333+00:00
Subramaniam, Mahalaximani 0 Reputation points
commented 2023-10-09T09:14:04.82+00:00
Subramaniam, Mahalaximani 0 Reputation points
0 answers

Microsoft 365 inquiry

Hi ,Our application contains a self-hosted web site (single page). The client of this site, running the browser, is our customer, not us. One of the site functions is to connect to the customer's Exchange Online and configure his SMTP connectors to point…

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,198 questions
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Exchange | Exchange Server | Development
Microsoft Security | Microsoft Authenticator
asked 2023-10-06T09:17:36.38+00:00
Lior Tomer 60 Reputation points
commented 2023-10-09T02:22:07.3633333+00:00
Yuki Sun-MSFT 41,376 Reputation points Moderator
1 answer

Home lab exchanger server 2019 not sending email

Hi, I have setup exchange server 2019 in home lab. I created two users with email account on my homelab.local domain. I sent a test email, but it just gets stuck in Draft folder, any idea how I fix this issue? I just want to route emails internally,…

Exchange | Exchange Server | Development
asked 2023-10-02T05:43:13.34+00:00
Haroon Peter 21 Reputation points
commented 2023-10-08T19:57:41.3533333+00:00
newhdanalyst 51 Reputation points
0 answers

Office 365 Management Activity API

I need to understand the meaning of the object ID = "QR" in the following log "AppAccessContext": { "IssuedAtTime": "2023-09-18T06:52:03", "UniqueTokenId": "C }, …

Exchange | Exchange Server | Development
Exchange | Exchange Server | Management
asked 2023-09-28T10:40:52.9666667+00:00
Jackie Abboud Scuri 0 Reputation points
edited the question 2023-09-29T02:58:04.4+00:00
Yuki Sun-MSFT 41,376 Reputation points Moderator
0 answers

Cannot authenticate with OAUTH to Exchange using IMAP, client credentials

When trying to authenticate to Exchange with IMAP protocol using OAUTH, client credentials. We are receiving: A1 NO LOGIN failed We are using javamail 1.6.2 Azure AD has been configured with conditional access, allowing IMAP connectivity. Service was…

Exchange | Exchange Server | Other
Exchange | Exchange Server | Development
asked 2023-09-27T20:41:30+00:00
Catalin Gidea 0 Reputation points
edited the question 2023-09-28T17:59:55.9066667+00:00
JamesTran-MSFT 36,911 Reputation points Microsoft Employee Moderator
1 answer

How do you set up a connector to relay mail through a third party Email Service Provider?

How do you set up a connector to relay mail through a third party Email Service Provider? Requires AUTH LOGIN or CRAM-MD5 auth method and needs to enter a username and password that will be received by the ESP for authentication.

Exchange | Exchange Server | Other
Outlook | Windows | Classic Outlook for Windows | For business
Exchange | Exchange Server | Development
Exchange | Exchange Server | Management
Exchange | Other
asked 2023-09-22T14:33:30.59+00:00
Ginny Lockwood 0 Reputation points
commented 2023-09-28T07:23:51.1733333+00:00
Kael Yao 37,751 Reputation points Moderator