Quantcast
Channel: Exchange Server 2013 - Setup, Deployment, Updates, and Migration 论坛
Viewing all 7008 articles
Browse latest View live

on-prem outlook password prompt when oulook client try access 365 mailbox with Exchange 2013 hybrid

$
0
0

Hello

I need idea:

I have got exchange 2013 hybrid config with adfs auth without sso. free/busy mailbox move is working correctly.

But after mailbox move to 365 all outlook client prompt password when trying to establish connection to outlook.offiice365.com after enter password connection establish.

I try: change rpc to mapi and back, AlwaysUseMSOAuthForAutoDiscover reg setting but not help.
I think exchange server config error but where....

Any idea?

Gabor Sneff


sorry my english


Users missing from ECP shared mailbox send as

$
0
0

When managing mailbox delegation from the Exchange 2013 ECP, a few users do not show up when adding send as permissions.  I can add the the user to Full Access but when I click the + to add them with Send As permission, the user is not listed.  I can see many users, just not the one I need.

Does anyone know what might be preventing the ECP from displaying certain users when adding them to send as for a shared mailbox?

Free Busy information not available during migration

$
0
0

We are currently migrating from Exchange 2010 to Exchange 2013.  I have done a few test users and all seems to be working fine accept for Free/Busy information.

If you are still on Exchange 2010 you can see all the other Exchange 2010 users' free/busy.

If you are on Exchange 2013 you can see all users free/busy on 2013 AND 2010.

If you are still on Exchange 2010 you CANNOT see Exchange 2013 users' Free/Busy.

As we move more users over to 2013 this is going to become a problem as our users create loads of meetings and need to be able to see the free/busy time.

Have I missed something or is there an issue with this scenario?

Thanks for any help.

migrating from exchange 2010 to 2013 but notice legacy mailboxes in exchange with no mail database (mailbox)

$
0
0

Hi There,

We have just migrated all of our users/shared mailboxes over to our new exchange 2013 box, from exchange 2010. But have noticed 4 mailboxes that appear as a Legacy Mailbox which appear in the exchange console but has no mailbox nor are they attached to a mailbox database. So cannot migrate them to the new servers. We know they are old accounts but the worrying thing is one of the accounts looks like its the Administrator account

Any suggestions on what to do here?

Regards

Ravinder

INSUFF_ACCESS_RIGHTS when install CU22 on exchange 2013 CU2.

$
0
0

Currently we have 2 exchange server

Forest/Domain Functional lvl 2008R2 both AD1 and AD2 is  Win Svr 2016

(Win Svr 2008R2) Exchange 2010 SP3 RU22

(Win Svr 2012R2) Exchange 2013 CU2, when try to install CU22 it show below error in exchange setup log.

I check schema already update except prepareAD part when it failed, i tried run installer with GUI and also CMD with elevated right bot failed at prepare organization.

[01/16/2020 02:00:12.0879] [2] Active Directory session settings for 'Install-CannedRbacRoles' are: View Entire Forest: 'True', Configuration Domain Controller: 'ad1.contoso.com', Preferred Global Catalog: 'ad1.contoso.com', Preferred Domain Controllers: '{ ad1.contoso.com }'
[01/16/2020 02:00:12.0879] [2] User specified parameters:  -InvocationMode:'BuildToBuildUpgrade' -DomainController:'ad1.contoso.com'
[01/16/2020 02:00:12.0879] [2] Beginning processing Install-CannedRbacRoles
[01/16/2020 02:00:12.0879] [2] Used domain controller ad1.contoso.com to read object DC=contoso,DC=com.
[01/16/2020 02:00:14.0551] [2] Used domain controller ad1.contoso.com to read object CN=Reset Password,CN=Roles,CN=RBAC,CN=CONTOSO,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com.
[01/16/2020 02:00:14.0598] [2] [ERROR] Active Directory operation failed on ad1.contoso.com. This error is not retriable. Additional information: Access is denied.
Active directory response: 00000005: SecErr: DSID-03152763, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0

[01/16/2020 02:00:14.0598] [2] [ERROR] The user has insufficient access rights.
[01/16/2020 02:00:14.0614] [2] Ending processing Install-CannedRbacRoles
[01/16/2020 02:00:14.0614] [1] The following 1 error(s) occurred during task execution:
[01/16/2020 02:00:14.0614] [1] 0.  ErrorRecord: Active Directory operation failed on ad1.contoso.com. This error is not retriable. Additional information: Access is denied.
Active directory response: 00000005: SecErr: DSID-03152763, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0

Exchange SP3 download link

$
0
0

Hello,

we need to update from exhange 2007 to 2013, but we have exchange 2007 with SP2.

First we nned to update to SP3, but i can't find any working link for download.

In Windows catalog i see only rollups, but i can't find package with update from SP2 to SP3.

Can You send me naz link or package name in microsoft catalog?

Thx,

Petr

Failure to upgrade to Exchange 2013 Cumulative Update 23 - CU23

$
0
0

Dear all,

I am currently setting up Exchange 2013 new server in parallel to my current Exchanege 2010, so I can migrate my mailboxes to Exchange 2013 and switchover to Exchange 2013.

We are using Windows 2016 Active directory (func level Win2008R2), which was upgraded from Windows 2008 R2 (func level Win2003) few weeks ago.

I am trying to upgrade the Exchange 2013 SP1 to the latest Cumulative Update 23 - CU23.

I have encountered a problem , where I cannot upgrade the Exchange 2013 SP1 to CU23.

The Exchange Setup log is as below.

I have checked various articles and permissions and various other ways , still cannot solve.

Please help me on this.

--------------------------------------------------------------------------------------

[01/22/2020 06:52:42.0160] [1] Executing:
 Install-CannedRbacRoles -InvocationMode $RoleInstallationMode -DomainController $RoleDomainController

[01/22/2020 06:52:42.0160] [2] Active Directory session settings for 'Install-CannedRbacRoles' are: View Entire Forest: 'True', Configuration Domain Controller: '(DC name)', Preferred Global Catalog: '(DC name)', Preferred Domain Controllers: '{ (DC name) }'
[01/22/2020 06:52:42.0160] [2] User specified parameters:  -InvocationMode:'BuildToBuildUpgrade' -DomainController:'(DC name)'
[01/22/2020 06:52:42.0160] [2] Beginning processing Install-CannedRbacRoles
[01/22/2020 06:52:42.0160] [2] Used domain controller (DC name) to read object DC=xxx,DC=xxx,DC=com.
[01/22/2020 06:52:42.0301] [2] Used domain controller (DC name) to read object CN=Reset Password,CN=Roles,CN=RBAC,CN=xxxx,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=xxx,DC=xxx,DC=com.
[01/22/2020 06:52:42.0317] [2] [ERROR] Active Directory operation failed on (DC name). This error is not retriable. Additional information: Access is denied.
Active directory response: 00000005: SecErr: DSID-03152763, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0
[01/22/2020 06:52:42.0317] [2] [ERROR] The user has insufficient access rights.
[01/22/2020 06:52:42.0332] [2] Ending processing Install-CannedRbacRoles
[01/22/2020 06:52:42.0332] [1] The following 1 error(s) occurred during task execution:
[01/22/2020 06:52:42.0332] [1] 0.  ErrorRecord: Active Directory operation failed on (DC name). This error is not retriable. Additional information: Access is denied.
Active directory response: 00000005: SecErr: DSID-03152763, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0
[01/22/2020 06:52:42.0332] [1] 0.  ErrorRecord: Microsoft.Exchange.Data.Directory.ADOperationException: Active Directory operation failed on (DC name). This error is not retriable. Additional information: Access is denied.
Active directory response: 00000005: SecErr: DSID-03152763, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0
 ---> System.DirectoryServices.Protocols.DirectoryOperationException: The user has insufficient access rights.
   at System.DirectoryServices.Protocols.LdapConnection.ConstructResponse(Int32 messageId, LdapOperation operation, ResultAll resultType, TimeSpan requestTimeOut, Boolean exceptionOnTimeOut)
   at System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest request, TimeSpan requestTimeout)
   at Microsoft.Exchange.Data.Directory.PooledLdapConnection.SendRequest(DirectoryRequest request, LdapOperation ldapOperation, Nullable`1 clientSideSearchTimeout, IActivityScope activityScope, String callerInfo)
   at Microsoft.Exchange.Data.Directory.ADDataSession.ExecuteModificationRequest(ADObject entry, DirectoryRequest request, ADObjectId originalId, Boolean emptyObjectSessionOnException, Boolean isSync)
   --- End of inner exception stack trace ---
   at Microsoft.Exchange.Data.Directory.ADDataSession.AnalyzeDirectoryError(PooledLdapConnection connection, DirectoryRequest request, DirectoryException de, Int32 totalRetries, Int32 retriesOnServer)
   at Microsoft.Exchange.Data.Directory.ADDataSession.ExecuteModificationRequest(ADObject entry, DirectoryRequest request, ADObjectId originalId, Boolean emptyObjectSessionOnException, Boolean isSync)
   at Microsoft.Exchange.Data.Directory.ADDataSession.Delete(ADObject instanceToDelete, Boolean enableTreeDelete)
   at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADConfigurationSession.DeleteTree(ADConfigurationObject instanceToDelete, TreeDeleteNotFinishedHandler handler)
   at Microsoft.Exchange.Management.Tasks.InstallCannedRbacRoles.RemoveRoleAndAssignments(ADObjectId roleId)
   at Microsoft.Exchange.Management.Tasks.InstallCannedRbacRoles.RemoveRolesAndAssignments(String[] rolesToRemove)
   at Microsoft.Exchange.Management.Tasks.InstallCannedRbacRoles.InternalProcessRecord()
   at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()
[01/22/2020 06:52:42.0348] [1] [ERROR] The following error was generated when "$error.Clear();
 Install-CannedRbacRoles -InvocationMode $RoleInstallationMode -DomainController $RoleDomainController
" was run: "Active Directory operation failed on (DC name). This error is not retriable. Additional information: Access is denied.
Active directory response: 00000005: SecErr: DSID-03152763, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0
".
[01/22/2020 06:52:42.0348] [1] [ERROR] Active Directory operation failed on (DC name). This error is not retriable. Additional information: Access is denied.
Active directory response: 00000005: SecErr: DSID-03152763, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0
[01/22/2020 06:52:42.0348] [1] [ERROR] The user has insufficient access rights.
[01/22/2020 06:52:42.0348] [1] [ERROR-REFERENCE] Id=1424659442 Component=
[01/22/2020 06:52:42.0348] [1] Setup is stopping now because of one or more critical errors.
[01/22/2020 06:52:42.0348] [1] Finished executing component tasks.
[01/22/2020 06:52:42.0348] [1] Ending processing Install-ExchangeOrganization
[01/22/2020 06:52:42.0348] [0] CurrentResult console.ProcessRunInternal:198: 1
[01/22/2020 06:52:42.0363] [0] CurrentResult launcherbase.maincore:90: 1
[01/22/2020 06:52:42.0363] [0] CurrentResult console.startmain:52: 1
[01/22/2020 06:52:42.0363] [0] CurrentResult SetupLauncherHelper.loadassembly:452: 1
[01/22/2020 06:52:42.0363] [0] The Exchange Server setup operation didn't complete.  More details can be found in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.
[01/22/2020 06:52:42.0363] [0] CurrentResult main.run:235: 1
[01/22/2020 06:52:42.0363] [0] CurrentResult setupbase.maincore:396: 1
[01/22/2020 06:52:42.0363] [0] End of Setup
[01/22/2020 06:52:42.0363] [0] **********************************************

--------------------------------------------------------------------------------------


Velan Ramalinggam

CU19 to CU23 update issue - MSI Package "The specified account already exists."

$
0
0

Hello,

I am having an issue updating exchange 2013 from cu19 to cu23. setup fails with the following error code: 

Unable to remove product with code 4934d1ea-be46-48b1-8847-f1af20e892c1. Fatal error during installation. Error code is 1603. Last error reported by the MSI package is 'The specified account already exists.

I have googled this error but it has not lead me to a solution. I have tried running the tool that fixes issues with programs being installed found here with no luck: https://support.microsoft.com/en-us/help/17588/windows-fix-problems-that-block-programs-being-installed-or-removed

I am hoping someone will be able to assist.


here is the tail of the installer log file.

[01-29-2020 05:30:56.0660] [0] Setup will run the task 'uninstall-msipackage'
[01-29-2020 05:30:56.0660] [1] Setup launched task 'uninstall-msipackage -logfile 'C:\ExchangeSetupLogs\ExchangeSetup.msilog' -ProductCode '4934d1ea-be46-48b1-8847-f1af20e892c1' -PropertyValues 'BYPASS_CONFIGURED_CHECK=1 DEFAULTLANGUAGENAME=ENU''  
[01-29-2020 05:30:56.0675] [1] Active Directory session settings for 'Uninstall-MsiPackage' are: View Entire Forest: 'True', Configuration Domain Controller: 'mtrsvr.pnwrr.com', Preferred Global Catalog: 'mtrsvr.pnwrr.com', Preferred Domain Controllers: '{ mtrsvr.pnwrr.com }'
[01-29-2020 05:30:56.0675] [1] User specified parameters:  -LogFile:'C:\ExchangeSetupLogs\ExchangeSetup.msilog' -ProductCode:'4934d1ea-be46-48b1-8847-f1af20e892c1' -PropertyValues:'BYPASS_CONFIGURED_CHECK=1 DEFAULTLANGUAGENAME=ENU'
[01-29-2020 05:30:56.0675] [1] Beginning processing uninstall-msipackage
[01-29-2020 05:30:56.0675] [1] Removing MSI package with code '4934d1ea-be46-48b1-8847-f1af20e892c1'.
[01-29-2020 05:31:07.0707] [1] [ERROR] Unable to remove product with code 4934d1ea-be46-48b1-8847-f1af20e892c1. Fatal error during installation. Error code is 1603. Last error reported by the MSI package is 'The specified account already exists.
'.
[01-29-2020 05:31:07.0707] [1] [ERROR] Fatal error during installation
[01-29-2020 05:31:07.0722] [1] [ERROR] Unable to remove product with code 4934d1ea-be46-48b1-8847-f1af20e892c1. Fatal error during installation. Error code is 1603. Last error reported by the MSI package is 'The specified account already exists.
'.
[01-29-2020 05:31:07.0722] [1] [ERROR] Fatal error during installation
[01-29-2020 05:31:07.0754] [1] Ending processing uninstall-msipackage

thanks,

Jason Hill


Exchange 2016 CU15 failed

$
0
0

Got this error at stage 16 of 17 last night

[01/29/2020 21:02:26.0545] [1] [ERROR] The following error was generated when "$error.Clear();
          $dependentAssemblyGeneratorExePath = [System.IO.Path]::Combine($RoleInstallPath, "bin", "DependentAssemblyGenerator.exe");
          $exchangeBinPath  = [System.IO.Path]::Combine($RoleInstallPath, "bin");
          $clientAccessPath = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess");
          $sharedWebConfig  = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess", "SharedWebConfig.config");

          $a = &"$dependentAssemblyGeneratorExePath" -exchangePath "$exchangeBinPath" -exchangePath "$clientAccessPath" -configFile "$sharedWebConfig";
          $allOutput = @();
          $a | % { $allOutput += $_ };
          Write-ExchangeSetupLog -Info ($allOutput -join "`r`n");
          Stop-SetupService -ServiceName WAS;
          Start-SetupService -ServiceName W3SVC;
        " was run: "System.Management.Automation.RemoteException".
[01/29/2020 21:02:26.0545] [1] [ERROR]
[01/29/2020 21:02:26.0784] [1] 1.  ErrorRecord: Unhandled Exception:
[01/29/2020 21:02:26.0784] [1] 1.  ErrorRecord: System.Management.Automation.RemoteException: Unhandled Exception:
[01/29/2020 21:02:26.0784] [1] [ERROR] The following error was generated when "$error.Clear();
          $dependentAssemblyGeneratorExePath = [System.IO.Path]::Combine($RoleInstallPath, "bin", "DependentAssemblyGenerator.exe");
          $exchangeBinPath  = [System.IO.Path]::Combine($RoleInstallPath, "bin");
          $clientAccessPath = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess");
          $sharedWebConfig  = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess", "SharedWebConfig.config");

          $a = &"$dependentAssemblyGeneratorExePath" -exchangePath "$exchangeBinPath" -exchangePath "$clientAccessPath" -configFile "$sharedWebConfig";
          $allOutput = @();
          $a | % { $allOutput += $_ };
          Write-ExchangeSetupLog -Info ($allOutput -join "`r`n");
          Stop-SetupService -ServiceName WAS;
          Start-SetupService -ServiceName W3SVC;
        " was run: "System.Management.Automation.RemoteException: Unhandled Exception:".
[01/29/2020 21:02:26.0784] [1] [ERROR] Unhandled Exception:
[01/29/2020 21:02:26.0784] [1] 2.  ErrorRecord: 
[01/29/2020 21:02:26.0784] [1] 2.  ErrorRecord: System.Management.Automation.RemoteException: 
[01/29/2020 21:02:26.0784] [1] [ERROR] The following error was generated when "$error.Clear();
          $dependentAssemblyGeneratorExePath = [System.IO.Path]::Combine($RoleInstallPath, "bin", "DependentAssemblyGenerator.exe");
          $exchangeBinPath  = [System.IO.Path]::Combine($RoleInstallPath, "bin");
          $clientAccessPath = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess");
          $sharedWebConfig  = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess", "SharedWebConfig.config");

          $a = &"$dependentAssemblyGeneratorExePath" -exchangePath "$exchangeBinPath" -exchangePath "$clientAccessPath" -configFile "$sharedWebConfig";
          $allOutput = @();
          $a | % { $allOutput += $_ };
          Write-ExchangeSetupLog -Info ($allOutput -join "`r`n");
          Stop-SetupService -ServiceName WAS;
          Start-SetupService -ServiceName W3SVC;
        " was run: "System.Management.Automation.RemoteException:  ".
[01/29/2020 21:02:26.0784] [1] [ERROR] 
[01/29/2020 21:02:26.0784] [1] 3.  ErrorRecord: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\SharedWebConfig.config' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.Xml.XmlDocument.Save(String filename)
   at Microsoft.Exchange.Management.DependentAssemblyGenerator.UpdateConfigFile(String configFilePath, IList`1 exchangeAssemblies, Int32& numAssembliesAdded)
   at Microsoft.Exchange.Management.DependentAssemblyGenerator.Main(String[] args)
[01/29/2020 21:02:26.0785] [1] 3.  ErrorRecord: System.Management.Automation.RemoteException: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\SharedWebConfig.config' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.Xml.XmlDocument.Save(String filename)
   at Microsoft.Exchange.Management.DependentAssemblyGenerator.UpdateConfigFile(String configFilePath, IList`1 exchangeAssemblies, Int32& numAssembliesAdded)
   at Microsoft.Exchange.Management.DependentAssemblyGenerator.Main(String[] args)
[01/29/2020 21:02:26.0785] [1] [ERROR] The following error was generated when "$error.Clear();
          $dependentAssemblyGeneratorExePath = [System.IO.Path]::Combine($RoleInstallPath, "bin", "DependentAssemblyGenerator.exe");
          $exchangeBinPath  = [System.IO.Path]::Combine($RoleInstallPath, "bin");
          $clientAccessPath = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess");
          $sharedWebConfig  = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess", "SharedWebConfig.config");

          $a = &"$dependentAssemblyGeneratorExePath" -exchangePath "$exchangeBinPath" -exchangePath "$clientAccessPath" -configFile "$sharedWebConfig";
          $allOutput = @();
          $a | % { $allOutput += $_ };
          Write-ExchangeSetupLog -Info ($allOutput -join "`r`n");
          Stop-SetupService -ServiceName WAS;
          Start-SetupService -ServiceName W3SVC;
        " was run: "System.Management.Automation.RemoteException: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\SharedWebConfig.config' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.Xml.XmlDocument.Save(String filename)
   at Microsoft.Exchange.Management.DependentAssemblyGenerator.UpdateConfigFile(String configFilePath, IList`1 exchangeAssemblies, Int32& numAssembliesAdded)
   at Microsoft.Exchange.Management.DependentAssemblyGenerator.Main(String[] args)".
[01/29/2020 21:02:26.0785] [1] [ERROR] System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\SharedWebConfig.config' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.Xml.XmlDocument.Save(String filename)
   at Microsoft.Exchange.Management.DependentAssemblyGenerator.UpdateConfigFile(String configFilePath, IList`1 exchangeAssemblies, Int32& numAssembliesAdded)
   at Microsoft.Exchange.Management.DependentAssemblyGenerator.Main(String[] args)
[01/29/2020 21:02:26.0785] [1] 4.  ErrorRecord:

[01/29/2020 21:02:26.0785] [1] 4.  ErrorRecord: System.Management.Automation.RemoteException:

[01/29/2020 21:02:26.0785] [1] [ERROR] The following error was generated when "$error.Clear();
          $dependentAssemblyGeneratorExePath = [System.IO.Path]::Combine($RoleInstallPath, "bin", "DependentAssemblyGenerator.exe");
          $exchangeBinPath  = [System.IO.Path]::Combine($RoleInstallPath, "bin");
          $clientAccessPath = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess");
          $sharedWebConfig  = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess", "SharedWebConfig.config");

          $a = &"$dependentAssemblyGeneratorExePath" -exchangePath "$exchangeBinPath" -exchangePath "$clientAccessPath" -configFile "$sharedWebConfig";
          $allOutput = @();
          $a | % { $allOutput += $_ };
          Write-ExchangeSetupLog -Info ($allOutput -join "`r`n");
          Stop-SetupService -ServiceName WAS;
          Start-SetupService -ServiceName W3SVC;
        " was run: "System.Management.Automation.RemoteException:
".
[01/29/2020 21:02:26.0785] [1] [ERROR]

[01/29/2020 21:02:26.0785] [1] [ERROR-REFERENCE] Id=ClientAccessPostSetupComponent___GenerateDependentAssemblies Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
[01/29/2020 21:02:26.0873] [1] Setup is stopping now because of one or more critical errors.
[01/29/2020 21:02:26.0873] [1] Finished executing component tasks.
[01/29/2020 21:02:27.0747] [1] Ending processing Start-PostSetup
[01/29/2020 21:02:45.0345] [0] CurrentResult setupbase.maincore:396: 0
[01/29/2020 21:02:45.0429] [0] End of Setup

I've run the commands from https://social.technet.microsoft.com/Forums/en-US/a1c5c0f6-73db-4845-98b8-7a3c3031d3ed/exchange-2013-cu15-cas-upgrade-fails?forum=exchangesvrdeploy

and there is still no access to OWA or Autodiscover

Thanks in advance

Removing secondary SMTP Address

$
0
0

Team,

In my infrastructure we have two SMTP address showing for all users e.g.

1) ABC@abs.com 

2) XYZ@cbs.com

Primary is ABC@cbs.com. I want to remove secondary smtp address from all users. Please help me with the script and procedure


How to recreate the Powershell VirtualDirectory.

$
0
0

Hi:

I have a Exchange 2010 test migration to 2013 enviroment , On the 2013 for some issues I´ve delete-remove the Powershell VirtualDirectory with the Remove-PowerShellVirtualDirectory , then I´ve closed the Shell and I´ve tried to reopent and of course it conect to other Exchange 2010 server VirtualDirectory.

I´ve tried to recreate the Virtual Directory but it said VirtualDirectory is created because it tries to create it on the other Exchange 2010 server that has its own virtualdirectory

How can I create the virtual directory on my new 2013, I´ve tried with the -server option but Exchange 2010 doesn´t accept this option:

Even I´ve tried to create handly the VirtualDirectory on IIS but no way.

Pls, some help.

Thanks a lot.

Room Finder not working with Address Book Policies

$
0
0

Hi,

I have an issue with Room Finder and Address Book Policies whereby when a mailbox user is apart of an ABP they cannot see any rooms within the room finder in Outlook. They can however see their organisations rooms in the address book (which is the intended outcome of using ABPs)
If the user is part of the default GAL (no ABP) then all roomlists can be seen in room finder making me suspect that the problem is with the ABP

I came across an article which is very similar to the problem that I am encountering however I am already using the suggested fix (using recipient filters) -

Background to configuration

We have a multi tenant exchange 2013 environment where each tenant is segmented from other tenants by the use of address book policies.

Each tenant have been set-up using the following cmdlets:

New-GlobalAddressList -Name "TenantName - GAL" -ConditionalCustomAttribute15 "ABC" -IncludedRecipients MailboxUsers -RecipientContainer "Path/to/OU
New-AddressList -Name "TenantName - All Rooms" -RecipientFilter "(CustomAttribute15 -eq 'ABC') -and (RecipientDisplayType -eq 'ConferenceRoomMailbox')" -RecipientContainer "Path/to/OU
New-AddressList -Name "TenantName - All Users" -RecipientFilter "(CustomAttribute15 -eq 'ABC') -and (ObjectClass -eq 'User')" -RecipientContainer "Path/to/OU
New-AddressList -Name "TenantName - All Contacts" -RecipientFilter "(CustomAttribute15 -eq 'ABC) -and (ObjectClass -eq 'Contact')" -RecipientContainer "Path/to/OU
New-AddressList -Name "TenantName - All Groups" -RecipientFilter "(CustomAttribute15 -eq 'ABC') -and (ObjectClass -eq 'Group')" -RecipientContainer "Path/to/OU
New-OfflineAddressBook -Name "TenantName" -AddressLists "TenantName - GAL" 
New-AddressBookPolicy -Name "TenantName" -AddressLists "TenantName - All Users", "TenantName - All Contacts", "TenantName - All Groups" -GlobalAddressList "TenantName - GAL" -OfflineAddressBook "TenantName" -RoomList "TenantName - All Rooms"

As you can see each address list is populated by custom attribute 15 corresponding to the tenants code (of local significance) and the OU that the object resides in.

N.B. I have rebuilt my outlook profile, switched to non-cached mode to no avail

To reiterate, the ABP is working great apart from this room finder feature issue, each tenant can only see their rooms in their address book just not in the room finder.

I have tried to build distribution group roomlists and set the custom attribute and OU to test but this didn't work as I'm aware you can only have address lists in the set-addressbookpolicy -roomlist cmdlet parameter, not distribution groups

organization preparation step error

$
0
0

Hello all,

Im facing an error in Exchange server 2013 CU20 in organization preparation step error

Error:
The following error was generated when "$error.Clear(); 
          $createTenantRoot = ($RoleIsDatacenter -or $RoleIsPartnerHosted);
          $createMsoSyncRoot = $RoleIsDatacenter;

          #$RoleDatacenterIsManagementForest is set only in Datacenter deployment; interpret its absense as $false
          [bool]$isManagementForest = ($RoleDatacenterIsManagementForest -eq $true);

          if ($RolePrepareAllDomains)
          {
              initialize-DomainPermissions -AllDomains:$true -CreateTenantRoot:$createTenantRoot -CreateMsoSyncRoot:$createMsoSyncRoot -IsManagementForest:$isManagementForest;
          }
          elseif ($RoleDomain -ne $null)
          {
              initialize-DomainPermissions -Domain $RoleDomain -CreateTenantRoot:$createTenantRoot -CreateMsoSyncRoot:$createMsoSyncRoot -IsManagementForest:$isManagementForest;
          }
          else
          {
              initialize-DomainPermissions -CreateTenantRoot:$createTenantRoot -CreateMsoSyncRoot:$createMsoSyncRoot -IsManagementForest:$isManagementForest;
          }
        " was run: "System.OverflowException: Length of the access control list exceed the allowed maximum.
   at System.Security.AccessControl.RawAcl.InsertAce(Int32 index, GenericAce ace)
   at System.Security.AccessControl.CommonAcl.AddQualifiedAce(SecurityIdentifier sid, AceQualifier qualifier, Int32 accessMask, AceFlags flags, ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType)
   at System.Security.AccessControl.DiscretionaryAcl.AddAccess(AccessControlType accessType, SecurityIdentifier sid, Int32 accessMask, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType)
   at System.Security.AccessControl.DirectoryObjectSecurity.ModifyAccess(AccessControlModification modification, ObjectAccessRule rule, Boolean& modified)
   at System.Security.AccessControl.DirectoryObjectSecurity.AddAccessRule(ObjectAccessRule rule)
   at Microsoft.Exchange.Management.Tasks.DirectoryCommon.ApplyAcesOnAcl(TaskVerboseLoggingDelegate verboseLogger, TaskWarningLoggingDelegate warningLogger, ErrorLoggerDelegate errorLogger, String objectIdentityString, ActiveDirectorySecurity acl, Boolean remove, ActiveDirectoryAccessRule[] aces)
   at Microsoft.Exchange.Management.Tasks.DirectoryCommon.ApplyAcesOnSd(TaskVerboseLoggingDelegate verboseLogger, TaskWarningLoggingDelegate warningLogger, ErrorLoggerDelegate errorLogger, ADObjectId id, RawSecurityDescriptor rsd, Boolean remove, ActiveDirectoryAccessRule[] aces)
   at Microsoft.Exchange.Management.Tasks.DirectoryCommon.SetAces(TaskVerboseLoggingDelegate verboseLogger, TaskWarningLoggingDelegate warningLogger, ErrorLoggerDelegate errorLogger, ADObject obj, Boolean remove, ActiveDirectoryAccessRule[] aces)
   at Microsoft.Exchange.Management.Tasks.InitializeDomainPermissions.InternalProcessRecord()
   at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
   at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)
   at Microsoft.Exchange.Configuration.Tasks.Task.ProcessTaskStage(TaskStage taskStage, Action initFunc, Action mainFunc, Action completeFunc)
   at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()".

Please Help!

Migration stuck in "Syncing" status

$
0
0

I'm in the process of migrating from E2013 to E2016. I've tried to start my mailbox moves, but any user I migrate just stays in a "syncing" state. I've left batches running for days and it never changes. The users are only test accounts, so there really is almost no data. I am also only doing 1 user at a time until it is successful.

On the E2016 event log, it shows the migration cmdlet was started successfully. No other events after that. On the E2013, no messages there either.

Running the Get-MoveRequest -BatchName "Pilot" | Get-MoveRequestStatistics cmdlet yields nothing. It just returns to a prompt with no output.

I've had to kill the batches forcefully as deleting them also just hangs in a state of deleting.

I've tried restarting a Mailbox Replication as others have suggested and that doesn't do anything either.

Any ideas?

unable to add additional Exchange 2013 CU23 server

$
0
0

Hello everyone

I am facing an error in my company we have two exchange servers that were configured with DAG, recently one the servers went down I tried to recover it many times using the m switch but I couldn't. I decided to delete the lost server using adsiedit and it worked now the server does not appear in the list of exchange servers. I prepared a server and joined it to domain and installed all the updates and prerequisites. but when I tried to install exchange server I received the folowing error: 

Error:
The following error was generated when "$error.Clear();
          $name = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxUniqueName;
          $dispname = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxDisplayName;
          $dismbx = get-mailbox -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1;
          if( $dismbx -ne $null)
          {
          $srvname = $dismbx.ServerName;
          if( $dismbx.Database -ne $null -and $RoleFqdnOrName -like "$srvname.*" )
          {
          Write-ExchangeSetupLog -info "Setup DiscoverySearchMailbox Permission.";
          $mountedMdb = get-mailboxdatabase $dismbx.Database -status | where { $_.Mounted -eq $true };
          if( $mountedMdb -eq $null )
          {
          Write-ExchangeSetupLog -info "Mounting database before stamp DiscoverySearchMailbox Permission...";
          mount-database $dismbx.Database;
          }

          $mountedMdb = get-mailboxdatabase $dismbx.Database -status | where { $_.Mounted -eq $true };
          if( $mountedMdb -ne $null )
          {
          $dmRoleGroupGuid = [Microsoft.Exchange.Data.Directory.Management.RoleGroup]::DiscoveryManagement_InitInfo.WellKnownGuid;
          $dmRoleGroup = Get-RoleGroup -Identity $dmRoleGroupGuid -DomainController $RoleDomainController -ErrorAction:SilentlyContinue;
          if( $dmRoleGroup -ne $null )
          {
            trap [Exception]
            {
              Add-MailboxPermission $dismbx -User $dmRoleGroup.Name -AccessRights FullAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue;
              continue;
            }
            
            Add-MailboxPermission $dismbx -User $dmRoleGroup.Identity -AccessRights FullAccess -DomainController $RoleDomainController -WarningAction SilentlyContinue;
          }
          }
          }
          }
        " was run: "System.InvalidOperationException: Failed to mount database "DB1onEX1". Error: An Active Manager operation failed. Error: The Microsoft Exchange Replication service may not be running on server EX2.mycompany.local. Specific RPC error message: Error 0x6ba (The RPC server is unavailable) from cli_MountDatabase3 ---> Microsoft.Exchange.Data.Storage.AmReplayServiceDownException: An Active Manager operation failed. Error: The Microsoft Exchange Replication service may not be running on server EX2.mycompany.local. Specific RPC error message: Error 0x6ba (The RPC server is unavailable) from cli_MountDatabase3 ---> Microsoft.Exchange.Rpc.ServerUnavailableException: Error 0x6ba (The RPC server is unavailable) from cli_MountDatabase3
   at Microsoft.Exchange.Rpc.RpcClientBase.ThrowRpcException(Int32 rpcStatus, String routineName)
   at Microsoft.Exchange.Rpc.ActiveManager.AmRpcClient.MountDatabase3(Guid guid, Int32 storeFlags, Int32 amFlags, Int32 mountDialoverride)
   at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.<>c__DisplayClass1.<MountDatabase>b__0(AmRpcClient rpcClient, String rpcServerName)
   at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.<>c__DisplayClass50.<RunDatabaseRpcWithReferral>b__4d()
   at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.ClientRetryableOperation(String serverName, RpcClientOperation rpcOperation)
   --- End of inner exception stack trace ---
   at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.ClientHandleRpcException(RpcException ex, String serverName)
   at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.ClientRetryableOperation(String serverName, RpcClientOperation rpcOperation)
   at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.RunDatabaseRpcWithReferral(AmRpcOperationHint rpcOperationHint, IADDatabase database, String targetServer, InternalRpcOperation rpcOperation)
   at Microsoft.Exchange.Management.SystemConfigurationTasks.MountDatabase.RequestMount(MountFlags storeMountFlags)
   at Microsoft.Exchange.Management.SystemConfigurationTasks.MountDatabase.InternalProcessRecord()
   --- End of inner exception stack trace ---
   at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
   at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target)
   at Microsoft.Exchange.Management.SystemConfigurationTasks.MountDatabase.InternalProcessRecord()
   at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
   at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".

I checked the services on ex2 they are working properly and I can send and receive emails using it without any problems.

any help or guidance will be appreciated


Exchange 2013 CU8 migrated room mailboxes do not show up in ECP

$
0
0

Hi,

I migrated a bunch of mailboxes cross forest from a 2007 exchange server to a freshly installed 2013 CU8 server (new forest/domain).

Things seem to be ok, there is one odd thing though - The room mailboxes I migrated do not show in the administration panel.

Get-Mailbox lists them and they show up on OWA, too.

Any idea?

Thank you


Migration from Exchange 2010 to 2013 total control mailbox unavailaible

$
0
0

Hi, 

We are in the middle of a migration from Exchange 2010 to 2013, and they are currently coexisting on the network. We are currently migrating mailbox in batch of 15-20 users and for the first 100 or so, everything was fine, but we encountered an issue and after a few days of troubleshooting, decided to ask for help. So here’s the issue :

Only some user cannot open total control mailbox. Every time the user open their Outlook for the first time, Outlook ask for their credentials for the additional mailbox, and in some cases, the credential windows won’t disappear. The user can send and receive message from his own account, but if the user wants to access the Full Access mailbox added through the EMC mailbox delegation, this message shows up : “Cannot expand the folder. The set of folders cannot be opened. Microsoft exchange is not available. Either there are network problems or the exchange computer is down for maintenance.” . The user can have access to the calendar and the contacts of the attached mailbox but the inbox is unavailable.

Here’s our configuration and what we’ve actually tried to solve this issue :

General configuration :

  • All Exchange 2013’s internal and external virtual directory are in the same format : https://ourserverfqdn/ExchangeDirectoryPathofTheVirtualDirectoryORServiceLikeCAS
  • Those addresses are different from Exchange 2010
  • We have Autodiscover DNS records for both of our Exchange server
  • DNS also have the server’s FQDN
  • Our users use Office Pro 2010 with the latest updates
  • All the mailbox transfers from one Database to the other are clear (no errors)

What we’ve tried up to this point :

  • Remove and add back the rights with the ECP
  • Tried to remove the access and add them back using PowerShell
  • Delete the Outlook profile and create a new one
  • Adding the Outlook account directly with the credential in the account parameters
  • Adding the Outlook account in the profile advanced settings
  • Uninstalling Office, then reinstalling it
  • Replacing the actual computer
    • This “solution” actually works, with exactly the same specs and Office Pro 2010 updated (only works sometime. All other times, we need to replace Office 2010 with Office 2013 on the new computer). But replacing every user computer with this issue is only a way to avoid the actual issue.
  • Uninstalling Office 2010 and go with Office 2013
    • This “solution” actually works as well (only sometimes. All other times we need to replace the computer itself), but we do not have enough licence to move every user to this version (due to an program we use, every user with access to it must be on the same Excel/Word/Outlook versions, or else it won’t work, which represents, well, all our users) and to avoid the issue once again.

So as of now, as a temporary measure, users with 1 or 2 Full Access mailbox, have access through the webpage, but some of them have multiple (over 5), and this temporary measure isn’t very effective.

Is there something we missed, or any configuration we could try to resolve this issue ?

Thanks

Supported AD OS Environment for Exchange 2013 SP1

$
0
0

Hi,

We are planning to upgrade our AD 2003 to AD 2019. But we would like to confirm if Exchange 2013 SP1 is compatible with Windows Server 2019 Active Directory?

Your response would be highly appreciated.

Thanks,

Issue: authentication scheme mismatch (EXO requires Negotiate / NTLM, on-premises gives us Basic only)

$
0
0

Hi guys,

So, i have deployed: 2 WAP (2016), 2 ADFS (2016), 2 SQL Clustering (2008R2) and 1 Azure AD Connect.

My hosted exchange servers:


After integrating my Hosted Exchange 2013 CU23 with Office 365 (Hybrid Configuration) with 1 tenant to test, in the final configuration tab, i'm receiving this error bellow:

<#

HCW8078 - Migration Endpoint could not be created.  

Microsoft.Exchange.Migration.MigrationServerConnectionFailedException
The connection to the server 'exchange.domainmail.com.br' could not be completed.

Microsoft.Exchange.MailboxReplicationService.MRSRemotePermanentException
The Mailbox Replication Service was unable to connect to the remote server using the credentials provided. Please check the credentials and try again. The call to 'https://exchange.domainmail.com.br/EWS/mrsproxy.svc' failed. Error details: The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'Basic realm="exchange.domainmail.com.br",Negotiate,NTLM'. --> The remote server returned an error: (401) Unauthorized. --> The logon attempt failed. --> The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'Basic realm="exchange.domainmail.com.br",Negotiate,NTLM'. --> The remote server returned an error: (401) Unauthorized. --> The logon attempt failed

Microsoft.Exchange.MailboxReplicationService.MRSRemotePermanentException
The call to 'https://exchange.domainmail.com.br/EWS/mrsproxy.svc' failed. Error details: The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'Basic realm="exchange.domainmail.com.br",Negotiate,NTLM'. --> The remote server returned an error: (401) Unauthorized. --> The logon attempt failed.

Microsoft.Exchange.MailboxReplicationService.MRSRemotePermanentException
The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'Basic realm="exchange.domainmail.com.br",Negotiate,NTLM'.

Microsoft.Exchange.MailboxReplicationService.MRSRemotePermanentException
The remote server returned an error: (401) Unauthorized.

Microsoft.Exchange.MailboxReplicationService.MRSRemotePermanentException
The logon attempt failed


#>

Boths credentials is ok in both sides. I have validated the two credentials in my on-premisses and Office 365 for Admin Tenant.

More details:

The problem must be here in this message, but i don't know how to resolve this problem.

The call to 'https://exchange.domainmail.com.br/EWS/mrsproxy.svc' failed. Error details: The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'Basic realm="exchange.domainmail.com.br",Negotiate,NTLM'. --> The remote server returned an error: (401) Unauthorized. --> The logon attempt failed.

But i look in my CAS and look like fine.

Other information.: My environment has SSLOffloading / Reverse Proxy Configured in Load Balance.

My EWS Configuration:

EWS is fine externally.

I was searching anything in this folder logs, but i don't know why this bad requests:

C:\Windows\System32\LogFiles\HTTPERR

2020-02-06 19:53:32 10.10.11.xx 61649 10.10.11.xx 444 HTTP/1.1 RPC_IN_DATA /rpc/rpcproxy.dll?exmbx01.prod.domain.local:6002 400 2 BadRequest MSExchangeRpcProxyAppPool

2020-02-06 19:54:11 10.100.11.xx 61649 10.100.11.xx 444 HTTP/1.1 RPC_IN_DATA /rpc/rpcproxy.dll?exmbx01.prod.domain.local:6002 400 2 Connection_Dropped MSExchangeRpcProxyAppPool

Sources.: https://techcommunity.microsoft.com/t5/exchange-team-blog/troubleshooting-hybrid-migration-endpoints-in-classic-and-modern/ba-p/953006

https://docs.microsoft.com/pt-br/archive/blogs/exovoice/troubleshooting-issues-where-the-migration-endpoint-cannot-be-created-in-hybrid-scenarios

https://docs.microsoft.com/pt-br/archive/blogs/exovoice/troubleshooting-issues-where-the-migration-endpoint-cannot-be-created-in-hybrid-scenarios

https://support.microsoft.com/en-us/help/943891/the-http-status-code-in-iis-7-0-iis-7-5-and-iis-8-0

So guys, any idea about this problem?!


Thanks anyway!




Powershell Script to Remove Secondary Addresses for Particular Domain

$
0
0

I'm trying to remove all ProxySmtp addresses for domain xyz.com in our organization.  This is not the primary SMTP address, and it is no longer an accepted domain.  

Basically I want a search of all mailboxes which have an address in the domain to be removed, then remove the addresses for that domain.  I am able to search and get results for each mailbox with an address in that domain, but when any script runs the portion to (allegedly) remove that address it does not work.  The address is still present on each mailbox.

Does anyone have a script that they have tested and can verify that it works?  The ones I've tried are all variations of this:

Get-Mailbox-result unlimited |foreach{for($i=0;$i -lt $_.EmailAddresses.Count; $i++){
        $address = $_.EmailAddresses[$i]if($address.IsPrimaryAddress-eq $false -and $address.SmtpAddress-like "*xyz.com"){
            $_.EmailAddresses.RemoveAt($i)
            $i--}}Set-Mailbox-Identity $_.Identity-EmailAddresses $_.EmailAddresses}

I first ran this with -ResultSize set to 1 (just to ensure it would work before I let it crawl every mailbox) and no luck.

I have also tried:

$adresses_dyndns =get-mailbox -ResultSize1|where{$_.EmailAddresses-like "*xyz.com*"}foreach($EmailAddress in $adresses_dyndns){for($i=$EmailAddress.EmailAddresses.Count;$i -ge 0; $i–-){

            $address = $EmailAddress.EmailAddresses[$i]if($address.SmtpAddress-like "*xyz.com*"){Write-host(" Remove smtp adress:  "+ $address.AddressString.ToString())

                  $EmailAddress.EmailAddresses.RemoveAt($i)}}

            $EmailAddress|Set-Mailbox}

Same non-result. 

Is there a reason that Exchange would refuse to remove addresses with the domain specified?

Viewing all 7008 articles
Browse latest View live


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