Exchange 2010 - New-Mailbox - A positional parameter cannot be found that accepts argument '-PrimarySmtpAddress'.
Hi,
I am currently writing a powershell script that utilizes the new-mailbox command of EMS to create a shared mailbox.
I am connecting to EMS via a remote PSSession object.
When I try and specify an alternative SMTP address via the -PrimarySmtpAddress paramater I get the error
" A positional parameter cannot be found that accepts argument '-PrimarySmtpAddress'.
I have confirmed that the version of Exchange 2010 installed on the server should have this parameter - Version 14.3 (Build 123.4)
An example command :-
New-Mailbox -Shared -Name "SharedMailbox_test" -Alias "testsharedmailbox" -DisplayName "SharedMailbox_test" -UserPrincipalName "[email protected]" -OrganizationalUnit "OU=Mailboxes,OU=Accounts,DC=domain,DC=com"
-Database "DB1" -PrimarySmtpAddress "[email protected]" -force
Has anyone else experienced this behavior?
Steve.
Just a good old boy, never meaning no harm
Hi Rich,
That was my initial thought too, so I triple-checked my command to see if it was a simple syntax error - it wasn't.
On further investigation I compared the list of parameters available in a DEV EMS session (on where I know the command works) against the one in PROD where the problem occurs. Both sessions are running the same version of EMS.
I ran the following to get a list of parameter names in both sessions :-
$a = gcm New-Mailbox
$a.Parameters.Keys | sort
Here's the results :-
DEV EMS (working)
Prod EMS (missing)
AccountDisabled
ActiveSyncMailboxPolicy
AddressBookPolicy
Alias
Alias
Arbitration
ArbitrationMailbox
Archive
ArchiveDatabase
ArchiveDomain
AsJob
AsJob
Confirm
Confirm
Database
Database
Debug
Debug
Discovery
DisplayName
DisplayName
DomainController
DomainController
Equipment
Equipment
ErrorAction
ErrorAction
ErrorVariable
ErrorVariable
FirstName
FirstName
Force
Force
ImmutableId
Initials
Initials
LastName
LastName
LinkedCredential
LinkedDomainController
LinkedMasterAccount
ManagedFolderMailboxPolicy
ManagedFolderMailboxPolicyAllowed
ModeratedBy
ModerationEnabled
Name
Name
Office
OrganizationalUnit
OrganizationalUnit
OutBuffer
OutBuffer
OutVariable
OutVariable
Password
Phone
PrimarySmtpAddress
RemoteArchive
RemotePowerShellEnabled
ResetPasswordOnNextLogon
ResetPasswordOnNextLogon
ResourceCapacity
RetentionPolicy
RoleAssignmentPolicy
Room
Room
SamAccountName
SamAccountName
SendModerationNotifications
Shared
Shared
SharingPolicy
ThrottlingPolicy
UserPrincipalName
UserPrincipalName
Verbose
Verbose
WarningAction
WarningAction
WarningVariable
WarningVariable
WhatIf
WhatIf
It might be a permissions-based issue, but I don't own either EMS session so can't test personally.
I will keep investigating and update here once I have some further information.
Regards,
Steve.
Just a good old boy, never meaning no harm
Similar Messages
-
Restore-SPSite : A positional parameter cannot be found that accepts argument '$null'.
At line:1 char:15
+ Restore-SPSite <<<< http://weekly-sn-cas.statoil.com/sites/ts-17067/ -Path C:\backup\ts-47438(1).bak
+ CategoryInfo : InvalidArgument: (:) [Restore-SPSite], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.SharePoint.PowerShell.SPCmdletRestoreSite
plz give me solution above this
ravi sharepointHello,
can you provide the command you execute?
Best regards, Christopher.
Blog |
Mail
Please remember to click "Mark As Answer" if a post solves your problem or
"Vote As Helpful" if it was useful.
Why mark as answer? -
Hi,
I run the following command:
PS C:\Users\Administrator> Set-PhysicalDisk -FriendlyName PhysicalDisk0 -MediaType SSD
Set-PhysicalDisk : A parameter cannot be found that matches parameter name 'MediaType'.
At line:1 char:46
+ Set-PhysicalDisk -FriendlyName PhysicalDisk0 -MediaType SSD
+ ~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Set-PhysicalDisk], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Set-PhysicalDisk
PS C:\Users\Administrator>
As you can see, it errors out, as if MediaType doesn't exist. Has something changed in this command?Hi,
As you said, it seems like MediaType is not supported as a parameter.
What's the OS version? It should be available in Windows Server 2012 R2, Windows 8.1 or PowerShell 4.0 installed.
In my Windows Server 2012 R2 it is supported.
Please provide the result of $PSVersionTable for comparing. Here is my version:
Name Value
PSVersion 4.0
WSManStackVersion 3.0
SerializationVersion 1.1.0.1
CLRVersion 4.0.30319.34014
BuildVersion 6.3.9600.17400
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0}
PSRemotingProtocolVersion 2.2
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Hello,
I can't seem to figure out what the problem is, but my new mailboxes cannot receive external email. The sender receives an NDR stating the following:
The error that the other server returned was: 550 550 No such user - psmtp (state 13).
Internally, the affected mailboxes can send and receive mail, and the mailboxes have no trouble sending mail out of the organization. I do not see an anti-spam solution installed on the exchange server, and I have confirmed that DNS resolved to the WAN IP
of this server.
Can anyone help me? The message tracker didn't appear to have recorded the NDR's that it sent, but it's possible I didn't view the logs correctly.
Thank you!
Paul
My environment contains two servers:
Server A: Domain Controller, Server 2008 R2, Exchange 2010 Standard
Server B: Domain Controller, Server 2008 R2On Wed, 30 May 2012 02:01:19 +0000, Relion Support Inc wrote:
>
>
>Hello,
>
>
>
>I can't seem to figure out what the problem is, but my new mailboxes cannot receive external email. The sender receives an NDR stating the following:
>
>The error that the other server returned was: 550 550 No such user - psmtp (state 13).
>
>
>
>Internally, the affected mailboxes can send and receive mail, and the mailboxes have no trouble sending mail out of the organization. I do not see an anti-spam solution installed on the exchange server, and I have confirmed that DNS resolved to the WAN
IP of this server.
>
>
>
>Can anyone help me? The message tracker didn't appear to have recorded the NDR's that it sent, but it's possible I didn't view the logs correctly.
Is your Exchange server exposed to the Internet or do you have some
3rd-party device that does spam filtering? If you have something out
in front of Exchange that only periodically refreshes its cache of
valid SMTP addresses from the AD then you need to adjust the refresh
rate.
That "550 No such user" isn't a status code that Exchange returned.
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP -
# THIS IS THE FIRST COMMAND THAT I RUN IN A SEPARATE .PS1 FILE. THIS SEEMS TO WORK FINE:
New-MailboxExportRequest JournalMailbox -FilePath '\\dfsdr.dc.pud\PowershellEmailArchive\Journal.pst'
# NEXT I AM TRYING TO CLEAN OUT EVERYTHING ELSE UP UNTIL 1-2 DAYS AGO BUT GETTING THIS ERROR:
[PS] C:\scripts>.\CleanOutOldMsg.ps1
Please adjust the date time. Make sure it is in the correct format.
+ CategoryInfo : InvalidArgument: (:) [], ParserException
+ FullyQualifiedErrorId : 44F6D37F
# HERE'S WHAT I'VE DONE:
$global:startDate = (Get-Date).AddDays(-31).ToString('MM/dd/yyy')
$global:endDate = (get-date).AddDays(-1).ToString('MM/dd/yyy')
# HAVE TRIE THIS DATE FORMAT TOO:
$endDate = (Get-Date).AddDays(-1).ToShortDateString()
$startDate = (Get-Date).AddDays(-31).ToShortDateString()
# AND ALSO THIS DATE FORMAT:
# $endDate = Get-Date -Day 2 "00:00:00"
# $startDate = $endDate.AddDays(-30)
# $endDate = $endDate.ToShortDateString()
# $startDate = $startDate.ToShortDateString()
# THIS COMMAND GIVES DATE ERRORS:
Search-Mailbox -Identity JournalMailbox -TargetFolder inbox -TargetMailbox jimk -SearchQuery "Received:'${startDate}'..'${endDate}'" -DeleteContent -Force
# THIS COMMAND GIVES DATE ERRORS TOO:
Get-Mailbox -Identity "JournalMailbox" | Search-Mailbox -SearchQuery "Received:'${startDate}'..'${endDate}'" -DeleteContent -Force
# THIS WORKS:
Search-Mailbox -Identity JournalMailbox -TargetFolder inbox -TargetMailbox jimk -SearchQuery "Received:02/07/2014..03/07/2014" -DeleteContent -Force
# I FOUND SOME OF THE INFORMATION HERE:
https://serverfault.com/questions/511610/how-can-i-move-exchange-items-to-a-pst-using-powershell
Thanks in advance! Jim
Sorry if I wasn't as clear as I could have been. I'm trying to clean out the Journal mailbox after exporting the messages to a .PST file. I've tried formatting the date different ways and when I check it the format seems OK. For some reason I'm
still getting the same error. I've tried this which was suggested and I received the same error listed above:
Search-Mailbox -Identity JournalMailbox -TargetFolder inbox -TargetMailbox jimk -SearchQuery "Received:'${$startDate}'..'${$endDate}'" -DeleteContent -Force
For some reason the -SearchQuery is not accepting the variable.
Thanks, JimThank You Yan Li! I ran commands both ways and still received errors. Here's the first command and the error message:
Search-Mailbox -Identity JournalMailbox -TargetFolder inbox -TargetMailbox jimk -SearchQuery "Received:"$startDate".."$endDate"" -DeleteContent -Force
Error:
[PS] C:\scripts>.\CleanOutOldMsg.ps1
A positional parameter cannot be found that accepts argument '02/10/2014..03/12/2014'.
+ CategoryInfo : InvalidArgument: (:) [Search-Mailbox], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Search-Mailbox
Here's the result of the following command which is formatted a bit different per your suggestion:
Search-Mailbox -Identity JournalMailbox -TargetFolder inbox -TargetMailbox jimk -searchQuery "Received:>$startDate and Recieved:< $enddate" -DeleteContent -Force
[PS] C:\scripts>.\CleanOutOldMsg.ps1
The property keyword isn't supported.
+ CategoryInfo : InvalidArgument: (:) [], ParserException
+ FullyQualifiedErrorId : 34A6B2A1
Would you happen to have any other suggestions? Thanks in advance! Jim -
Exchange 2010 resource mailbox double booking issue..
Hi,
I have moved the meeting room mailbox from exchange 2003 to 2010:
set-Mailbox -Identity:<resourcename> -Type:Room
but after that, the meeting room can be double booking in the same time.
I have tried folllowing command, but it's failded.
Set-CalendarProcessing -Identity <mailbox identity> -AllowConflicts:$false
Thanks.Hi Martina,
I appreciate this is an old post, however if you do pick up on this could you please advise on your statement from the above:
"Even if the room sends a Decline, as it should when a conflict is found, you will still see that meeting request in your own Calendar."
This is the exact behaviour happening at a customer of ours at the moment. However they don't want the meeting requests to appear/remain in the Calendar of the person trying to book the meeting room.
Do you know of a way to stop this behaviour?
Do you know if the meeting request is only populated in the Calendar of the user who tries to book an appointment in the resource calendar or does this appear in other perspective attendees Calendars?
Many Thanks,
Matt.
MEllis -
Weird issue with Exchange 2010 Room Mailboxes - allows multiple booking of the created meeting rooms
Hi,
we are facing weird issue with Exchange 2010 Room Mailboxes
it allows multiple booking of the created meeting rooms.Sometime we are not getting acceptance or declined mail but and we could see our meetings has been booked at slot.
for e.g.
User A booked room1 with weekly recurrence for time 4pm to 5pm., and User B made his booking other day,without realizing that user A meeting is exists.
Neither of user A nor user B got declined/rejected emails.
please sahre guidelines if anyone known to this issue.
Note - Allow Conflict booking is disabled already :) but still have issue
Thanks,
NPratikHi,
Just add more in this issue, following testing is done.
referring results and conclusion, you will get better view on issue
====================
Test Case - 1
User OnCloud/O365 - Pratik Nimbalkar
Email ID - [email protected]
( same as UPN)
Room Booking Scenario - Book Room for 6.30pm to 7.30pm slot
Results - Accepted
Room Booking Scenario for same slot- ReBook Room for 6.30pm to 7.30pm slot
Results - Declined
Conclusion = working fine
==================
Test Case - 2
User OnCloud/O365 - Testsm
Email ID - [email protected]
( different from UPN)
Room Booking Scenario - Rebook Room for 6.30pm to 7.30pm slot
Results - No Response from Room Mailbox neither Accepted nor Declined
But we can see as booked as "Tentative"
Room Booking Scenario for same slot- Rebook Room for 6.30pm to 7.30pm slot
Results -No Response from Room Mailbox neither Accepted nor Declined
But we can see as booked as "Tentative"
=========================
Conclusion = There is issue with booking room and not getting response while user is
@abc.my id.
======================
Note = for all other on premise users those are having @abc.co.in
and @abc.my it is working fine. Users are getting respective correct reply from room mailboxes.
This issue seems with only on cloud
@abc.my users -
Element at position 2 cannot be found
I have been beating my brains out trying to figure this out. If any of you have thoughts, I would love to hear them. I have a cflocation to redirect to PayPal as follows...
<cflocation url="https://www.paypal.com/cgi-bin/websrc?tax_cart=#WA_eCart_FormatNumber(WA_eCart_GetTax(whit cart), false, 2)#&no_note=0&no_shipping=1&return=http://xxxxxxxx.com/paypalsuccess.cfm&cmd=_cart&upload=1¤cy_code=USD&address_overrid e=0&firstname=#IIf(isDefined('session.firstname'),'session.firstname',DE(''))#&lastname=#I If(isDefined('session.lastname'),'session.lastname',DE(''))#&street1=#IIf(isDefined('sessi on.street1'),'session.street1',DE(''))#&street2=#IIf(isDefined('session.street2'),'session .street2',DE(''))#&city=#IIf(isDefined('session.city'),'session.city',DE(''))#&state_provi nce=#IIf(isDefined('session.state_province'),'session.state_province',DE(''))#&postcode=#I If(isDefined('session.postcode'),'session.postcode',DE(''))#&country=#IIf(isDefined('sessi on.country'),'session.country',DE(''))#&email=#IIf(isDefined('session.email'),'session.ema il',DE(''))#&phone=#IIf(isDefined('session.phone'),'session.phone',DE(''))#&ordernumber=#I If(isDefined('session.ordernumber'),'session.ordernumber',DE(''))#&handling_cart=#WA_eCart _FormatNumber(WA_eCart_GetShipping(whitcart)+WA_eCart_GetCharges(whitcart), false, 2)#&
<cfoutput>
<CFLOOP FROM='1' TO='#ArrayLen(session.whitcart_items)#' INDEX='i'>
<CFLOOP COLLECTION='#session.whitcart_items[i]#' ITEM='y'>
<CFIF StructKeyExists(session.whitcart_items[i], y)>
#y#=#session.whitcart_items[i][y]#&
</CFIF>
</CFLOOP>
</CFLOOP>
</cfoutput>
[email protected]" />
When I run this, it comes back with element at position 2 cannot be found. The probem is that my array only has one item in it. I dumped it to the screen and see this...
Price=0.01 TotalPrice=0.01 Name=The_Day_After_His_Birth.pdf Weight=0 Description=The Day After His Birth FullDetails=1 The_Day_After_His_Birth.pdf (2) ID=2 TotalWeight=0 Quantity=1
So I am struggling as to what is occurring.
Thoughts?Dan Bracuk wrote:
So in other words, it's a 1D array. That means this line will never work:
#y#=#session.whitcart_items[i][y]#
Well it should work as long as 'i' is an integer in the set of {1} and 'y' is a string in the set of {'Description','FullDetails','ID',etc}
I.E this hard coded example should work.
<cfoutput>Description = #session.whitcart_items[1]["Description"]#</cfoutput>
Thus, this should also work.
<cfset i = 1>
<cfset y = "Description">
<cfoutput>#y# = #session.whitchat_items[i][y]</cfoutput> -
Issue with Update Rollup 5 for Exchange 2010 SP3 - Mailboxes that were auto mapped not working
Below is my response in another thread but creating a new one in the hopes that someone has the same issue and a solution besides mine below.
Ever since we installed Update Rollup 5 for SP3 Exchange 2010 mailboxes that were auto mapped are not accessible. They all get the same error.
Cannot expand the folder. The set of folders cannot be opened. The attempt to log on to the Microsoft Exchange has failed.
What I have been doing is removing the users permission, then adding them back using the noautomap switch in Powershell. After doing that, the user manually adds the mailbox and all is well.
Just a note here, I suspect it may have something to do with the version of Outlook 2010. We are running an older version here. I think only SP1 with no other incremental updates. Office is up to SP2. Also, one of the users I was working with could not access
the mailbox no matter what we tried but she can walk over to another workstation and open Outlook and access the very same mailbox so that pretty much proves its software related particularly with Outlook.
I cannot reproduce the problem on a workstation (XP) with a newer version of Outlook.
This has been wearing me out and I suspected the Update Rollup all long. Now I am confident as others are having the same problem. If you find out anything on how to fix this other than the steps above, let me know.Not sure why it was suggested to use the auto mapping feature to grant permissions because that is the component that is causing the issue. Also, there is nothing wrong with the auto configuration because the user can access their own mailbox just fine and
also select mailboxes in their Outlook that were NOT auto mapped.
With that said, here is how I fixed them all.
Remove the permissions using the Exchange Console. Don't forget Send As
Wait about 15 minutes. The mailbox should disappear from the users Outlook
Open an Exchange PowerShell window and run the following command:
.\add-mailboxpermissionsnoautomap.ps1 -Identity mailbox -User user -AccessRights FullAccess
Have the user add the mailbox to their Outlook using the manual process.
All is well....
If you don't have the PS script add-mailboxpermissionsnoautomap.ps1, you can download it. I stumbled across it a few years ago and use it all the time. If you can't find it, just use the Exchange built in command for adding mailbox folder permissions but
specify automap $false.
The idea here is to grant the user access without auto mapping. -
Exchange 2010 database mailbox restore after restore server form disaster recovery
Hello ,
after my exchange server failed i am installed new server and recovered server
successfully, i have 4 database mailbox all this database dismount and users cannot
connect their mailbox , i have backup for all database(separate).
what should to do to restore database mailbox. so that users can connect their mailbox
thanksHi activenew
Thank you for your question.
After we recover the exchange successfully by using “Setup /m:RecoverServer” cmdlet, the exchange server database is in the dismount status, then we will restore the exchange database by your backup tool. After we restore database, the database
is mount, then our client can connect exchange server and send/receive email .
We can refer to the follow link:
http://exchangeserverpro.com/exchange-2010-mailbox-database-backup-restore-windows-server-backup/
We can also refer to recovering an exchange database:
http://technet.microsoft.com/en-us/library/bb124040(v=exchg.65).aspx
If there are any questions, please let me know.
Best Regard,
Jim -
Exchange 2010 - Moving mailbox database from exchange 2010 server to another exchange 2010 server
Hi,
I have a current existing exchange server running on 2008 R2. apparently the partition that holds the mailbox database is getting full and i need to move some user mailboxes to another environment ( exchange 2010 running on 2008 R2). i transferred some users
successfully to the new location, but am not able to transfer the rest. I am getting the errors:
Summary: 1 item(s). 0 succeeded, 1 failed.
Elapsed time: 00:00:00
Erastus XXXXX
Failed
Error:
The queue in 'MBX2010_STAFF' database already contains a move request for 'Erastus XXXXX', while AD reports the mailbox as not being moved. It is possible that someone created this move request recently, while targeting a different domain controller, and AD
replication did not yet occur. You can examine this move request by running 'Get-MoveRequestStatistics -MoveRequestQueue 'MBX2010_STAFF' -MailboxGuid f8023bc7-9d65-4194-9f6b-10e4780558b5 -IncludeReport | fl'. If you believe this to be an abandoned move request,
you can remove it by running 'Remove-MoveRequest -MoveRequestQueue 'MBX2010_STAFF' -MailboxGuid f8023bc7-9d65-4194-9f6b-10e4780558b5'.
Exchange Management Shell command attempted:
'xxxxxxxx.co.ke/Training Department/XXXXXXX/XXXXXXX/Erastus XXXXX' | New-MoveRequest -TargetDatabase 'OFFICE_STAFF_MB_DB' -BadItemLimit '0'
Elapsed Time: 00:00:00
AND
Summary: 1 item(s). 0 succeeded, 1 failed.
Elapsed time: 00:00:01
George XXXXX
Failed
Error:
Service 'net.tcp://win-u5bjh2oamaa.xxxxxxxxx.co.ke/Microsoft.Exchange.MailboxReplicationService' encountered an exception. Error: MapiExceptionNoAccess: Unable to open message store. (hr=0x80070005, ec=-2147024891)
Diagnostic context:
Lid: 18969 EcDoRpcExt2 called [length=207]
Lid: 27161 EcDoRpcExt2 returned [ec=0x80070005][length=202][latency=0]
Lid: 32881 StoreEc: 0x80070005
Lid: 50035
Lid: 64625 StoreEc: 0x80070005
Lid: 1494 ---- Remote Context Beg ----
Lid: 26426 ROP: ropLogon [254]
Lid: 56503
Lid: 12716 StoreEc: 0x80070005
Lid: 20794
Lid: 28474 StoreEc: 0x80070005
Lid: 22330 dwParam: 0x0 Msg: 14.01.0270.001:CPLSERVER
Lid: 1750 ---- Remote Context End ----
Lid: 23354 StoreEc: 0x80070005
Lid: 25913
Lid: 21817 ROP Failure: 0x80070005
Lid: 26297
Lid: 16585 StoreEc: 0x80070005
Lid: 32441
Lid: 1706 StoreEc: 0x80070005
Lid: 24761
Lid: 20665 StoreEc: 0x80070005
Lid: 25785
Lid: 29881 StoreEc: 0x80070005
Exception details: MapiExceptionNoAccess (80070005): MapiExceptionNoAccess: Unable to open message store. (hr=0x80070005, ec=-2147024891)
Diagnostic context:
Lid: 18969 EcDoRpcExt2 called [length=207]
Lid: 27161 EcDoRpcExt2 returned [ec=0x80070005][length=202][latency=0]
Lid: 32881 StoreEc: 0x80070005
Lid: 50035
Lid: 64625 StoreEc: 0x80070005
Lid: 1494 ---- Remote Context Beg ----
Lid: 26426 ROP: ropLogon [254]
Lid: 56503
Lid: 12716 StoreEc: 0x80070005
Lid: 20794
Lid: 28474 StoreEc: 0x80070005
Lid: 22330 dwParam: 0x0 Msg: 14.01.0270.001:CPLSERVER
Lid: 1750 ---- Remote Context End ----
Lid: 23354 StoreEc: 0x80070005
Lid: 25913
Lid: 21817 ROP Failure: 0x80070005
Lid: 26297
Lid: 16585 StoreEc: 0x80070005
Lid: 32441
Lid: 1706 StoreEc: 0x80070005
Lid: 24761
Lid: 20665 StoreEc: 0x80070005
Lid: 25785
Lid: 29881 StoreEc: 0x80070005
Exchange Management Shell command attempted:
'xxxxxxxxxx.co.ke/Training Department/xxxxxx/xxxxxxx/George xxxxxxx' | New-MoveRequest -TargetDatabase 'OFFICE_STAFF_MB_DB' -BadItemLimit '0'
Elapsed Time: 00:00:01
I have all the proper rights.
YOUR ASSISTANCE WILL BE HIGHLY APPRECIATED. THANX :)0x80070005 is pretty standard access denied entries. I would start digging into ACLs on a handful
of mailboxes.
Is there another Admin that can give it a shot to test their permissions vs yours?
- If you find my post to be helpful, or the answer, please mark it appropriately. Thank you.
Chris Ream -
Outlook 2013/ Exchange 2010 User Mailbox reached Limit and OWA is not reachable
Hello Folks,I have a strange Outlook/ Exchange problem with one of our Users, interestingly it’s the Boss of our company….The Background:- We have 2 Domains @company-1 or @company-2- We have 1 Exchange 2010 Server Version 14.03.0224.002- Till March of this year our Emails where hosted externally, we used to download the Emails every 2 minutes from POP3 Mailboxes into Exchange- We have 18 Users- So every User had a User account on our Exchange and a Mailbox externally- Now we host our Emails our self via MX and DNS Records(mail.company.cc)- The User kept their Exchange accounts, OWA is now working too So far all works well on my little Server farm.The Catch:Usually our users have only one Email address either @company-1 or @company-2 Except our Boss and one other User, they have an Email address in both Domains They have addresses one...
This topic first appeared in the Spiceworks CommunityHi,
I suggest to repair .ost file to check this issue by the following steps:
Exit Outlook.
In Control Panel, click or double-click Mail.
In the Mail Setup dialog box, click E-mail Accounts.
Click the Data Files tab, select the Exchange account, and then click
Open File Location. A file explorer window opens to the location of the data file for the Exchange account. The
Account Settings and Mail Setup dialog boxes will remain open, behind the file explorer window.
Close the Account Settings and the Mail Setup dialog boxes, then return to the file explorer window.
Important: be sure to close these two dialog boxes before you delete the file. If they aren't closed, Windows may display an error message about a conflict.
In the file explorer window, right-click the Exchange data file and then click
Delete. The next time you start Outlook, a new .ost file is created for the account.
Best Regards.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Lynn-Li
TechNet Community Support -
Exchange 2010 SP3 mailbox role installation error
Hello.
I can't install the Mailbox role on a Windows 2008 R2 server, the first Exchange in the domain and forest (2 dcs in the domain).
Client Access Role and Hub Transport Role installed correctly.
Setup preparations - without an error.
Started the Exchange 2010 SP3 Installation, which start correctly, all prerequisites are seems to be ok. When arriving on the Mailbox Roles it make this error:
02.05.2014 13:42:46.0634] [2] [ERROR] Active Directory operation failed on <dc fqdn>. This error is not retriable. Additional information: An attempt was made to modify an object to include an attribute that is not legal for its class.
Active directory response: 0000207D: UpdErr: DSID-0315121C, problem 6002 (OBJ_CLASS_VIOLATION), data -1731808180
[02.05.2014 13:42:46.0634] [2] [ERROR] An object class violation occurred.
[02.05.2014 13:42:46.0634] [2] Ending processing enable-mailbox
[02.05.2014 13:42:46.0649] [1] The following 1 error(s) occurred during task execution:
[02.05.2014 13:42:46.0649] [1] 0. ErrorRecord: Active Directory operation failed on <dc fqdn>. This error is not retriable. Additional information: An attempt was made to modify an object to include an attribute that is not legal for its class.
Active directory response: 0000207D: UpdErr: DSID-0315121C, problem 6002 (OBJ_CLASS_VIOLATION), data -1731808180
[02.05.2014 13:42:46.0649] [1] 0. ErrorRecord: Microsoft.Exchange.Data.Directory.ADOperationException: Active Directory operation failed on <dc fqdn>. This error is not retriable. Additional information: An attempt was made to modify an object to
include an attribute that is not legal for its class.
Active directory response: 0000207D: UpdErr: DSID-0315121C, problem 6002 (OBJ_CLASS_VIOLATION), data -1731808180
---> System.DirectoryServices.Protocols.DirectoryOperationException: An object class violation occurred.
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, IAccountingObject budget, Nullable`1 clientSideSearchTimeout)
at Microsoft.Exchange.Data.Directory.ADSession.ExecuteModificationRequest(ADObject entry, DirectoryRequest request, ADObjectId originalId, Boolean emptyObjectSessionOnException)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Data.Directory.ADSession.AnalyzeDirectoryError(PooledLdapConnection connection, DirectoryRequest request, DirectoryException de, Int32 totalRetries, Int32 retriesOnServer)
at Microsoft.Exchange.Data.Directory.ADSession.ExecuteModificationRequest(ADObject entry, DirectoryRequest request, ADObjectId originalId, Boolean emptyObjectSessionOnException)
at Microsoft.Exchange.Data.Directory.ADSession.Save(ADObject instanceToSave, IEnumerable`1 properties)
at Microsoft.Exchange.Data.Directory.Recipient.ADRecipientSession.Microsoft.Exchange.Data.IConfigDataProvider.Save(IConfigurable instance)
at Microsoft.Exchange.Configuration.Tasks.SetTaskBase`1.InternalProcessRecord()
at Microsoft.Exchange.Management.RecipientTasks.EnableMailbox.InternalProcessRecord()
at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()
[02.05.2014 13:42:46.0649] [1] [ERROR] The following error was generated when "$error.Clear();
if (!$RoleIsDatacenter)
$arbUsers = @(get-user -Filter {lastname -eq "MSExchApproval 1f05a927-3be2-4fb9-aa03-b59fe3b56f4c"} -IgnoreDefaultScope -ResultSize 1);
if ($arbUsers.Length -ne 0)
$mbxname = $arbUsers[0].name;
$mbxs = @( get-mailbox -arbitration -Filter {name -eq $mbxname} -IgnoreDefaultScope -resultSize 1 );
if ( $mbxs.length -eq 0)
$dbs = @(get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
if ($dbs.Length -ne 0)
enable-mailbox -Arbitration -identity $arbUsers[0] -database $dbs[0].Identity;
" was run: "Active Directory operation failed on <dc fqdn>. This error is not retriable. Additional information: An attempt was made to modify an object to include an attribute that is not legal for
its class.
Active directory response: 0000207D: UpdErr: DSID-0315121C, problem 6002 (OBJ_CLASS_VIOLATION), data -1731808180
[02.05.2014 13:42:46.0649] [1] [ERROR] Active Directory operation failed on <dc fqdn>. This error is not retriable. Additional information: An attempt was made to modify an object to include an attribute that is not legal for its class.
Active directory response: 0000207D: UpdErr: DSID-0315121C, problem 6002 (OBJ_CLASS_VIOLATION), data -1731808180
[02.05.2014 13:42:46.0649] [1] [ERROR] An object class violation occurred.
[02.05.2014 13:42:46.0649] [1] [ERROR-REFERENCE] Id=SystemAttendantDependent___04bbd8c4a86b4d2c9403cdddf5b39579 Component=EXCHANGE14:\Current\Release\Transport\BCM\Moderated Transport
[02.05.2014 13:42:46.0649] [1] Setup is stopping now because of one or more critical errors.
[02.05.2014 13:42:46.0649] [1] Finished executing component tasks.
[02.05.2014 13:42:46.0712] [1] Ending processing Install-MailboxRole
Any help would be appreciate.
Thanks,
Igor K.Hi,
The above error may occur when the federated built-in e-mail account that links to the computer account no longer exists or the federated built-in e-mail account in the Active Directory service is corrupted.
I recommend you follow the steps below for troubleshooting:
1. Remove the FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 e-mail account by using the ADSIEdit tool.
a. Run adsiedit.msc.
b. Locate the Default Naming Context node, and then locate to the CN=Users container.
c. Locate and then right-click the CN=FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 container. Then, click Delete.
2.Rerun the Exchange Server 2010 Mailbox role setup application.
3.Create a new federated e-mail account by using the following cmdlet:
New-Mailbox -Arbitration -Name FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 -UserPrincipalName
FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042@<Default_Accepted_Domain>
Hope it helps.
If you need further assistance, please feel free to let me know.
Best regards,
Amy
Amy Wang
TechNet Community Support -
Exchange 2010 - Disconnected Mailbox
Hello
We have Exchange 2010 server. I have noticed that on one of the drives (Mailbox Data store )has very low disk space left.
I have done New local Move request to bunch of users but still doesn't seem to free up the free.
Also i have more than 100 disconnected Mailbox and quite a few of them show that its from the same database as above on the low disk space.
I run Remove-Mailbox -identity "John Brown"
and got an error 'The Operation couldn't be performed because object 'John Brow' couldn't be found on DC'
run this cmd as well
Get-MailboxStatistics -Database "Mailbox Database 08310xxxx | Where-Object {$_.DisconnectDate -Notlike $NULL} | FL DisplayName, DisconnectDate, MailboxGuid
Error iam getting - Mailbox database "xx xx0 8310xxxx "doesnt exist.
I would like to clear all the Discconnected mailbox and how can i free up the disk What can i delete?
If any one has experience this please share. Thank you
Cheers
KBHi Ed
First command i run is
Get-MailboxStatistics -Database "Standard Users" | Where-Object {$_.DisconnectDate -Notlike $NULL} | FL DisplayName, DisconnectDate, MailboxGuid
and i got the list of users and the DisconnectedDate and MailboxGuid
Second command i run is this
Remove-Mailbox -StoreMailboxIdentity b55f25e1-09a3-4d04-a5de-f8fa6e083707 -Database "Standard Users"
and it returned with error
Mailbox "b55f25e1-09a3-4d04-a5de-f8fa6e083707" doesn't exist on database "Standard Users".
+ CategoryInfo : NotSpecified: (0:Int32) [Remove-Mailbox], ManagementObjectNotFoundException
+ FullyQualifiedErrorId : 63512F0D,Microsoft.Exchange.Management.RecipientTasks.RemoveMailbox
Thank you
KB
Hi,
Please remove the disconnected mailbox by the following steps:
Get-MailboxDatabase | Get-MailboxStatistics | where {$_.disconnectdate -ne $null} | fl DisplayName,MailboxGuid,Database,DisconnectReason
If the MailboxState is Disabled for this disconnected mailbox, we can run the following command to delete it:
Remove-StoreMailbox -Database "Standard Users" -Identity "b55f25e1-09a3-4d04-a5de-f8fa6e083707" -MailboxState Disabled
If it is SoftDeleted, please run:
Remove-StoreMailbox -Database "Standard Users" -Identity "b55f25e1-09a3-4d04-a5de-f8fa6e083707" -MailboxState SoftDeleted
Regards,
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Winnie Liang
TechNet Community Support -
Exchange 2010 - 2013 Mailbox move - Syncing with no progress (Stalled?)
I'm in the process of moving mailboxes from Exchange 2010 to Exchange 2013, the major of the mailboxes have moved successfully, however I did not anticipate the additional space required by Exchange 2013 and ran out of disk space during the mailbox move,
and some mailboxes did not move successfully.
I have since added additional space but can't seem to get the remaining mailboxes to sync.
I have tried :
Rebooting
Clearing out migration batches and recreating
Stopping and resuming batches.
I see nothing helpful in the Migration log files.
2013-05-20T23:59:57.904Z,14,MigrationServicelet,Information,",827890ff-522d-4c13-9f42-96fbfefb57f4,,","Job type ExchangeLocalMove, status SyncStarting, result Working, length 0.2724593, job :827890ff-522d-4c13-9f42-96fbfefb57f4:ExchangeLocalMove:Staged:4::SyncStarting:2013-05-17
2:59:12 PM::"
When I download the report for one of the users I see this, but don't know what it means :
The job is currently stalled due to 'Content Indexing' lagging behind on resource 'CiAgeOfLastNotification(Mailbox Database 2065686096)'
For one of the other users the downloaded report only shows :
2013-05-16
2:11:18 PM '' created move request.
DWW
Additional Info: I followed the info located here in regards to creating the ContentSubmitters group:
http://www.bullspit.co.uk/2013/04/08/exchange-2013-content-indexing-during-migration/
My mailbox database currently has Content index state: FailedAndSuspended
I only have one database, I am not using DAGI had already created the contentsubmitters and it helped with the speed of the mailbox moves. We have a SMB with >100 users and everything was working great, migrating from 2007 to 2013. If I had it to do over, maybe it would have been better
to go to 2010 on a 2008 R2 box but decided to jsut go straight to 2013 on a 2012 R2 server. But the one thing I REALLY wish I had to do over again is to allocate about 3 times more space to the drive that was to hold the mailbox database. Everything
was working so well until a mailbox was being moved - a batch of several, I was doing maybe 5 at a time for the larger mailboxes - the disk filled up. Also, before I realized what was going on, I ran some cmdlets thinking my receive connectors weren't
right. I recovered the database - at first it would not mount at all... but after eseutil /r and /p (and allocating more disk space) I could mount the database and open the mailboxes. But from then on, nothing is being received and if you send,
it goes to sent items - doesn't hang in outbox, but never goes anyhere except into a queue. I have MS support working on it and it's been escalated to the top. If they fix it I will try to post any helpful information I can learn from it. But one
lesson - I will read the planning and preparations documentation thoroughly from now on.
Oh, and also, I keep getting this message in the ECP when navigating to the Recipients>migration applet:
Cannot open mailbox /o=<Organization>/ou=Exchange Asministrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/CN=<yourExchangeserver>/cn=Microsoft System Attendant.
If you did the same thing, (and didn't hang yourself or jump in front of a speeding locomotive), you are stronger than I. Not that I have taken the path of the Samurai network admin or anything....
And if you were able to fix it, I am impressed and would love to know how you fixed this.
Thanks and best,
Sam
Maybe you are looking for
-
Message split via BPM Status stays TBDL
Hi to all, I have a Scenario with a BPM. In the IntegrationProcess (IP_Split), is a mapping with message splitting. The result von the Mapping are serveral Proxymessages and a var count, that counts the new Messages. After, i have a loop over the mes
-
Create table based on previous desc
hey, i'm trying to create a few tables based on a desc i recieved Name Type Nullable Default Comments SUBSCR_NO NUMBER(10) SUBSCR_NO_RESETS NUMBER(6) is there an automatic way to do it or iether i have to use the create table command and modfy it acc
-
Can't remember how to reverse the order of tracks in a playlist.....can anyone help me out? Thanks.
-
I connected my iPhone 5s to iTunes this am and it prompted me to install the iOS 8.0.2 update, which, like an idiot, I accepted. Now my phone has the screen telling me to connect to iTunes. When I connect to iTunes it says I have to restore my phone
-
Noise cleanup on footage: filter?
Hi all. Some of the DV footage I've shot was not lit as well as it could have been. I knew it at the time, but it was either get the shot, or not. I tried my best to use available light, but some footage is a bit dark. Also, in a somewhat related poi