What Powershell command must be used to set mAPIRecipient?

Status
Not open for further replies.
A

Anu Melkote

Sorry for the naive question I have no background in Exchange... what powershell command and paramater on it can set mAPIRecipient attribute? Or, is this attribute set only on user objects in AD directly?

Thanks.

Anu Melkote

Anu
 
L

Leif Pedersen [MVP]

Hi,

If you run a create a mailbox, contact or whatever you are trying to do this parameter should be set.

(new-mailbox command)

Can you tell us what you are trying to accomplish

Leif
 
A

Anu Melkote

Leif,

I have a legacy MailUser that was created by processes invoking RUS (I think) in E2K3. I want to create mailbox for this user in E2K10. The following commands were run in E2K10 and worked well so far -

Get-User (confirms MailUser)

Disable-MailUser (removes mail attributes)

Enable-Mailbox (creates mailbox but missing mail attributes removed above)

Set-Mailbox (to attributes like exchange policies included, excluded, proxyaddresses)

One of the attributes that previously existed before Disable-Mailbox was mAPIRecipient. I need that one added back.

Thanks, Anu

Anu
 
T

Tyler87

Hi Anu,

From your description, I understand that you want to set mapiRecipient attribute. There are three conditions of mapiRecipient:

1. If mapiRecipient is set to false then it is a contact.

2. If mapiRecipient=true which means that it is a domain user with a mailbox.

3. If it is not set it means that whatever the format of mail it receives it passes through and it does not have any restrictions.

If you want to set mapiRecipient attribute, you can use ADSI Edit to achieve the goal:

ADSI Edit->Domain->CN=Users->Select the user which you want to set->properties->change the mapiRecipient attribute

If anything is unclear, please don"t hesitate to let me know and I will be glad to help.

Thank you,

Tyler
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
A How to use Get-InboxRule powershell command with filter or where options Exchange Server Administration 1
Diane Poremsky Use PowerShell to log into Office 365 Exchange New Slipstick.com Articles 0
marcadamcarter Interrogate Outlook GAL with PowerShell Using Outlook 0
R Exchange - Locating a user that has log files but is not found using powershell Exchange Server Administration 1
Britonius Exchange Powershell to Remove Reviewer access from all Folders in a mailbox? Using Outlook 3
P Could the powershell Version be wrong? Exchange Server Administration 1
I Exchange 2010 Powershell Exchange Server Administration 1
T Problems opening the EMS and EMC - WinRM, Kerberos, Powershell Exchange Server Administration 4
P Error when trying to open EMC and Powershell Exchange Server Administration 4
B Create Exchange PowerShell Virtual Directpory Exchange Server Administration 3
à owa and powershell take times on exchange 2010 Exchange Server Administration 8
M PowerShell Get-Mailbox truncates fields in the results Exchange Server Administration 3
S EMC, EMS & Powershell issues. Cannot manage Exchange 2010 after install Exchange Server Administration 4
G Moving messages within mailbox via PowerShell Exchange Server Administration 1
N Failed Exchange 2010 SP1 Installation PowerShell "unauthorized operation" Exchange Server Administration 2
T You must Provide a value for this property on powershell cmdlet Exchange Server Administration 3
C ClamAgent free antivirus for exchange help with JS in Powershell 2.0 Exchange Server Administration 1
S Determine Managed Folder Policy for Mailbox in Powershell Exchange 2010 SP1 Exchange Server Administration 4
W PowerShell Help in Exchange 2010 Exchange Server Administration 14
S Applying Managed Folder Policy using Powershell Exchange Server Administration 2
F Powershell help required Exchange Server Administration 4
R Exchange Powershell getting the forward email address for mailboxes Exchange Server Administration 2
J Powershell Query Exchange Server Administration 8
I Can't open Management Shell or Console - Reached limit of Powershell Concurrent Connections? Exchange Server Administration 3
R Exchange 2010 Sp1 install -> broken OWA -> broken powershell -> broken exchange managemen Exchange Server Administration 2
T How do I check litigationholdenabled flag via powershell Exchange Server Administration 3
E Remote PowerShell Error: Value cannot be null Exchange Server Administration 7
E Powershell 2.0 CTP3 On Exchange 2010 Exchange Server Administration 4
S Exchange 2010 Console and exchange powershell error Exchange Server Administration 8
M Powershell: condition not working Exchange Server Administration 13
M PowerShell Virtual Directory Error Exchange Server Administration 3
S Exchnage 2007 Powershell comandlet Exchange Server Administration 4
J Re: Exchange 2010 SP1 mailbox role install failure PowerShell virtual directory Exchange Server Administration 3
J Exchange 2010 SP1 mailbox role install failure PowerShell virtual directory Exchange Server Administration 5
G Open another user's Inbox/Mailbox via PowerShell (Outlook 2010 & Exchange 2010 SP1) Exchange Server Administration 6
S Exchange 2010 Management Powershell missing after installing SP1 Unable to load Exchange Server exshell.psc1 Exchange Server Administration 1
B Exchange 2010 Management Powershell missing after installing SP1 Exchange Server Administration 4
T Unable to install SP1: "virtual directory 'PowerShell' already exists" Exchange Server Administration 8
S Powershell Script Help to create Mailboxes in Exchange 2010 Exchange Server Administration 1
M Powershell: Output as input & export Exchange Server Administration 8
M Powershell: Combine and Out-file Exchange Server Administration 2
J Exchange 2010 EMC and PowerShell Comandlets ACCESS DENIED Error Exchange Server Administration 3
Y Missing Powershell Virtual Application in IIS7.5 (W2K8R2) Exchange Server Administration 2
D Remote Powershell Exchange Edge Transport Server Exchange Server Administration 1
F Exchange 2010 -Powershell to migrate 2003 users to 2010? Exchange Server Administration 2
M Edge Server pre-reqs installed IIS using powershell Exchange Server Administration 4
D How to add calendar enries to all users in organization using powershell and EWS. Exchange Server Administration 4
J Add secondary email address using Exchange 2010 powershell Exchange Server Administration 6
M VbScript for Command Button on Contacts Custom Form Using Outlook 1
J Command Button to stamp a date and time in a textbox in Outlook 2016 Outlook VBA and Custom Forms 3
Similar threads


















































Top