Quantcast
Channel: Exchange Server Development forum
Viewing all 7132 articles
Browse latest View live

Enabling identity using powershell

$
0
0

In Exchange Management Shell when I tried to run the command (enable-mailbox –identity Lara ) I am getting the following error:- 

[PS] C:\Windows\system32>enable-mailbox -identity Lara
The operation couldn't be performed because object 'Lara' couldn't be found on 'DC.weizer.com'.
    + CategoryInfo          : NotSpecified: (:) [Enable-Mailbox], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=MBX,RequestId=ae9573c6-341b-4bf1-ae87-0f2c915cd091,TimeStamp=8/13/2020 9:06:44 A
   M] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 4C407207,Microsoft.Exchange.Management.RecipientTask
  s.EnableMailbox
    + PSComputerName        : mbx.weizer.com

But when I run the command (get-user) in exchange Management shell I am getting the output as follows:-

[PS] C:\Windows\system32>get-user

Name                                                                                                               RecipientType
----                                                                                                                    -------------
Administrator                                                                                                     UserMailbox
Guest                                                                                                                User
krbtgt                                                                                                                User
Exchange Online-ApplicationAccount                                                                     User
DiscoverySearchMailbox {D919BA05-46A6-415f-80AD-7E09334B...                        UserMailbox
Aidan Daley                                                                                                       UserMailbox
Angelica Gardner                                                                                                User
Terry Lloyd                                                                                                         User

Lara Raisic                                                                                                          User

Can anybody help me on this I stuck and not getting any valid output .

Plz answer me as soon as possible


My machine had a power failure and now Exchange Database is not mounting.

$
0
0

-I have used ESEUTIL /p,   

& facing this error:

 Operation terminated with error -1032 (JET_errFileAccessDenied, Cannot access file, the file is locked or in use

I tried moving the log files as well.

 

folder/subfolder removed when refresh on outlook

$
0
0

Hi, Expert,

I add maibox to Outlook client using IMAP.

The folder created on web outlook will be not able downloaded. 

I add the folder into the outlook. The mails will be able downloaded well. when refresh with server, the folder will be removed automatically.

Can you give advice?

Brgds

Liu Wei

Error: "Can't connect. Please try again later" on OWA

$
0
0

HI

I run into this error on my new installed 2019 Exchange (on Windows 2019 CORE): Can't connect. Please try again later

I got this error on OWA by using the people search. There is a error description and a resolution on the doc page on microsoft.com -> https://docs.microsoft.com/en-us/exchange/troubleshoot/client-connectivity/can't-connect-error-searching-people-owa

but this resolution isn't working on my server. 

All Servers are installed as Server 2019 core with en-US, but i tried to add german and uk languagepack, without any success.

[PS] C:\>Get-WindowsPackage -Online -PackageName '*language*' | Format-List -Property @( 'ReleaseType', 'DisplayName', 'ProductName', 'CapabilityId', 'PackageName' ) ReleaseType : OnDemandPack DisplayName : English (US) typing ProductName : Microsoft-Windows-LanguageFeatures-Basic-en-us-Package CapabilityId : Language.Basic~~~en-US~0.0.1.0 PackageName : Microsoft-Windows-LanguageFeatures-Basic-en-us-Package~31bf3856ad364e35~amd64~~10.0.17763.1 ReleaseType : OnDemandPack DisplayName : English (US) handwriting ProductName : Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package CapabilityId : Language.Handwriting~~~en-US~0.0.1.0 PackageName : Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package~31bf3856ad364e35~amd64~~10.0.17763.1 ReleaseType : OnDemandPack DisplayName : English (US) optical character recognition ProductName : Microsoft-Windows-LanguageFeatures-OCR-en-us-Package CapabilityId : Language.OCR~~~en-US~0.0.1.0 PackageName : Microsoft-Windows-LanguageFeatures-OCR-en-us-Package~31bf3856ad364e35~amd64~~10.0.17763.1 ReleaseType : OnDemandPack DisplayName : English (US) speech recognition ProductName : Microsoft-Windows-LanguageFeatures-Speech-en-us-Package CapabilityId : Language.Speech~~~en-US~0.0.1.0 PackageName : Microsoft-Windows-LanguageFeatures-Speech-en-us-Package~31bf3856ad364e35~amd64~~10.0.17763.1 ReleaseType : OnDemandPack DisplayName : English (US) text-to-speech ProductName : Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package CapabilityId : Language.TextToSpeech~~~en-US~0.0.1.0 PackageName : Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package~31bf3856ad364e35~amd64~~10.0.17763.1 ReleaseType : LanguagePack DisplayName : ProductName : Microsoft-Windows-Server-LanguagePack-Package CapabilityId : Language.UI.Server~~~de-DE~ PackageName : Microsoft-Windows-Server-LanguagePack-Package~31bf3856ad364e35~amd64~de-DE~10.0.17763.1 ReleaseType : LanguagePack DisplayName : ProductName : Microsoft-Windows-Server-LanguagePack-Package CapabilityId : Language.UI.Server~~~en-GB~ PackageName : Microsoft-Windows-Server-LanguagePack-Package~31bf3856ad364e35~amd64~en-GB~10.0.17763.1 ReleaseType : LanguagePack DisplayName : ProductName : Microsoft-Windows-Server-LanguagePack-Package CapabilityId : Language.UI.Server~~~en-US~ PackageName : Microsoft-Windows-Server-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~10.0.17763.1

[PS] C:\>Get-WinHomeLocation

GeoId HomeLocation
----- ------------
   14 Austria

[PS] C:\>Get-Culture

LCID             Name             DisplayName
----             ----             -----------
3079             de-AT            German (Austria)

[PS] C:\> GET-WinSystemLocale

LCID             Name             DisplayName
----             ----             -----------
1033             en-US            English (United States)

Exchange Server Version:

AdminDisplayVersion : Version 15.2 (Build 659.4)
ExchangeVersion     : 0.1 (8.0.535.0)

Does anyone has the same problem?


Sent items appearing as drafts on Exchange 2016 (Windows 10)

$
0
0

After setting right the DNS, Imap, Pop and Smtp settings my locally installed Exchange 2016 is still not able to send emails.

What might be the problem ?

Thank you.

Focused Inbox on outlook 2016

$
0
0

Good day

Under view option on outlook 2016, i dont have focused inbox

Email with attachment stuck in outbox - windows7 with MS office 2010

$
0
0

HI All,

Facing one weird issue, When we have Migrated user from Exchange server 2010 to Exchange server 2016.

In internal Network

Windows 7 with MS office 2010 ==> Able to send and receive email with attachment

In External Network

windows 7 with MS office 2010 ==> Able to received email with attachment, Able to send plain email to internal as well as external users. but when send email with attachment it stuck in outbox.

If we configure same user outlook profile on windows 10 + MS office 2013/2016/Office 365 outlook then it is working fine. 

Kindly help me to resolve this issue.


Regards, Prashant

Official Python or Java Package to Consume EWS API for calendar data

$
0
0

Hi Team,

I have an big assignment where I have to extract calendar data using EWS api. I am familiar with Python & Java programming.

I have automate the process which run everyday to extract meeting details of specific users of an organization.

I have searched a lot and there are some python packages like exhangelib, py-ews, 0365 etc but I am looking for official python package released by Micorsoft to consume EWS apis. The data which will be extracted is highly crucial and I want to complete this activity.

Kindly share your knowledge so that I can refer it for my task.

Thanks


Mail-Routing: MX to EOP and En-/Decription Gateway OnPremis

$
0
0


Hello everybody

I have seen here https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/manage-mail-flow-for-multiple-locations#scenario-2-mx-record-points-to-microsoft-365-or-office-365-and-mail-is-filtered-on-premises exactly my scenario (scenario2) that I have to configure.

However, it is not clear to me where I have to create which kind of connectors or rules.

Already built is an Exchange Hybrid environment. Inbound mail is currently OnPrem.

New, the MX Record should point to EOP and I want to use EOP with O365 ATP.

All Mails should be sent out through EO/EOP

Encrypted mails are delivered to us and sent by us. For the encryption and decryption there is an appliance (HIN-GW/SEP-GW) in the OnPrem environment.

The encrypted inbound mails are not sent to our mail domain, but a prefix is added to the domain. e.g. instead of @domain.com it is @sec.domain.com. After successful decryption of the mail from our gateway (HIN-GW) the domain is changed to @domain.com and therefore to the correct user email address and can be delivered

Now I have trouble with the detailed planning of the connectors:

Inbound for encrypted mail:

Mail to @sec.domain.com --> EOP --> send through hybrid connector to OnPrem MX --> On-Prem to HIN-GW (mail decryption) --> HIN-GW to OnPrem MX --> send to OnPrem mailbox or send through hybrid connector to cloud mailbox

Outbound Mail:

Mail sent from Cloud Mailbox User --> sent through Hybrid Connector to OnPrem MX --> OnPrem to HIN-GW (mail encryption) --> HIN-GW to OnPrem MX --> OnPrem MX (Hybrid Connector) to EO/EOP --> EOP to External Recipient

Can this be implemented in this way or is there a better solution?

Regard

Marc Gehri

Wildcard alias for a mailbox in Exchange 2019

$
0
0

I need to be able to send mail to  a range of addresses of 1000-9999myemail.mail.com to an existing mailbox of myemail@mail.com

short of creating a list of nearly ten thousand alias's is there a way to do this?

The closest I have found is to create a "catchall" mailbox but I dont want trash coming in from the Internet..

Any help would be appreciated...

Exchange 2010 Upgrade current or add secondary server.

$
0
0

Good day everyone,

We have a working large 5TB exchange 2010 server and we are looking to upgrade it or to add a secondary exchange server and let the 2010 as archive/history database.

Appreciate your comments or suggestions.

Help with DNS Change - Unable to email some domains

$
0
0

We were using our AD servers as DNS for our internal clients, and for our publicly available sites etc.  Well, this is also an open resolver and we have been asked to close it by a higher up ministry.  

We have 2 mailbox servers and a edge transport server

The servers' adapters have been changed, and when disable recursion, it looks like everything is fine.  I can email gmail, outlook.com and a few other personal addresses without issue. But, some domains dont' accept it.

Our SPF record shouldn't need to change, the edge server still has the same external ip address.

Here is an example of a bounce back we receive  (this has been edited to protect  our information);

s104-238-116-212.secureserver.net rejected your message to the following email addresses:
asdf asdf (asdf@asdf.com)
Your message couldn't be delivered and there was no valid enhanced status code being issued by the remote mail system to determine the exact cause, status: '550-Please turn on SMTP Authentication in your mail client. edge.mydomain.ca 550-[142.xx.xx.xx]:44574 is not permitted to relay through this server without 550 authentication.'.
s104-238-116-212.secureserver.net gave this error:
Please turn on SMTP Authentication in your mail client. edge.mydomain.ca [142.xx.xx.xx]:44574 is not permitted to relay through this server without authentication. 
Diagnostic information for administrators:
Generating server: edge.mydomain.ca
asdf@asdf.com
s104-238-116-212.secureserver.net
Remote Server returned '550-Please turn on SMTP Authentication in your mail client. edge.mydomain.ca 550-[142.xx.xx.xx]:44574 is not permitted to relay through this server without 550 authentication.'
Original message headers:
Received: from EXCH01.internal.mydomain.ca (142.xx.xx.xx) by edge.mydomain.ca
 (142.xx.xx.xx) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1913.5; Tue, 11
 Aug 2020 15:42:35 -0700
Received: from EXCH02.internal.mydomain.ca (2002:8e23:8155::8155:8155) by
 EXCH01.internal.mydomain.ca (2002:8e23:8152::8152:8152) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
 15.1.1913.5; Tue, 11 Aug 2020 15:42:33 -0700
Received: from EXCH02.internal.mydomain.ca ([fe80::19b3:3cc:8155:8155]) by
 EXCH02.internal.mydomain.ca ([fe80::19b3:3cc:8155:8155%14]) with mapi id
 15.01.1913.010; Tue, 11 Aug 2020 15:42:33 -0700
From: "Knight, Paul" <pknight@mydomain.ca>
To: ASDF ASDF <asdf@asdf.com>
CC: "W, Lorna" <lw@mydomain.ca>
Subject: =?utf-8?B?UmU6IE1lZGljYWwgaW5zdXJhbmNlIC0gbGV04oCZcyBnbyBhZ2Fpbg==?=
Thread-Topic: =?utf-8?B?TWVkaWNhbCBpbnN1cmFuY2UgLSBsZXTigJlzIGdvIGFnYWlu?=
Thread-Index: AQHWWzCvsFmExQONgEqLp3Zd1khRp6kKrGEAgCjrvgCAABLngA==
Date: Tue, 11 Aug 2020 22:42:33 +0000
Message-ID: <83662F2A-3A71-47BE-9FD0-FC2DACE8257E@mydomain.ca>
References: <MWHPR04MB0767B4D08B8A17B4BE66AE0DC87F0@MWHPR04MB0767.namprd04.prod.outlook.com><EE1D6681-2D43-4706-BA69-E480F7D3A51C@mydomain.ca><MWHPR04MB07673C92E04DBA00558D7671C8450@MWHPR04MB0767.namprd04.prod.outlook.com>
In-Reply-To: <MWHPR04MB07673C92E04DBA00558D7671C8450@MWHPR04MB0767.namprd04.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.10.18.200713
x-originating-ip: [10.50.0.38]
Content-Type: multipart/mixed;
        boundary="_012_83662F2A3A7147BE9FD0FC2DACE8257Esd46bcca_"
MIME-Version: 1.0
Return-Path: pknight@mydomain.ca

At a real loss what the root cause of this is and need to get this resolved ASAP.  We have had to reenable recursion to keep mail flowing.

Any help is very much appreciated, thank you

Cannot verify Server identity - iOS device connecting to Microsoft Exchange

$
0
0
Hello, suddenly iPhone users connected to our Exchange 2010 started receiving cannot verify error. And this happens for multiple clients/locations/domains. Any ideas? Restarted and standard troubleshooting doesn't help. SSL certificate is through godaddy. no changes were made to see this error, just started happening out of nowhere, possibly Apple pushed some updates? Fix? Thanks.

disclaimer In HTML

$
0
0

Hi, Expert,

I like to set the disclaimer in red color. setup as below. It does not work. Please give advice.

+++++++

<div style="font-size:8pt; color:#CC0000; font-family: 'Calibri';"> ***THIS IS AN EXTERNAL EMAIL:  do not click any links or open any attachments unless you trust the sender and know the content is safe. *** </div>

+++++++

Tks n brgds

Liu Wei

Exchange 2016 to 2019, if I shut down 2016 server outlook can't connect.

$
0
0

Office365 - office app.
autodiscover cname record pointed to mail.domain.com
SRV autodiscover pointed to ABCMAIL.domain.com
mail.domain.com has same ip of ABCMAIL
Old server name exch
New server name ABCMAIL
All my virtual dir's are set with internal name of server and external of mail.domain.com on both 2016 and 2019.
There are two domain names that are used and the dns records are same for both names.
ABC.com is old company name and DEF.com is the new company name that is also used for email address.
DEF.com domain is what's used to log into O365.

All mailboxes have been moved to the new server including the system mailboxes.
I've removed the old server from the send connector
I have always shutdown the old server first before uninstalling exchange to make sure things don't break.  this time they break lol.

When I shut down the 2016 server outlook clients can not connect to the 2019 server.
I can redo the outlook profile when the 2016 server is off but then outlook still will not connect, until I boot up 2016.
2016 server I can dismount the DB, shut down all exchange services and stop iis and outlook works fine
If I shut down 2016 server while outlook is open it will disconnect from exchange.
I tried shutting down 2016 server and making A records pointing exch to ABCMAIL and outlook never-ending asking for pw.
When 2016 is off, outlook connection status show's it's trying to connect to the old server only. when 2016 is on it show's both servers



Attachment Filename Trimmed

$
0
0

If I attach a file whose name length is more than 60, while receiving the mail, I see it is trimmed to 60 characters. 

Can you please let me know if this is any known issue/solution?

much thanks

EXCHANGE DAG 2016 : Transaction Logs are not truncated if a database copy exists through veeam backup

$
0
0

Hello,

We have DAG with 2 physical Node Cluster. Both host has active and passive database. We are using Veeam 9.5.4 to backup the database. As per Veeam there are 2 options
Node 1 - DB1 (Active-E:Drive), DB2 (Passive-F:Drive)
Node 2 - DB1 (Passive-F:Drive) DB2 (Active-E:Drive)
(Both edb and logs are in same drive)

  1. Select DAG level backup adding drives - that backup both active active and passive database. It will increase both backup window & storage space.


  2. We can select server level backup and choose the drives. - If we select just Active Copy then exchange logs don't truncate. We have to select both active and passive Copies. It will increase both backup window time & storage space.

Any body has this issue and how resolved this? As per Veeam DOC.
I saw some posts regarding this and didn't get any final answer.


https://social.technet.microsoft.com/Forums/en-US/6c9f1b19-4dc4-4109-80d7-aff851a1bd70/dag-transaction-logs-are-not-truncated-if-a-database-copy-exists?forum=Exch2019#452d1c0f-b883-40cc-9750-4a57e6856e95


SI

HELP - SBS 2011 Migration to Exchange 2016

$
0
0

Hi Friends, before the Exchange Migration i wanted to set Outlook Anywhere to Ntlm on the SBS.

I also completed the prepare schema for exchange 2016 several hours before the change to ntlm.


Original State:
Get-OutlookAnywhere | Select-Object -Property SSLOfflading,ExternalHostname,InternalHostName,ExternalClientAuthentificationMethod,InternalClientAuthentificationMethod,IISAuthentificationMethods

SSLOffloading:False
ExternalHostName : mail.domain.com
InternalHostName:
ClientAuthentificationMethod:Basic
IIS AuthentificationMethods: {Basic)

After setting this command: Set-OutlookAnywhere -Identity 'SERVERNAME\Rpc (Default Web Site)' -SSLOffloading $true -ClientAuthenticationMethod NTLM -IISAuthenticationMethods Basic,NTLM

Nothing works anymore. Outlook can't connect.Creating a new profile is possible, but than again it won't connect.
Also can't export users to pst anymore or migrate to  another database.
But i can still create New Mailboxes and the Database is still there!
Owa Error:MapiExceptionCallFailed: Unable to make connection to the server.(hr=0x80004005, ec=5)

"Eventmrg:ASP.Net 2.0  Error 1309

User: domain\user
    Is authenticated: True
    Authentication Type: Basic
    Thread account name: NT-AUTORITÄT\SYSTEM
Thread information:
    Thread ID: 1
    Thread account name: NT-AUTORITÄT\SYSTEM
    Is impersonating: False
Stack trace:    bei Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException)
   bei Microsoft.Mapi.ExRpcConnection.Create(ConnectionCache connectionCache, ExRpcConnectionCreateFlag createFlags, ConnectFlag"

EventMgr:Ms Mailbox Replication isn't working, with the same owa error

Setting Back to SSL False and ClientAuthenticationMethod to Basic

Get-OutlookAnywhere | fl server,name,*hostname,ssl*,*auth*
Server: ServerName
Name : Rpc (Default Web Site)
ExternalHostname : mail.domain.com
SSLOffloading : False
ClientAuthentificationMethod: Basic
IISAuthenticationMethods : {Basic}

I noticed that in iis under RPC-->Authentification , the Windows Authentification is enabled with the options Ntlm and Negotiate.
It wasn't enabled before the changes.

I'm a little bit lost, something is blocking the access.The Remote MS Analyzer is still connecting.
Any ideas?HELP :-)




Outlook in Cached Exchange Mode not syncing inbox

$
0
0

I manage an on premise Exchange 2013 environment with a single server hosting all the roles and running the latest CU. There are 54 mailboxes in the environment. All user mailboxes are connected to using either Outlook 2013 32-bit or Outlook 2016 32-bit , mostly from Windows 10 machines of various build versions. There are still a handful of Windows 7 as well. All users have always used Outlook in Cached Exchange Mode since many years ago without experiencing this issue. Most users also use ActiveSync devices, mostly iPhone and some Android.

I have a single user that had an issue about three weeks ago where he noticed new emails would show up on his iPhone but not in Outlook. If I turned off cached mode they would show up instantly. I went through extensive different possible solutions which I'll list below. When none of them solved the issue I finally created a new Mailbox Database and moved his mailbox. It said there was one item corrupt item found:

A corrupted item was encountered: Folder property "Inbox" this is what I had hoped. I was hoping the issue was a corrupt item that would get left behind. The move succeeded and afterward Outlook began working correctly in cached mode again, on two different computers.  

Here's all the troubleshooting steps I had/have tried:

1. Disabled all Outlook Add-ins

2. Adjusted the Cache to only be for a few months instead of All.

3. Rebuilt his Outlook Profile (including OST)

4. Found that he has many, many, many folders and subfolders. Worked with him via archiving to PST and deleting older stuff to get it from 30GB mailbox with nearly 2,000 folders to a 10GB mailbox with 455 folders.

5. Tried setting up a profile on two other machines with different versions of Windows and Office, the issue followed.

6. Deleted old ActiveSync Devices from his OWA.

7. used MFCMapi to hard delete some subfolders from ExchangeSyncData which seemed to represent old Airsync devices.

This week, the issue started again. I'm really at a loss for what to do now. I've done some of the same testing from above and it seems to be the same issue all over again. Same user, not affecting anyone else. His mailbox is still on a separate database. I really don't know what to do now short of creating yet another Database and moving him again. But, that only seemed to solve the issue for about a week last time.

Exchange DAG

$
0
0

Hi

When I set up the DAG properly.
I started copying the database.
While copying, unfortunately the network connection was lost and I got an error.
I deleted the second server from "SERVER WITH COPIES" and deleted the files created in the DAG path
But when I tried to copy again, I got the following error

The seeding operation failed. Error: An error occurred while running prerequisite checks. Error: The specified database isn't configured for replication and therefore cannot be used to perform seed operations. [Database: Mailbox2, Server ]

How can I solve this problem?
Thanks




Viewing all 7132 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>