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

How to connect to ExchangeOnline with PowerShell 7 and VSCode?

$
0
0

I installed the latest ExchangeOnline V2 preview module in the VSCode PowerShell 7 terminal. When I try to connect-exchangeonline, I get this error after authenticating:

New-ExoPSSession: C:\Users\xxxx\Documents\PowerShell\Modules\ExchangeOnlineManagement\2.0.3\ExchangeOnlineManagement.psm1:426:30
Line |
 426 |  … PSSession = New-ExoPSSession -ExchangeEnvironmentName $ExchangeEnviro …
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Could not load type 'System.Security.Cryptography.SHA256Cng' from assembly 'System.Core, Version=4.0.0.0, Culture=neutral,

The same error occurs with AzureAD.

Is it possible to use this configuration?


Hybrid Minimal - Decommission on-prem Exchange 2010

$
0
0

The MS hybrid decommission document does not cover decommissioning on-prem servers from a minimal hybrid scenario, which is what we've got. The on-prem server is Exchange 2010. All mailboxes have been migrated. From here, what is the procedure to properly decommission the on-prem server?

Thanks!!!

Derek

Downsizing to single Exchange 2016 server from a 2013 DAG after our migration to Exchange Online. Sanity check on my process?

$
0
0
Hi all.  We're an AD-synced environment with an Exchange 2013 DAG, and last year we moved our mailboxes to Exchange Online.  After months of picking away at the last single-digit number of on-prem mailboxes leftover, I finally have0 mailboxes left on-prem.


Now comes the fun part. We are remaining an AD-synced org, so we need that one minimum Exchange server on-prem for managing our remote objects in a supported manner. We have 6 Exchange 2013 DAG members taking up 42U worth of rack space (each is an HP DL380 Gen8 +D6000 disk tray) and we cannot wait to get rid of them and replace it with a single beefy VM using the free Exchange 2016 hybrid license.


Our current environment and what I think our target should look like is below.


https://1drv.ms/u/s!Av8LDkyY7XUk3x6hycPxY0kejo5u?e=NmCx5K


What I believe I should be doing to achieve this is:


1) Spin up a new server, install Exchange 2016, import our SSL certs over to it


2) Flip the DNS entry for Exchange's external URL from our load balancer's virtual IP to the new server's IP (Or just invent a new external URL to use & mint a new SSL cert for it for easier transition?)


3) Re-run the Hybrid Configuration Wizard and point it at the new Exchange server, which should license the server and configure its hybrid status with our tenant


4) Delete the 2013 DAG and uninstall Exchange from the 2013 servers


Am I missing anything, over-simplifying something, or just plain wrong about any step of this process?

Shared mailbox access OWA gives the error ?offline=disabled/

$
0
0

Hi All,

I'm having an issue accessing shared mailbox from OWA while its open as another mailbox. I have full access to the mailbox asnd account is not disabled.Can someone suggest whats needs to done to fix the issue?

Is this something relate to outlook web access offline policy, if yes offline is set to Always. Below is the error im getting in the browser when i am trying the  access the shared mailbox. i am not even able to access the mailbox through owa directly. however mailbox is accessible though outlook.

https://xxx.xx.xx.intranet/owa/xx@xx/?offline=disabled 

Regards,


Sanka Perera

Exchange 2013 with Outlook 2007/2013 front end yielding different/bad search results

$
0
0

I have what seems to be a unique issue that is starting to grow.

We moved from an Exchange 2007 backend to 2013 (v15.0, build 1395.4) a little over a year ago. We have about 1600 mailboxes and 3 databases. This was built by a 3rd party vendor and I am the one maintaining/administering it. It is NOT my primary focus at my job so my knowledge is a bit limited, but I have been tasked to dedicate more of my time to try and fix this issue. 

What is starting to happen is that our helpdesk is receiving more and more calls about searching not yielding good results. I spent time with them yesterday and worked with a new user, only been in our system for about a month and has a pretty small mailbox, who was attempting to find an email from last week and searched a word that he knew was in the subject and it did not return the email he was looking for. This is in Outlook 2007. Yes I realize this is old and dated, but its all I have to work with. He then tried in Outlook 2013 (which we dont widely publish, just gave him temp access to) and it returned different results but still not the original email that he was looking for. I then had him try OWA and the way it displays search results is different, basically lumps the entire conversation into one thread and he was then able to expand that thread and see the original email he was looking for.

Another example is someone else in our IT department was looking for an email from "Sarah". She searched for an email that was in her inbox from yesterday and it didnt come up in her search. She then tried OWA and it too did not return the email she was looking for.

Searching for most things works, but more and more calls from users are coming into the helpdesk with various searching issues and I am not sure where to start since they are so intermittent. It doesnt help the our CIO has been having searching issues for about a year now and now that there are more popping up, he wants me to look into it further. Any help would be greatly appreciated. I am willing to try anything and will take all suggestions into consideration. If any suggestion will take mail down and require downtime, obviously with proof that it will work/help, I will be able to coordinate that with our CIO and office managers.

Outlook 2016 Deleting Emails

$
0
0
outlook 2016 deleting emails from only one email address that we know of and not moving it to another folder. If we close outlook on machine the email will come through to OWA and cell phone, leave message unread open outlook on desktop and email is deleted. Mark message read on phone or owa and then open outlook and email stays. There are no rules and the email address is not blocked in the block settings.  Also we are on Exchange 2013 in house.  Please help

mailbox scripting

$
0
0
we are trying to figure out how to run an exchange scripting agent script to set mailbox attributes on creation, but we also want to create a specific folder at the same time. we've tried calling an external powershell script from within the scripting agent script but it fails. how can this be accomplished. i know there has to be a way to do this all on mailbox creation. can someone help? 

Powershell command

$
0
0

Please forgive me as not much experience with Powershell.

Am running an Exchange2013 server on a Windows 2012 RS server.

I need to count the number of emails in a users sent items since 1/04/2020.

Is there a powershell command I can use?

Thanks


Exchange Groups

$
0
0

Hi there,

I'm supporting a custom with a mixed Exchange 2013 and some Exchange 2007 servers in a multi domain environment.

I'm wondering about the Exchange groups and their permissions - cause some Exchange cmdlets don't work correctly, producing Active Directory errors - insufficient access rights…

Here the groups:

- ExchangeLegacyInterop

- Exchange Windows Permission

- Exchange Trusted Subsystem

- Exchange Servers

- Exchange Install Domain Servers

Is there a document about the default members in these groups - and where in Active Directory these groups are getting permissions?

I found some documents - but nothing with details.

Yours

Franz-Georg


fgc

Cannot install Exchange 2013 CU23

$
0
0

I'm supporting a customer with a multi domain enviroment, and Exchange Servers in all domains.

Trying to install Exchange 2013 CU23 doesn't work, the prerequisites check is showing a lot of error regarding Active Directory:

e.g.:

Forest mode isn't high enough - but in reality its Windows Server 2008 R2 mode - which should be sufficient.

No Exchange Versions before Exchange 2013 are found, but in reality there are still some Exchange 2007 servers.

The installing user is not member of the correct groups - but in reality the user is in all necessary groups.

I checked Active Directory back and forth - everything seems to be OK, but setup of CU23 doesn't work.

Then finally I tried installing Exchange 2013 CU21 - and to my surprise - no problems!

That's somehow weird!

Any ideas?

Yours

Franz-Georg


fgc

Migrate Exchange 2013 to Exchange 2019 while Hybrid in place

$
0
0

Hi Can somebody help me with the right approach.

We have Exchange 2013 on premise with Hybrid to Office 365. only few mailboxes are left which will stay on premise due to some dependency. Now we have been asked to migrate on prem left over mailboxes to Exchange 2019 on a different site (DC) where no Exchange servers including Hybrid is present. What is the best method,

1. Build Exchange 2019 in new site (DAG), if we migrate from Exchange 2013 to 2019, Hybrid configuration will not pick up the new servers.

2. Do we need to build new hybrid servers in new site, run HCW with new hybrid servers and then approach migration?

What is the best approach? is it even possible to have Exchange 2013 and 2019 to co-exist while having exchange 2013 Hybrid in place?


Regards BM

Can DAG contain different version of Exchange server?

$
0
0

Hi,

I have two questions:

1. Can DAG contain different version of Exchange? Like A dag with 3 exchange 2013 and 4 exchange 2016?

2. Can DAG contain mix of virtual and Physical servers? 

3. Can DAG contain mix of different os platform?


Regards BM

Exchange 2010 - 800Gb shared mailbox

$
0
0

I have a shared mailbox that received spam from an unsecured contact form so the email travelled internally (no spam filter).

As a result the mailbox size now is 800+Gb in size.

The spam folder created by a rule has 4million items.

The mailbox cannot be opened by Outlook or OWA - that attempt took the DB offline and we had to fail it over for the queue to clear and fail it back.

The current archive folders are both over 100GB.

I am looking for a solution to break this down and delete some of the mail and keep other folders.

That will be need to be done via PowerShell, any have any thoughts on this problem?

Exchange powershell "The command completed successfully but no settings of x have been modified".

$
0
0

Hi,

I'm trying to change a users Country in exchange online powershell module using - 

Set-User -Identity x@y.com -CountryOrRegion "United Kingdom"

but I just receive "The command completed successfully but no settings of 'x' have been modified".

Some searching suggests it means that the user already has that setting and so no change has been made. Double checking in the 365 admin portal confirms that they have nothing set for country. Command and syntax appear to be correct as I am able to change my own country. For this reason I am thinking it is access related. Can anybody guide me in the right direction please?

Thanks

Paul.


moving to Exchange 2019 from Exchange 2013

$
0
0

Upgrading Server from 2012 to 2019

and Exchange 2013 to 2019

As there are only small number of users it might be simpler to Export email to PST and import into new installation !
rather than full Exchange 2013 to 2019 Migration!

No changes to AD planned in the next few days!

In preparation to do the Migration coming weekend, I have Migrated the DC to 2019 - DC is healthy & Exchange 2013 running OK

When at the weekend the Plan is to Export mailboxes top PST

Uninstall Exchange 2013 first - (I assume I need to do this first!)

Install Fresh copy of Exchange 2019

Is there anything to be aware of / gotcha situation?


ChrisS


Exchange 2016 CU17 Shows Incorrect Name In Add/Remove Programs

$
0
0

Hello Support,

Our Current Exchange Server 2016 (CU3) was running and last week upgraded to Latest CU17

Issue we have noticed below:

After installing Exchange 2016 CU17,we have notice that there is a cosmetic issue with how the update is listed in Add/Remove programs. In the screenshot below, note that Exchange 2016 Cumulative Update 3 is listed, but the version number is not the CU17 version number.
i.e:-

For reference the versions of the relevant CUs are shown below.  Note that the above screenshot shows the CU17 version, but the text string shows CU3.

Exchange 2016 CU3 is 15.01.0544.027
Exchange 2016 CU17 is  15.01.2044.004
as the version information shown in Exchange Management Shell is correct.  On the Exchange server, we can check the version information using something like:

Note that PowerShell shows the correct version information for CU17 – 15.01.2044.004

This issue is discussed in KB XXX “Cumulative Update 3” appears in Programs and Features after you install Exchange Server 2016 Cumulative Update 17.

Also in our vulnerability tools show CU3 in Outdated version,

Please advise


Sathishkumar Singh

Add Sender Email address in Message Header

$
0
0

Hi All, 

I was wondering can you add the sender email address when you append a message header? is there some sort of string? I need to add

Can a user's primary mailbox & archive mailbox located in different DAG & different Active Directory Site?

$
0
0

Hi,

I have a customer who want to use Microsoft Exchange Archiving Solution.

Currently, my customer is using Microsoft Exchange 2016 Enterprise Edition.

The current setup are as below:

2 Active Directory Sites: HQ (2 mailbox server) & DR (1 mailbox server) in 1 DAG

New Design:

I will propose to build new dedicate Archiving Servers.

Since Archiving will use a lot of disk space, to reduce number of Archiving server, I would like to propose a new DAG which consist of total 2 Archiving server which 1 placed in HQ and the other 1 place in DR. (instead of 2 archiving server in HQ & 1 archiving server in DR site.)

The proposed design as below:

DAG1: 2 mailbox server in HQ & 1 mailbox server in DR

DAG2: 1 mailbox server (archiving) in HQ & 1 mailbox server (archiving) in DR

My questions:

If my HQ archiving Server down, then I will fail over the DAG2 to DR site. (while DAG1 still in HQ site.)

1) Can a user primary mailbox located in HQ's exchange server and his/her archive mailbox located in DR's exchange server? can user access it as usual?

2) The user primary mailbox & the archive mailbox are located in different DAG also. Can this work?

Thanks in advance.




Problems to configure my Exchange server 2016 mailboxes on mobile devices

$
0
0

Good Morning. I would like to ask you a question. I'm having a weird problem with my Exchange 2016, it happens to me that when configuring mailboxes on mobile devices, for example on Iphone: I configure the mailbox with the Exchange app, it receives but does not send.

When configuring it as another account it sends but I do not receive.
That puzzles me why I don't know where the problem is.

From already thank you very much.

Regards.

When configuring it as another account it sends but I do not receive. That puzzles me why I don't know where the problem is. From already thank you very much. Regards.
When configuring it as another account it sends but I do not receive. That puzzles me why I don't know where the problem is. From already thank you very much. Regards.
When configuring it as another account it sends but I do not receive. That puzzles me why I don't know where the problem is. From already thank you very much. Regards.

Mail flow Troubleshooting

$
0
0

I set up a send connector and have it configured like this


AddressSpaces                : {SMTP:intranet.domain.main;1, SMTP:mail.p1-shp02.com;1}
AuthenticationCredential     : 
CloudServicesMailEnabled     : False
Comment                      : 
ConnectedDomains             : {}
ConnectionInactivityTimeOut  : 00:10:00
DNSRoutingEnabled            : False
DomainSecureEnabled          : False
Enabled                      : True
ErrorPolicies                : Default
ForceHELO                    : False
Fqdn                         : 
FrontendProxyEnabled         : False
HomeMTA                      : Microsoft MTA
HomeMtaServerId              : Server1
Identity                     : SP p1-shp02
IgnoreSTARTTLS               : False
IsScopedConnector            : False
IsSmtpConnector              : True
MaxMessageSize               : Unlimited
Name                         : SP p1-shp02
Port                         : 25
ProtocolLoggingLevel         : None
RequireOorg                  : False
RequireTLS                   : False
SmartHostAuthMechanism       : None
SmartHosts                   : {[192.168.168.168]}
SmartHostsString             : [192.168.168.4]
SmtpMaxMessagesPerConnection : 20
SourceIPAddress              : 0.0.0.0
SourceRoutingGroup           : Exchange Routing Group (DWBGZMFD01QNBJR)
SourceTransportServers       : {Server1,server2,server3,server4...}
TlsAuthLevel                 : 
TlsCertificateName           : 
TlsDomain                    : 
UseExternalDNSServersEnabled : False

Result is the following:

I send an email to USER@mail.p1-shp02.com the email is DELIVERED using the connector SP p1-shp02. This is what i expect.

T send an email to USER@intranet.domain.main the email is undeliverable.

Your message wasn't delivered due to a permission or security issue. It may have been rejected by a moderator, the address may only accept email from certain senders, or another restriction may be preventing delivery.

The following organization rejected your message: P1-SHP02.root.com.

Diagnostic information for administrators:

Generating server: server1.domain.main

MorningReports@intranet.domain.main
P1-SHP02.domain.root
Remote Server returned '<P1-SHP02.domain.root #5.7.1 smtp;550 5.7.1 Unable to relay for MorningReports@
intranet.domain.main

The configuration says:

AddressSpaces                : {SMTP:intranet.domain.main;1, SMTP:mail.p1-shp02.com;1}

If i understand correctly any email address with @intranet.domain.main and with "*@mail.p1-shp02.com" should be sent to this connector asnd this connector should route to 192.168.168.168 .

Am I correct? What am i missing?

Thanks,

Alexis Crawford



Viewing all 7132 articles
Browse latest View live