active connections for liscence
if statement in Array values of ActiveSyncAllowedDeviceIDs
Get-CASMailbox JLEE -ResultSize "Unlimited" if (@{Name=’ActiveSyncAllowedDeviceIDs’;Expression={[string]::join(";", ($_.ActiveSyncAllowedDeviceIDs))}} -ne $null) { write-output @{Name=’ActiveSyncAllowedDeviceIDs’;Expression={[string]::join(";", ($_.ActiveSyncAllowedDeviceIDs))}} }
Write-output come wrong please see below. Can someone give the correct syntex please
Name='ActiveSyncAllowedDeviceIDs';Expression={[string]::join(";", ($_.ActiveSyncAllowedDeviceIDs))}
public folders migration from exchange 2003 to 2010 - specific issue
Mailbox size difference
I've read through a lot of posts that are similar to this, but still have not found the answer. Hopefully, I'm not wasting anyone's time by reposting.
I moved my mailbox from an Exchange 2010 server to an Exchange 2007 server and when I did so, I began getting notices that my mailbox had reached the warning limit. After spending much time on this, I have the following information:
When looking at the size in Outlook (2010), it shows my mailbox to be around 600MB.
When looking at the size in EMC (and in the shell via -totalitemsize), it shows it to be close to 900MB.
When I move it back to the 2010 box, EMC shows the size to be the same as what Outlook sees (around 600MB). Moving it back to the 2007 box and it's back to the inconsistant size.
I do not have caching enabled, but I did try enabling it and then disabling it to see if that made a difference, which it did not. Some things I noticed when I did this: When cached, my local copy was the same size as I was previously seeing in EMC (close to 900MB). Looking at the different folders, they had the same emails, but emails in the local copy took up more space than the server copy. This appears to be WHERE the space is being used, I'm just not sure why.
Maintenance is running every night, but it appears the maintenance for my database is interrupted by maintenance from another databse, so I will be changing the schedules to give mine more time to complete. I'm not sure if that will resolve the problem or not.
Aside from the 2010 servers, I have no other user databases to try moving my mailbox to (I have seen that as a common response).
This appears to be happening with a couple of mailboxes including my own.
What am I missing?
Chris
Outlook 2010 Exchange Server pop-up box keeps popping up
Delivery Notification only going to one Manager of group even though there are multiple specified..
We have a distribution group that is setup with three managers and set to send delivery reports to group manager. When a delivery failure occurs the delivery report is only being sent to one of the managers.
Bug?
Jason Meyer
Re-Syn Outlook folder back to Exchange 2010
Last week we had to do a full restore of our Exchange 2010 server using Windows Server Backup. Unfortunately the backup did not have a current backup of Applications (Exchange or SharePoint), which is a whole other issue. This restore was on Jan. 17th and the most current backup that contained Exchange was Jan 6th. Needless to say we lost about 2 weeks of email on the server. However those emails did stay on all our in-house users PC's in their Outlook 2010.
My question is, how can I move those cached emails from their Outlook folder back over to the server? Some people do use OWA and it would be great if they could see those emails saved in Outlook.
the ldap server is unavailable
hi
i'm installed Exchange 2010 on my servers like this step :
install mailbox and hub roll on a windows 2008 r2 that join to my active directory and install edge on a windows 2008 r2 tht remain in workgroup section
I created Subscription file from edge server and sub scripted hub server to edge server
but when in type start-edgesynchronization in exchange shell part i receive this error :
the ldap server is unavailable
what must i do ?
t turn off all firewall and this error steel remain .
Exchange 2010 unable to access EMC or EMS
Log Name: Microsoft-Windows-PowerShell/Operational
Source: Microsoft-Windows-PowerShell
Date: 1/8/2010 3:22:29 PM
Event ID: 32784
Task Category: None
Level: Error
Keywords: PowerShell remoting transport
User: domain\user
Computer: exchsvr.***.local
Description:
Runspace Id: 2801cb15-e2f9-4049-9d32-5a26ad67f49a Pipeline Id: 00000000-0000-0000-0000-000000000000. WSMan reported an error with error code: -2144108120.
Error message: Connecting to remote server failed with the following error message : The WS-Management service cannot process the request. The system load quota of 1000 requests per 2 seconds has been exceeded. Send future requests at a slower rate or raise the system quota. The next request from this user will not be approved for at least 1795919616 milliseconds. For more information, see the about_Remote_Troubleshooting Help topic.
StackTrace: <null>
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-PowerShell" Guid="{A0C1853B-5C40-4B15-8766-3CF1C58F985A}" />
<EventID>32784</EventID>
<Version>1</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>10</Opcode>
<Keywords>0x8000000000000008</Keywords>
<TimeCreated SystemTime="2010-01-08T20:22:29.460074600Z" />
<EventRecordID>8064</EventRecordID>
<Correlation ActivityID="{00000100-0000-0001-44C0-65C29E79CA01}" />
<Execution ProcessID="7832" ThreadID="6488" />
<Channel>Microsoft-Windows-PowerShell/Operational</Channel>
<Computer>exchsvr.***.local</Computer>
<Security UserID="S-1-5-21-74992946-2007069462-960320790-2193" />
</System>
<EventData>
<Data Name="SessionId">2801cb15-e2f9-4049-9d32-5a26ad67f49a</Data>
<Data Name="PipelineId">00000000-0000-0000-0000-000000000000</Data>
<Data Name="ErrorCode">-2144108120</Data>
<Data Name="ErrorMessage">Connecting to remote server failed with the following error message : The WS-Management service cannot process the request. The system load quota of 1000 requests per 2 seconds has been exceeded. Send future requests at a slower rate or raise the system quota. The next request from this user will not be approved for at least 1795919616 milliseconds. For more information, see the about_Remote_Troubleshooting Help topic.</Data>
<Data Name="StackTrace"><null></Data>
</EventData>
</Event>
Outlook Clients Loose Connectivity after DAG Server Switchover.
I have an Exchange Org that spans the globe with mulitple CAS-Arrays and 2 DAG's with (mailbox) server members spanning 2 different AD sites in each Region. Here's a brief summary of my architecture and problem
- 2 Global Regions, we'll call it "Reagion A" and "Region B". Each Region contains 2 CAS Arrays and each CAS Array resides in a different AD site within that Region (as expected as a CAS Array cannot span multiple AD Sites). For the purpose of this thread and issue, I'm only concerned with Region A. I believe Region B is working correctly.
- Multiple Exchange 2010 SP2 Standard CAS servers located at 2 different AD Sites (within Region A). We'll call it "AD Site A" and "AD Site B"
- Multiple Exchange 2010 SP2 Standard Hub Servers located at 2 different AD Sites (within Region A).
- Multiple Exchange 2010 SP2 Enterprise Mailbox servers located at 2 different AD Sites (within Region A) "AD Site A" and "AD Site B" and that are members of a DAG. We'll call it "DAG Region A"
Issue:
Currently all mailbox databases are mounted on "AD Site B" mailbox servers and all users at"AD Site A" and "AD Site B" are connecting to their mail fine through Outlook. Mailbox Database copies reside on Mailbox servers located at "AD Site A" and all database copies are reporting Healthy. Users at "AD Site A" connect to the CAS-Array (RPCClientAccessServer) at "AD Site B". Here's the problem. When we switch the databases over to the mailbox servers located in "AD Site A", no one can access their email. Email is essentially down. Once we switch back the mailbox databases so that they are mounted on Mbox servers at "AD Site B", mail is back up. I ran "Get-DatabaseAvailabilityGroup -status | fl" and eveything seems good here. If I look at the "Failover Cluster Manager" (Server 2008R2) on the Mailbox Server hosting the currently mounted databases, it shows"The cluster network name is not online". All of the nodes of the cluster are reported "UP". Querying the "Failover Cluster Manager" for Events from the past week shows the following:
"Cluster IP address resource 'Cluster IP Address' cannot be brought online because the cluster network 'Cluster Network 1' is not configured to allow client access. Please use the Failover Cluster Manager snap-in to check the configured properties of the cluster network."
As well, I'm curious as to why users at "AD Site A" are connecting to the CAS-Array located at "AD Site B". I'm assuming this is coming from the "RpcClientAccessServer" setting on the datbase, correct? When I run "Get-MailboxDatabase | fl" I see the "RpcClientAccessServer" setting is set to the CAS-Array located in "AD Site B". If this is the case, what's the advantage to have mulitple CAS-Array's in an Exchange Orgainization?
Migrating Public Folders from 2003 to 2010 using Movereplicas script (Multiple runs?)
Error while installing Exchange server
When Installing I got the following error:
Hub Transport Role
Failed
Error:
The following error was generated when "$error.Clear();
set-ExchangeServerRole -Identity $RoleFqdnOrName -IsHubTransportServer:$true -DomainController $RoleDomainController
" was run: "The domain is invalid. Property Name: Domain".
The domain is invalid. Property Name: Domain
Renew a non-SelfSigned certificate
Prior to Exchange 2010 I always used self-signed certs. When they were about to expire I would run the commands below to renew them and remove the old cert.
Get-ExchangeCertificate [OLD THUMBPRINT] | New-ExchangeCertificate -Services IMAP, POP, IIS
Enable-ExchangeCertificate [NEW THUMBPRINT] -Services IMAP, POP, IIS
Remove-ExchangeCertificate [old Thumbprint]
Will the procedure still be the same? Sorry if this is a simple questions to some. I know enough about cert's to be dangerous.
Thanks
********** Below is from my current 2010 CAS **********
[PS] C:\Windows\system32>Get-ExchangeCertificate | fl
AccessRules : {System.Security.AccessControl.CryptoKeyAccessRule, System.Security.AccessControl.CryptoKeyAccessR
ule, System.Security.AccessControl.CryptoKeyAccessRule}
CertificateDomains : {snowwhite.MyDomain.com, autodiscover.MyDomain.com, sleepy.MyDomain.com, sneezy.MyDomain.com, jupi
ter.MyDomain.com, neptune.MyDomain.com, mercury.MyDomain.com}
HasPrivateKey : True
IsSelfSigned : False
Issuer : CN=MyDomain-CUTLER-CA, DC=MyDomain, DC=com
NotAfter : 6/3/2013 7:44:05 PM
NotBefore : 6/4/2011 7:44:05 PM
PublicKeySize : 2048
RootCAType : Enterprise
SerialNumber : 2614DDCF00000000001A
Services : IMAP, POP, IIS
Status : Valid
Subject : CN=snowwhite.MyDomain.com, OU=IT, O=DM, L=City, S=II, C=US
Thumbprint : A144C957A506927A2629918D08F68D4FB185D5B0
"Your organization's policy does not allow you to share with this recipient." When trying to share calendar within our Org
Hi,
Wondering if this is a bug - we have serveral different accepted domains, and our users within our org might have different primary SMTP domains - some @nwtraders.com and some @contoso.com - as examples.
We had a user today report an issue where they were trying to use the 'share calendar' button in Outlook 2010 and then typed in the SMTP address of someone in our org in the field of whom to share with, but that address had a different SMTP domain than the user's (but still in our org). When she tried to send the sharing request she received a popup stating:
Calendar sharing is not available with the following entries because of permission settings on your network:
<intended smtp address>: Your organization's policy does not allow you to share with this recipient.
I thought it might be related to freeform typing in the address - if I hand type out the address with a valid SMTP address within the same SMTP domain, and press send it works.
If I use the address picker, and pick the intended sharing recipient (who's has an SMTP domain that is different that the senders), it works fine. It only seems to have an issue when you manually type out the address and it's not in the same SMTP domain
as you....
Could this 'problem' be masked with setting up Sharing policy between all of our authoritative domains?
Thanks
More Questions on Rules in General
Okay so here is my
situation. I have a user that is wanting to use either Public folders
or a shared mailbox to automate a series of manual processes.
For example:
- A customer service rep(CSR) takes a call asking for x to be completed.
- CSR than sends an email to xy@xy.com[1]with the subject of "x"
- The email is received in the mailbox or public folder.
- An exchange rule moves the incoming message to the "In-Process" Folder
- A user in that department reviews and completes the request.
- The user moves the item to a complete folder. Or selects a category
that would than fire another rule that would move it to complete.
This process would be spanning multiple users.
They would also be used for multiple processes and changed for the "subject of x,y,z".
The process cannot be dependent on one users mailbox so everything needs to happen server-side (unless client side rules are different on Public Folders).
My questions:
- Is all of this even possible, I have made it basically work but only with client rules.
- I don't think that we should be using our exchange server to do this, am I just flat out wrong?
- I am struggling to convince the user that we just need to have a
workflow software (sharepoint or like it) to be doing this type of thing
as we will have much more control over the workflow. - Any other thoughts or ideas?
- Anyone else using exchange to do these types of things?
ADAM Service cannot be started on edge server - cannot uninstall the role and ...
Hi,
after a storage failure, some files seemed to be damaged on exchange 2010 edge server
it said it could not connect to DC and i realized that is because ADAM service stopped
I tried to start it but encountered a weird error (0xc000000) some thing like that
so i found that adamntds.dit is corrupted
I issued this :
C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\data\Adam>eseutil /p adamntds.dit
it said integrity check ok but after that again ADAM does not start and says
this service started and the stopped ... (the famous message we all know)
1- now is there any way to fix it?
2- is it reasonable to use the other edge server database file on this one (we have two edge servers) or it is non-sense
3- according to this
http://social.technet.microsoft.com/Forums/exchange/en-US/93ed667c-5a37-404c-9471-d2525621a371/adam-service-wont-start-on-edge-transport?forum=exchange2010
and the advice of Ed my dear friend on Technet, itmay be better to reinstall it
but it does not even let me to uninstall it and says :
Summary: 2 item(s). 1 succeeded, 1 failed.
Elapsed time: 00:02:58
Configuring Prerequisites
Completed
Elapsed Time: 00:00:41
Edge Transport Role Prerequisites
Failed
Error:
The Active Directory Application Mode (ADAM) service must be started before Setup can continue.
Click here for help... http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.3.123.3&e=ms.exch.err.Ex28883C&l=0&cl=cp
so somebody please tell MS guys if i could start it why should i uninstall it :P
and i do not want to use manual methods to do the removal if possible
and much better if i can fix it without even uninstall exchange
thanks to all
there are 2 CAS servers running win exchange 2010 sp2,both are in NLB, Now CAS 1 is working fine & While connecting CAS2 to NLB the above mentioned Log is comming & OWA page is loading very slowly & after login to webmail unable to open mails.
there are 2 CAS servers running win exchange 2010 sp2,both are in NLB, Now CAS 1 is working fine & While connecting CAS2 to NLB the below mentioned Log is comming & OWA page is loading very slowly & after login to webmail unable to open mails.
An exception was thrown while attempting to load the IM provider .dll file.
File: E:\Microsoft\Exchange Server\V14\ClientAccess\OWA\bin\Microsoft.Rtc.UCWeb.dll
Failed to listen on any address and port supplied.
event id 87
Upgrade From Exchange 2010 SP1 to SP3 - Schema Upgrade Question
Hello,
We're currently running Exchange 2010 SP1 in our environment and want to upgrade to SP3. I just had a couple of questions related to preparing AD for this new SP that I was hoping that someone could answer.
Setup
- We have a single forest with two domains within it (A and B for example). The schema master is in Domain A but this domain doesn't contain any Exchange 2010 servers. Domain B contains our 2010 CAS and Mailbox servers.
- Both domains have Windows 2003 SP2 domain controllers.
I understand that before I proceed with the upgrade to SP3, I first need to update the AD schema on our schema master. I was planning on doing the following :
- Log onto an existing Windows 2008 R2 64 bit "member" server in domain A (containing the schema master) with an account which is a member of the Schema Admins and Enterprise Admins groups.
- Run SETUP.EXE /PrepareAD.
Do I need to also run SETUP.EXE /PrepareDomain on domain A as well or does the /PrepareAD sort this out ?
I was then going to turn my attention to domain B (which contains the 2010 CAS and Mailbox servers) and do the following :
- Log onto an existing Windows 2008 R2 64 bit 2010 Mailbox server with an account which is a member of the Domain Admins and Enterprise Admins groups.
- Run SETUP.EXE /PrepareDomain
Is this the correct procedure to follow ? I assume that I can then go ahead and start to upgrade the Exchange 2010 SP1 servers in the following sequence :
CAS\HUB Server(s)
Mailbox Server(s).
Clarification on the AD upgrade steps would be appreciated.
Thanks
Mark
Exchange 2010 install Failure "an Item with the same key has already been added"
I am trying to add an exchange 2010 server, I am only adding the mailbox role, it is in the same site, as the rest of my exchange environment, it does contain a GC. EXPDA runs with no errors.
When it gets to installing the mailbox role, it ends up failing with "An item with the same key has already been added"
Any advice would be appreciated,
Thanks,
Please see below for full error.
Summary: 9 item(s). 7 succeeded, 1 failed.Elapsed time: 00:04:19
Preparing Setup
Completed
Elapsed Time: 00:00:00
Stopping Services
Completed
Elapsed Time: 00:00:01
Copy Exchange Files
Completed
Elapsed Time: 00:00:13
Language Files
Completed
Elapsed Time: 00:01:17
Restoring services
Completed
Elapsed Time: 00:00:00
Languages
Completed
Elapsed Time: 00:00:04
Management Tools
Completed
Elapsed Time: 00:00:09
Mailbox Role
Failed
Error:
The following error was generated when "$error.Clear();
$random = new-object System.Random;
$ExcludeMdbAtCreation = $false;
if (($RoleDatacenterExcludeDefaultMailboxDatabase -eq $null) -and ($RoleIsDatacenter -eq $true))
{
write-exchangesetuplog -error "Parameter ExcludeDefaultMailboxDatabase should be defined on the DatacenterConfig file."
}
else
{
if ($RoleDatacenterExcludeDefaultMailboxDatabase -ne $null)
{
$ExcludeMdbAtCreation = $RoleDatacenterExcludeDefaultMailboxDatabase;
}
for ($i = 0; $i -lt 3; $i++)
{
if (-not $RoleMdbName)
{
$NameCandidate = $RoleMailboxDatabaseName + " " + $random.Next().ToString("0000000000");
}
else
{
$NameCandidate = $RoleMdbName;
}
if ($NameCandidate.Length -gt 64 )
{
$NameCandidate = $NameCandidate.Substring(0, 64);
}
$mbxmdb = new-mailboxdatabase -Name $NameCandidate -Server:$RoleFqdnOrName -DomainController:$RoleDomainController -ErrorAction:SilentlyContinue -EdbFilePath:$RoleDbFilePath -LogFolderPath:$RoleLogFolderPath -IsExcludedFromProvisioning:$ExcludeMdbAtCreation;
if ($mbxmdb -ne $null)
{
break;
}
}
}
" was run: "An item with the same key has already been added.".
An item with the same key has already been added.
Click here for help... http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.3.123.3&e=ms.exch.err.Ex88D115&l=0&cl=cp
Error:
The following error was generated when "$error.Clear();
$random = new-object System.Random;
$ExcludeMdbAtCreation = $false;
if (($RoleDatacenterExcludeDefaultMailboxDatabase -eq $null) -and ($RoleIsDatacenter -eq $true))
{
write-exchangesetuplog -error "Parameter ExcludeDefaultMailboxDatabase should be defined on the DatacenterConfig file."
}
else
{
if ($RoleDatacenterExcludeDefaultMailboxDatabase -ne $null)
{
$ExcludeMdbAtCreation = $RoleDatacenterExcludeDefaultMailboxDatabase;
}
for ($i = 0; $i -lt 3; $i++)
{
if (-not $RoleMdbName)
{
$NameCandidate = $RoleMailboxDatabaseName + " " + $random.Next().ToString("0000000000");
}
else
{
$NameCandidate = $RoleMdbName;
}
if ($NameCandidate.Length -gt 64 )
{
$NameCandidate = $NameCandidate.Substring(0, 64);
}
$mbxmdb = new-mailboxdatabase -Name $NameCandidate -Server:$RoleFqdnOrName -DomainController:$RoleDomainController -ErrorAction:SilentlyContinue -EdbFilePath:$RoleDbFilePath -LogFolderPath:$RoleLogFolderPath -IsExcludedFromProvisioning:$ExcludeMdbAtCreation;
if ($mbxmdb -ne $null)
{
break;
}
}
}
" was run: "An item with the same key has already been added.".
An item with the same key has already been added.
Click here for help... http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.3.123.3&e=ms.exch.err.Ex88D115&l=0&cl=cp
Error:
The following error was generated when "$error.Clear();
$random = new-object System.Random;
$ExcludeMdbAtCreation = $false;
if (($RoleDatacenterExcludeDefaultMailboxDatabase -eq $null) -and ($RoleIsDatacenter -eq $true))
{
write-exchangesetuplog -error "Parameter ExcludeDefaultMailboxDatabase should be defined on the DatacenterConfig file."
}
else
{
if ($RoleDatacenterExcludeDefaultMailboxDatabase -ne $null)
{
$ExcludeMdbAtCreation = $RoleDatacenterExcludeDefaultMailboxDatabase;
}
for ($i = 0; $i -lt 3; $i++)
{
if (-not $RoleMdbName)
{
$NameCandidate = $RoleMailboxDatabaseName + " " + $random.Next().ToString("0000000000");
}
else
{
$NameCandidate = $RoleMdbName;
}
if ($NameCandidate.Length -gt 64 )
{
$NameCandidate = $NameCandidate.Substring(0, 64);
}
$mbxmdb = new-mailboxdatabase -Name $NameCandidate -Server:$RoleFqdnOrName -DomainController:$RoleDomainController -ErrorAction:SilentlyContinue -EdbFilePath:$RoleDbFilePath -LogFolderPath:$RoleLogFolderPath -IsExcludedFromProvisioning:$ExcludeMdbAtCreation;
if ($mbxmdb -ne $null)
{
break;
}
}
}
" was run: "An item with the same key has already been added.".
An item with the same key has already been added.
Click here for help... http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.3.123.3&e=ms.exch.err.Ex88D115&l=0&cl=cp
Elapsed Time: 00:02:33
Finalizing Setup
Cancelled
Exchange 2010 Free/Busy Federation with vendor's Office 365 tenant
Here the situation,
ORG A
====
Exchange 2010 SP3 On-premise. No externally accessible CAS available/published (we are very secure and require VPN for Outlook/OWA from home/outside network)
ORG B
====
Office 365
ASK
===
ORG B is a vendor for ORG A and we would like to have federated free/busy sharing between the two organizations. I have read the steps about setting up a federation trust, configuring org relationships both ways, configuring autodiscover on our end.
My specific questions are,
1. Currently we don't have any externally published CAS servers. My assumption is we need atleast one (and probably more for fault tolerance) for federated free/busy sharing correct? We obviously don't want to place this in the DMZ/externally...so what are the recommended configuration? Publish the CAS externally? Any other more secure recommendations? We don't have TMG or any other Microsoft solution for that purpose...are there any other options? We use Cisco IronPorts for inbound/outbound email.
2. Does this coexistence server have to be Exchange 2013 or will Exchange 2010 sp3 suffice?
3. Are there any other methods of accomplishing this ask? We don't want users to have to individually share calendars...so internet calendar sharing is out of the question.