Bulk SIP-Enable User Mailboxes with Parameters

Currently, we have 400+ users on the network. Our requirement is to bulk sip enable in Lync 2013 and also add them to the policies (all staff have the same policies)..
Have a CSV output with Display Name / Alias (Exported all User Mailboxes) and need to SIP enable the accounts with the below policies:
Assign users to pool 'pr-pool'
Telephony 'PC-to-PC only'
Conferencing Policy 'Allow audio and video'
External Access Policy 'User'
I am testing my patience with powershell.. Need some help!!

Take a look at Kenneth Peet's Lync Bulk User Enablement Tool: http://gallery.technet.microsoft.com/office/Lync-Bulk-User-Enablement-b60d1990
 or 
http://gallery.technet.microsoft.com/office/Script-to-Enable-Users-and-f56306ed
Please mark posts as answers/helpful if it answers your question.
Blog
Lync Validator - Used to assist in the validation and documentation of Lync Server 2013.

Similar Messages

  • Can You Open a User Mailbox with Your Exchange Account on the iPhone?

    I can add user mailboxes on the same domain to my Outlook on my Mac and/or Windows PC but I don't see an option on my iPhone when I add my Exchange Account to the Mail App.
    Is this possible?

    Select the Exchange account under Accounts.
    Select Edit at the top right for the account.
    Select New Mailbox at the bottom right to create a new server store mailbox fot the account.
    Enter the name for the new mailbox in the space provided.
    Select Save at the top right.
    Select Done when finished.

  • Create a mail enabled user account with x400 address

    How can I add x400 address using import-csv new-mailbox powershell script?
    In csv, I added a mail2 column with the following value:
    X400:c=GB\;a=xxx\;p=xxxx\;s=xxxx\;g=xxxx
    and run the command;
    PS P:\> Import-CSV "C:\NewU.csv" | foreach {New-Mailbox -Name $_.displayName -Alias $_.sAMAccountName -UserPrincipalName $_.userPrincipalName -samAccountName $_.sAMAccountName -OrganizationalUnit $_.OrganizationUnit -PrimarySmtpAddress $_.mail
    -EmailAddresses @{add=$_.mail2} -FirstName $_.FirstName -LastName $_.LastNam
    e -Password (ConvertTo-SecureString $_.password -AsPlainText -Force) -ResetPassw
    ordOnNextLogon $false}
    All works fine except adding the second x400 email address;  -EmailAddresses @{add=$_.mail2}
    Please help! Thanks in advance.

    You are a star! Thanks Steve. For people who is having the same problem, the example contents of my table:
    FirstName
    Taro
    LastName
    Suzuki
    displayName
    suzuki taro 
    sAMAccountName
    tsuzuki
    mail
    [email protected]
    mail2
    X400:c=GB;a=xxx;p=xxxx;o=xxxxx;s=suzuki;g=taro
    password
    p@ssw0rd
    userPrincipalName
    [email protected]
    OrganizationUnit
    OU=Users,DC=xxxx,DC=com
    department
    IT
    and run the above commands will create email enabled AD accounts! with additional x.400 email address.

  • Enable data paging with parameters count() on new php function issue (BUG?)

    I've got my app prototyped quickly with the default settings in Flex Builder 4.  Now I'm going back and adding/modifying features to polish the app off.
    For this application I'm using PHP5 as the server side.
    The data paging is really cool and simple to call using the default settings.  However, I'm running into issues with customizing the data paging feature.
    This is the default header of the php function that was created for me:
    public function getTblbrowserrecord_paged($startIndex, $numItems){...}
    Instead of dumping all data back to the function I want to be able to search on certain fields so I created a new function called:
    getTblbrowserrecord_search_paged ($szName, $szIP, $szRule, $szURL, $szDateLow, $szDateHigh, $szCode, $startIndex, $numItems  ) {...}
    The new function is tested and operates as designed.
    I set the input types of the variables and return type (Tblbrowserrecord[]) of the new function then went to enable data paging.  The first screen came up and asked me for the key to use which I selected.  The next screen came up and asked me for the number of records which I set to 100 then went to select the count operation.
    I initially selected the automatically created count() function but it came up with the error " Count operation parameters should match the paged operation parameters list."
    So I created another function to match the search function's parameter's list:
    public function count_searched($szName, $szIP, $szRule, $szURL, $szDateLow, $szDateHigh, $szCode, $startIndex, $numItems)  {...}
    But I still ge the error "Count operation parameters should match the paged operation parameters list."
    But they DO match.  I looked at the default functions that were created by FB4 and noticed that the automatically generated function count() has no parameters and the paged function has the two functions $startIndex and $numItems which are not identical yet they work.  I tried removing those two fields from the count function but got the same results.
    What am I doing wrong?
    Thanks!

    Nevermind... For some reason my FB4 is not updating correctly.  After removing the two control fields at the end of the list AND exiting the app/re-entering everything worked ok.  I've been having this issue a lot lately and am thinking that is is a bug of some sort?

  • One shared mailbox with multiple distribution groups connected and the sent items folder - how to configure?

    Hi!
    I have been struggling for a while now with the following issue.
    For starters:
    We are using exchange 2010 in combination with outlook 2013 on client computers.
    Cause of the limitations concerning the number of mailboxes in outlook im looking for a solution to receive and reply 
    to multiple aliasses. So i did the following:
    1. Configured one shared mailbox.
    2. Configured multiple distribution groups
    3.  made the shared mailbox a member of the distribution groups
    4. Configured full access and send as permissions for myself on the shared mailbox ( testing )
    5. Gave send as permissions to the shared mailbox in Active directory. 
    6.  Logged in to OWA to setup rules for the shared mailbox.
    I now receive emails from all connected distribution groups in the shared mailbox and also in the right folder.
    I do however have to select the proper from address when i reply to an email. 
    the email sent by the main SMTP of the shared mailbox is placed into the sent folder of the shared mailbox. 
    I setup the senddelagate blabla in register.....
    When i sent an email as one of the connected distribution groups it fails to put the sent item in the sent items folder of the shared mailbox. The email is sent using the proper address but placed in the sent folder of my main account. 
    I want this emails to end up in the sent items folder of the shared mailbox. Or even better, in a sent items folder for each of the addresses. 
    Any suggestions ? 
    Thanks in advance!

    Hi,
    As what
    Rajkumar says, sending as a shared mailbox(full access permission) will put the email in the sent item of shared mailbox. But it cannot be located in the “sent item” of a distribution group. Because
    it is a distribution group instead of a enabled user mailbox.
    According to your further description, I understand that the reason why you configure that is some users reached the
    limitation about the number of Exchange accounts you can include in the same Outlook profile. Is it rights? If I misunderstand, please point it out.
    By default, user can only add 10 Exchange accounts to the same profile. You can customize the limit to the number Exchange accounts in the same profile using the following registry data:
    Key: HKEY_CURRENT_USER\software\policies\Microsoft\exchange
    DWORD: MaxNumExchange
    Value: integer value starting at 1 (default = 10 if DWORD is missing)
    http://blogs.technet.com/b/outlooking/archive/2012/12/24/clarification-on-outlook-2010-and-additional-exchange-account-supportability.aspx
    Hope it helps.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Exchange Server 2013: incoming messages are not delivered into user mailboxes occasionally

    Exchange Server 2013 CU1, two mailbox servers (DAG, only one mail database), two CAS servers (NLB cluster). Two Sendmail/CentOS-based SMTP relays route mail between Exchange servers and Internet (incoming mail is routed to NLB cluster name).
    Usually mail flow is OK: messages are sent and received normally. However, I've got several complains from different users. They state that occasionally they don't receive messages that were sent to them from outside. Tomorrow morning I've decided to
    investigate the issue.
    So, we have a message sent from Gmail account that was not delivered in user mailbox. It was received and routed to Exchange by Sendmail host:
    Jun 27 22:06:37 MX01 sendmail[12169]: r5RG6HC8012166: to=<USER_ADDRESS>, delay=00:00:19, xdelay=00:00:19, mailer=smtp, pri=124702, relay=NLB-FQDN [NLB-IP], dsn=2.0.0, stat=Sent (<CAHgK_sjEkj41htuVsutMP3XhgR5RRDs8-EgSC-UfHoaiHWFj=A@mail.gmail.com>
    [InternalId=13069585481819] Queued mail for delivery) 
    Running Get-MessageTrackingLog applet on the mailbox servers displayed the followed log entries for the message:
    DB Server #1:
        22:11:18 HAREDIRECT
        22:11:18 RECEIVE
        22:11:18 AGENTINFO
    DB Server #2:
        22:11:18 HARECEIVE
        22:12:44 HADISCARD
    So, we can see that the message was placed into shadow queues, but was NOT delivered into mailbox (no DELIVER status entries). Also pay attention to the timing. Time on all the servers is in sync, but Sendmail timestamp is 22:06, and Exchange timestamps
    are 5 minutes behind it.
    Today a message sent to the same address from the same Google mailbox was received by Exchange and placed into user mailbox with no glitches.
    We use Exchange antispam system activated on Exchange mailbox servers. Spam is never dropped silently. It is either returned to sender (SCL 9) or placed into quarantine mailbox (SCL 6 and above). I'm pretty sure that the lost message was not in the quarantine
    mailbox this morning, and the sender didn't receive any NDRs.
    Any ideas what to investigate next?

    Hi,
    Do you mean the emails are placed in the Shadow Redundancy queue?
    Shadow Redundancy
    http://technet.microsoft.com/en-us/library/dd351027(v=exchg.150).aspx
    Thanks,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

  • Enable User is not working for Provisioning

    Hi,
    I am trying to provision enable user to target system. For that, in my process definition, I have a task "Enable User" added with Task Effect as "Enables Process Or Access To Application" with Conditional, Required for Completion, Allow Cancellation while Pending, and Allow Multiple Instances selected. But somehow it's not working. I have checked, system property XL.EnableDisabledResources is set to TRUE. Can you please help me with this.
    As an alternative solution, I have also tried adding "USR_STATUS" or "USR_DISABLED" code under Lookup.USR_PROCESS_TRIGGERS and having a task and having a task added in my process definition with same name as meaning of this code. But those are also not working. This is exactly like Change First Name meaning under Lookup.USR_PROCESS_TRIGGERS. So, I hoped change in USR_STATUS or USR_DISABLED will trigger my task, but no luck :-(
    Can anybody please help with this? I have also read some that Enable User has some issues in OIM 11g R2. If that is the case, what's my alternatives?
    BTW, scheduled job "Evaluate User Policies" is also enabled and running successful every 10 minutes.
    Thanks,
    Ashish

    Hi Have you get to know what was cause of this issue yet? If yes, can you share of what have you found?
    Thanks

  • Creating MailBox-enabled Users In Active Directory Using JNDI

    Thanks to the Various code samples i have come across in this forum i have been able to use the JNDI API to add a new user to the Microsoft Active directory.
    The user account that was added using a combination of the various code samples was already enabled. but the problem is that the user does not have an Exchange MailBox created/enabled as well.
    When attempts were made to access the users IMAP mailbox from an external webmail client, the following message:
    "No Such Object On The Server"
    Was Recieved.
    I am wondering wether there is an attribute i am missing out. or something.
    i would welcome any suggestions.
    please treat as urgent.
    thank you in anticipation
    Below is the list of attributes i set:
    BasicAttributes ba=new BasicAttributes();
    ba.put(new BasicAttribute("userPrincipalName","[email protected]"));
    ba.put(new BasicAttribute("sAMAccountName","fagu"));
    ba.put(new BasicAttribute("title","Anyhow"));
    ba.put(new BasicAttribute("mail","[email protected]"));
    ba.put(new BasicAttribute("mailNickname","fagu"));
    ba.put(new BasicAttribute("objectClass","user"));
    ba.put(new BasicAttribute("displayName","Festus Agu"));
    ba.put(new BasicAttribute("sn","Agu"));
    ba.put(new BasicAttribute("userAccountControl","66048"));
    //ba.put(new BasicAttribute("unicodePwd ","fagu"));
    ba.put(new BasicAttribute("mDBUseDefaults","TRUE"));
    ba.put(new BasicAttribute("homeMTA","CN=Microsoft MTA,CN=XSOCKET2,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=SocketWorks,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=socketworkscorp,DC=localdomain"));
    ba.put(new BasicAttribute("msExchHomeServerName", "/o=SocketWorks/ou=First Administrative Group/cn=Configuration/cn=Servers/cn=XSOCKET2"));
    ba.put(new BasicAttribute("distinguishedName","CN=Festus"));

    I am trying to create a MailBox enabled user in AD.I am setting all the attributes that are mentioned above.
    Still i am unable to create a user.I guess i am messing up with password and getting error "javax.naming.OperationNotSupportedException: [LDAP: error code 53 - 00002077: SvcErr: DSID-031D0AAB,
    problem 5003 (WILL_NOT_PERFORM), data 0"
    Is it that SSL is must to create a user.I saw a certificate on Exchange server.But i am using a simple protocal to create a user.
    Please help me with the steps needed to create a user if i have to use SSL or is there is any settings to be turned on the server.
    Thanks!!
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Mailbox enabled user to mail enabled user

    As part of a migration I have a requirement to change mailbox enable users to mail enable users on exchange 2003. This would be to be able to drop the mailbox but keep all the mail related attributes including the target address. This will allow us to start
    decommissioning servers and storage as the migration proceeds.
    Stephane
    Stephane Favre

    Hi,
    Please refer to the following article:
    Converting a Mailbox to a MailUser (and preserving your custom attributes)
    What do you want the mail-user’s external email address to be?
    The script takes the user’s mailbox alias and then appends @domain.com.  You may wish to modify this with whatever their new external address has become.
    hope this helps!
    Thanks.
    Niko Cheng
    TechNet Community Support

  • Deleting emails with a specific subject from a single user mailbox

    we are exchange 2007 on SP1. we do not have an edge server, only a hub server.
    A user mailbox was flooded with 11000 "Undeliverable:" emails in the last 2 days, the source being "DSA". I am still finding out why this has happened. As for now, I have set up a rule to silently drop all emails with this specific subject.
    now the user wanted our team to delete all of these 11000 emails from his mailbox.
    we gave the appropriate permission to the users mailbox by running the command
    Get-Mailbox -Identity “[email protected]” | Add-MailboxPermission -User [email protected] -AccessRights FullAccess -InheritanceType all
    Then I ran the below command
    Get-Mailbox -Identity “[email protected]” | Export-Mailbox -SubjectKeywords "Undeliverable:" -IncludeFolders "\Inbox" -StartDate "09/22/2014" -EndDate "09/23/2014" -DeleteContent -Confirm:$false
    The command ran for a while, showing it was deleting 19000 odd emails with the below summary
    [PS] C:\Windows\System32>Get-Mailbox -Identity "[email protected]" | Export-Mailb
    ox -SubjectKeywords "Undeliverable:" -IncludeFolders "\Inbox" -StartDate "09/22/
    2014" -EndDate "09/23/2014" -DeleteContent -Confirm:$false
    TargetMailbox                    :
    TargetServer                     :
    TargetDatabase                   :
    MailboxSize                      : 733800KB
    IsResourceMailbox                : False
    SIDUsedInMatch                   :
    SMTPProxies                      :
    SourceManager                    :
    SourceDirectReports              :
    SourcePublicDelegates            :
    SourcePublicDelegatesBL          :
    SourceAltRecipient               :
    SourceAltRecipientBL             :
    SourceDeliverAndRedirect         :
    MatchedTargetNTAccountDN         :
    IsMatchedNTAccountMailboxEnabled :
    MatchedContactsDNList            :
    TargetNTAccountDNToCreate        :
    TargetManager                    :
    TargetDirectReports              :
    TargetPublicDelegates            :
    TargetPublicDelegatesBL          :
    TargetAltRecipient               :
    TargetAltRecipientBL             :
    TargetDeliverAndRedirect         :
    Options                          : DeleteSourceContent
    SourceForestCredential           :
    TargetForestCredential           :
    TargetFolder                     :
    PSTFilePath                      :
    RsgMailboxGuid                   :
    RsgMailboxLegacyExchangeDN       :
    RsgMailboxDisplayName            :
    RsgDatabaseGuid                  :
    StandardMessagesDeleted          : 0
    AssociatedMessagesDeleted        : 0
    DumpsterMessagesDeleted          : 19020
    MoveType                         : DeleteOnly
    MoveStage                        : Completed
    StartTime                        : 9/23/2014 7:29:01 PM
    EndTime                          : 9/23/2014 7:32:19 PM
    StatusCode                       : 0
    StatusMessage                    : Messages have been deleted from the source m
                                       ailbox.
    ReportFile                       : C:\Program Files\Microsoft\Exchange Server\L
                                       ogging\MigrationLogs\export-Mailbox20140923-
                                       192900-8103154.xml
    However, when I open the user's mailbox all of the emails still exist. kindly help me understand where I am going wrong and how I can delete all these emails.
    Thank You
    Philip

    Are they still specifically in the Inbox?
    I was thinking that the account might have "Deny" permissions to the user's mailbox but it looks like it can access the mailbox and delete items.
    StandardMessagesDeleted          : 0
    AssociatedMessagesDeleted        : 0
    DumpsterMessagesDeleted         : 19020
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.

  • Issue with a user mailbox.

    We're running exchange 2010 SP2 RU8. I have one particular user were I'm getting the following error:
    Cannot open mailbox /o=Org/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=EXSRV01/cn=Microsoft System Attendant.
    It was running the command 'Get-CalendarProcessing -Identity 'company.com/Users/<username> -ReadFromDomainController'.
    I've done some searches but the advice is all over the place. This user lives on a database with about 600 other users. This error only occurs on this particular users mailbox. The user can't access OWA as well.
    I've tried disconnecting and re-connecting but it gives the same error. Anyone have advice on what to do or try? Again the database itself is fine as all other users are working fine. 
    Thanks 

    Hi,
    Have you ever run any script to reset the permission before the issue firstly occurred?
    Thanks,
    Simon Wu
    TechNet Community Support

  • Exchange User Mailbox Database Group Lookup Reconciliation-parameters

    Hi everyone,
    I want to execute Exchange User Mailbox Database Group Lookup Reconciliation.
    Parameters :
    Code Key Attribute : __NAME__ (default)
    Decode Attribute : __NAME__ (default)
    IT Resource Name : Exchange IT Resource
    Lookup Name : Lookup.Exchange.MailboxDatabase (default)
    Object Type : __MAILBOXDATABASE__ (default)
    Resource Object Name : Exchange User
    Is there any incorrect parameter?
    Thanks.
    Best Regards.

    Everything looks correct, all parameters have been provided correctly. Check values in "Exchange IT Resource" before executing scheduler.

  • How automaticaly create user's mailboxes with content for test purposes?

    Hi all!
    Tell me please, how can i imitate outlook's users activity. In result i need 10...200 mailboxes with 100-200 elements (mail, calendar's events, meeting requests and etc) and up to 100Mb size of each mailbox. It's need for creating test environment.
    Maybe some script or programs?

    You can use LoadGen tool of MS for simulating load on your exchange servers for various access methods. You can find it at below ling.
    http://www.microsoft.com/en-in/download/details.aspx?id=40726
    Abhijeet D

  • Save a Copy with enabled user rights

    I have a form that has user rights enabled. I sometimes get calls from providers that they can no longer enter information on the form. They have the most current version of Acrobat Reader. My suspicion is that when they save the form they are using Save a Copy instead of Save or Save As.
    I know if you have a document that has security and enabled user rights that you have to Save a Copy and then change the document security.
    By using Save a Copy does that remove the enabled user rights to the document which is causing Acrobat Reader not to be able to enter information into the document?
    Is there a way to disable Save a Copy on the form?
    Thanks
    Carol

    While a script would probably be best, photoshop 7 requires
    you download a scripting plugin which may or may not install
    in photoshop 7 depending on your version.
    You can probably do what you want with actions. The file naming part
    is not hard, but i have a couple of questions about the cropping.
    Are all the images the same size and are the crops in the same position for each?
    In other words on the P crop (200x250), is the crop in the same position on each
    image or different for each?
    MTSTUNER

  • Bulk Export of Mailboxes With Exchange 2010

    Hi
    Part of our organization is separating and preparing a new organization. All the users are in a separate OU, we are looking for a way to automate the export all these users mailboxes.
    Thanks in Advance
    LMS

    Thank You
    Since our requirement is to export all users in a specific OU we use below PS
    $ou = "OU=EU,DC=Mydomain,DC=LOCAL"
    $EUUser = Get-ADUser -SearchBase $ou -Filter * -Properties * | Select-Object Name
    $EUUser.name
    Foreach($users in $EUUser.name)
    $pst = $users+".pst"
    New-MailboxExportRequest -Mailbox $users -FilePath
    \\Share-folder\$pst
    LMS

Maybe you are looking for