Exchange 2013 Dynamic Distribution Groups in Lync 2013
Working on a new Exchange 2013 Lync 2013 environment. I'm having trouble getting Dynamic Distribution groups that exist in Exchange to populate in to the Lync Address book. Currently If I create a normal Distribution list in Exchange,
it populates in to Lync as I would expect and can be searched and added to a users Contact list. But for whatever reason the Dynamic distribution groups do not show at all in Lync. They do show properly in the Exchange & Outlook Client GAL.
And I can use them to send email to recipients. I'm stumped and can;t find any documentation that addresses if it is by design or if I have missed something.
By design it won't work, here is documentation.
http://technet.microsoft.com/en-us/library/gg398577.aspx
Lync Server 2013 uses the Distribution List Expansion Protocol (DLX) to expand distribution lists. This protocol also specifies the web service method that is used to get the membership of a distribution list. Microsoft Exchange Server supports dynamic groups
that do not have members statically assigned to them. Instead, they store queries that are evaluated when the group is expanded. DLX does not support dynamic distribution lists.
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
SWC Unified Communications
Similar Messages
-
Add exchange distribution groups to lync 2013
Hi,
Does anybody kows how to push directly exchange email distribtution list in to lync2013. ( only selected list that contains country wise employee )
Thanks & Regards,
Bhautik ShahHi,
You can add Exchange email distribution list into Lync 2013 Contact Card as Tab of “Membership”.
If Lync server have integration with Exchange server, you can change the value of TurnOffMemberOfTab to “0” with the following path:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0\common\contactcard if you use Outlook 2010.
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\15.0\common\contactcard if you use Outlook 2013.
You can refer to the link below, it is for Lync server 2010 but similar for Lync server 2013:
http://www.slipstick.com/outlook/outlook-2010/turn-contact-cards/
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
sure that you completely understand the risk before retrieving any suggestions from the above link.
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
Question about adding Distribution Groups to Lync 2013 clients
Hello Everybody,
Hopefully somebody can assist me with this issue. I created a Universal Distribution Group within our domain which consists of about 75 people. I logged onto the lync server and ran Update-CsAddressBook waited for it to complete and then
followed Terence Luk guide to force the lync 2013 client update http://terenceluk.blogspot.com/2013/02/forcing-lync-2013-client-to-download.html However
even after the update has completed I am unable to locate this group in the lync client any suggestions would be greatly appreciated.Hi,
Please type the complete sip address to search it.
If the issue persists, please remove lync profile and sign in again.
Kent Huang
TechNet Community Support -
Exchange 2010 Dynamic Distribution Group - RecipientContainer ignored
Maybe someone will be able to help me with this... I am trying to create DDGs for my organization but it seems the "RecipientContainer" is being ignored. I have reorganized AD to include a top level OU called "Active Employees"
and within that are sub-OUs for each department. I also have a top level OU for "Disabled Accounts" and users in those OUs are ending up on my DDG. Is this a known issue with Exchange 2010?
First I had created the DDG in EMC and everything looked good. I set the Recipient Container on the Filter tab by using the browse button and selecting mydomain.local\Active Employees, and then selected "Users with Exchange Mailboxes".
On the Conditions tab I left everything blank and when I clicked on Preview it returned the list of users I expected to see. After sending a test email and receiving an NDR from an email contact (not on the preview list) I realized something was
wrong.
At this point I found out how to query the group members using the shell and saw that all users in the entire domain were being put into the group. To resolve this I added a Condition for Company name and then tediously updated the field for each user
in AD. After querying the group from the shell again the results looked a little better - it was actually only pulling users with the correct "Company" in AD. The problem is it still seems to be ignoring the RecipientContainer parameter
and querying the entire domain instead of my Active Employees OU.
I have reproduced the same results whether creating the DDG from EMC or from the Shell. When I try to use the Set-DynamicDistributionGroup cmdlet to update the recipient container it warns me that the commad was successful but nothing has been modified.
This was supposed to be a simple solution for keeping our distribution groups up to date - maybe I should've known better...Hello Dave,
Thanks for the post. Let me tell you how I was able to go ahead and resolve the issue in my lab.
I had created a OU called Enabled users
Then I created Two different Child Ou's : Disabledusersou1 and DisabledUsersou2
So if I open the ADUC my OU would look something like this
EnabledUsers
Disbaledusersou1
Disbaledusersou2
Now I Had created users on all the above Ou's. When I created a Dynamicdistributiongroup with the recipientcontainer as EnabledUsers, it picked up users even from Disabledusersou1 and Disabledusersou2. Then I set the
customattribute1 to test in the DynamicDistributiongroup.
Then I went ahead and ran the following command
Get-mailbox | {$_.Organizationalunit -like "domain.local\EnabledUsers"}
The above command listed only the users from the enabledusers Ou. Now the next step was to go ahead and add the customattribute1 to test on the Users in the EnabledUsers OU. So I ran the following command
Get-mailbox | {$_.Organizationalunit -like "domain.local\EnabledUsers"} | set-mailbox -customattribute1 test
After I ran the above command. I waited for the AD replication. Once the Ad was replicated, I went ahead and did a Preview in the DynamicDistributiongroup and only found users from the EnabledUsers.
I even confirmed by sending an email to the dynamicdistributiongroup with a delivery receipt. I got the receipt for all the users in the EnabledUsers OU.
Waiting to hear from you
Naveen V Microsoft Forum Specialist -
Exchange 2010 dynamic distribution group - too many entries in results
Hi
I've inherited some dynamic groups that were created on exchange 2003 [about 50 groups]. When I run the following query I seem to get far too many users returned [looking via ADUC the group should have 2 users]. How can I ensure I get the correct results?
Get-Recipient -RecipientPReviewFilter (Get-DynamicDistributionGroup -Identity "All Staff IT").LDAPRecipientFilter | Select Name,PrimarySMTPAddress
ThanksHi,
How about filtering members in EMC?
I think the abnormal result related to the filter conditions.
How about the command that Rich provided?
Thanks
Mavis
Mavis Huang
TechNet Community Support -
Exchange 2007 - Edit Dynamic Distribution Group
Hello everyone,
I would like to edit a dynamic distribution group, the only way possible it seems is through the command shell. In the EMC on the properties of the dynamic distribution group on the Filter tab, I copied the data in the Recipients Filter box and edited it
to what I needed.
But how do I now apply it to the dynamic distribution group?
Thanks!If you are editing the filter directly, I would recommend using the Exchange Management Shell. You can also fallback to editing the group using ADSIEDIT.MSC as this information is stored on the AD object properties.
Once you have the edits completed, be sure to test your changes. If done improperly, it could cause issues
http://blogs.technet.com/b/dblanch/archive/2010/10/12/there-s-something-about-2007-dynamic-distribution-groups.aspx -
Article for managing contacts and group for Lync 2013
I came across this article, but it says it's for Lync 2010. Is there an updated one somewhere for Lync 2013?
http://office.microsoft.com/en-us/communicator-help/manage-your-contacts-and-contacts-list-HA101835254.aspx#_Toc311106901Hi
Check this link for Lync 2013
http://office.microsoft.com/en-in/videos/video-add-contacts-and-create-groups-in-lync-2013-VA104023099.aspx
http://office.microsoft.com/en-in/videos/redir/HA102828912.aspx?CTT=5&origin=VA104023099
http://office.microsoft.com/en-in/videos/redir/HA102832427.aspx?CTT=5&origin=VA104023099
Whenever you see a helpful reply, click on Vote As Helpful & click on Mark As Answer if a post answers your question. -
Dynamic Distribution Group on HOSTED exchange 2010 not setting up properly
Hi all,
We have a hosted exchange 2010, which prevents us from using the EMC.
I want to create a simple dynamic distribution group for every staff member in the organization but am facing a problem. I use the following command:
New-DynamicDistributionGroup -Organization "organizationname" -IncludedRecipients MailboxUsers -Name "Office"
This appears to work according to shell. In addition,
Get-DynamicDistributionGroup -Organization "organizationname"
DOES come up with "office" as a listing (though the "Managed by" field is empty. Should I care?)
However:
sending to that address creates a bounce-back "no such email address"
a look in AD shows that the object has been created somewhat incorrectly
It appears that while a group is nominatively created no email address is created attached to it (which should be [email protected]).
I am by no means a shell expert and have been bumping my head for a few days now, any suggestion would be great!
Thanks in advance,
RodolpheHey, thanks for your reply Willard.
Everything looks correct:
name: Office
Alias: Office
PrimarySmtpAddress: [email protected]
EmailAddressPolicyEnabled: False
The bounceback now is quoting a permissions issue
#< #5.7.1 smtp;550 5.7.1 RESOLVER.RST.AuthRequired; authentication required> #SMTP#
This actually gives me the clues to resolve:
When creating a distribution group through the EMC, by default it is "closed" so only members of that DDL can send to it. I have tested this by sending to it from an internal address and it does go through.
Set-DynamicDistributionGroup <name> -RequireSenderAuthenticationEnabled $False
resolves the issue to allow external senders.
Thanks for your help Willard, your question was enough to get me going in the right direction. Hopefully some other newbie will find this useful in the future. -
Exchange AA transfer to extension to Lync 2013
I'm having issues getting the Exchange AA to transfer to extensions when using key mapping. Basically you can say a person's name and it will transfer to their extension just fine but not with the key mapping.
We are using Exchange 2010 SP3 RU4 with Lync 2013 Hosting Pack.
I found the issue but not sure how to go about resolving it.
Lync User: [email protected]
Lync Extension: +15554443333;ext=151
Exchange Extension: 151
Dial plan in Lync 2013 will convert 3-digit numbers to: +15554443333;ext=$1 for these users
Each company has their own dial plan. This particular dial plan in Lync translates the 3-digit to the full number. The problem is the transfer from Exchange AA to Lync doesn't seem to use the user's dial plan. I also cannot put a translation on the Exchange
side to do this type of format: +15554443333;ext=$1
It looks like with the key mapping it is trying to transfer to this:
REFER-TO: <sip:151;[email protected];user=phone>
P-ASSERTED-IDENTITY: <sip:[email protected]>
But of course that doesn't exist. The SIP for this user is sip:[email protected]
I ran the Lync Debugging utility and saw this:
ms-diagnostics: 14011;reason="Called Number translated";source="LYNCFE0101.COMPSYSCLOUD.COM";RuleName="Keep All";CalledNumber="151";TranslatedNumber="151";appName="TranslationService"
Start-Line: SIP/2.0 403 Forbidden
From: <sip:[email protected];user=phone>;epid=786443AA96;tag=61bfdb74d3
To: <sip:151;[email protected];user=phone>;tag=7C193436618B4C0FD1DD5B0D9EA788A5
Call-ID: d71f8c3b-0b1e-45c5-b917-0bb71ab9e240
CSeq: 16062 INVITE
Via: SIP/2.0/TLS 10.1.15.6:50244;branch=z9hG4bKf79f7414;ms-received-port=50244;ms-received-cid=BC2600
Content-Length: 0
ms-diagnostics: 12004;reason="The user is not authorized to call the specified number or none of the
routes have a valid gateway configured.";source="LYNCFE0101.DOMAIN.COM";appName="OutboundRouting"
To: <sip:151;[email protected];user=phone>;tag=4FFA2DD9248FE7799456F95533983128
Call-ID: 92f65e8040e1453e85a09ef45bc27c18
CSeq: 16063 SERVICE
Via: SIP/2.0/TLS 10.1.15.1:61309;branch=z9hG4bK957FF7E7.C2D462B71F179899;branched=FALSE;ms-received-port=61309;ms-received-cid=AFA00
Via: SIP/2.0/TLS 10.1.15.6:50244;branch=z9hG4bK488849d7;ms-received-port=50244;ms-received-cid=BC2600
Content-Length: 0
ms-diagnostics: 1003;reason="User does not exist";destination="151;[email protected]";source="sip.domain.com"
ms-edge-proxy-message-trust: ms-source-type=EdgeProxyGenerated;ms-ep-fqdn=edge.domain.com;ms-source-verified-user=verifiedHi,
You need create a UM auto-attendant for each Lync Server dial plan with the following command:
New-umautoattendant -name <auto attendant name> -umdialplan < name of dial plan created in step 1> -PilotIdentifierList <auto attendant phone number in E.164 format> -SpeechEnabled $true -Status
Enabled
You can refer to the link of “Configure Unified Messaging on Microsoft Exchange”:
http://technet.microsoft.com/en-us/library/gg398129.aspx
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
Regarding Dynamic distribution Group filtering! - URGENT HELP
Hello Friends,
We have some employess in our company having primary SMTP address as
[email protected] as well as [email protected] as alias name.
I want to create Dynamic distribution group using recipient filter option.. I have tried various option.. nothing is worked out. can you please someone help on how to do this?
NOTE: I can able to filter using EMC filter : using "emailadresses" + "contains" @company2.com.......
KarthickYour requirement is unclear. reply back with what you are actually looking for!
if you want to use -RecipientFilter to Create/Manage Dynamic Distribution Groups then below are the few links which has the information about the values that you may use for -RecipientFilter
Filterable properties for the -RecipientFilter parameter
Filters
in recipient Shell commands
Using
PowerShell to Manage Dynamic Distribution Groups and Recipient Filters in Exchange Server
Create
Dynamic Distribution Groups Using Customised Filters
M.P.K ~ ( Exchange | 2003/2007/2010/E15(2013)) ~~ Please remember to click “Vote As Helpful" if it really helps and "Mark as Answer” if it answers your question, “Unmark as Answer” if a marked post does not actually answer your question. ~~ This
Information is provided is "AS IS" and confers NO Rights!! -
Upgrading Dynamic Distribution Groups
We're nearing our upgrade/migration from 2007 to 2013 and am at the stage where all users have moved off 2007. We wanted to unplug 2007 for a couple of weeks to see what would happen and within 24 hours noticed that email sent to a dynamic distribution
group was not being sent, but not received. After a day of scratching our heads we plugged 2007 back in and a few minutes later the emails came booming in.
We did create a DDG on 2013 and notice it is not manageable from 2007 so there is something that gets upgraded.....just what though?
So my question is how do I upgrade the existing dynamic distribution groups from 2007 to 2013?Hi,
From your description, I recommend you check if your dynamic distribution group has the Exchange 2007 Server configured as ExpansionServer.
Get-DynamicDistributionGroup -Filter {Expansionserver -ne $null} | ft Name,Expansionserver -AutoSize
If yes, I recommend you clear that setting using the following cmdlet:
Get-DynamicDistributionGroup -Filter {Expansionserver -ne $null} | Set-DistributionGroup -ExpansionServer $null
Hope it helps.
Best regards,
Amy Wang
TechNet Community Support -
Help with dynamic distribution group exclusion
Hi all,
Having a strange trouble with a dynamic distribution group filtering on the user being a member of a particular group
Recipient Filter is:
((((((((RecipientType -eq 'UserMailbox') -and (-not(Title -like '[]*')))) -and (MemberOfGroup -ne 'CN =ExcludeFromMoitorigList,OU=Mail Redirect,OU=System Accounts,OU=New Objects,DC=test,DC=local'))) -and (-not(UserAccountControl -eq 'AccountDisabled, NormalAccount, DoNotExpirePassword')))) -and (-not(Name -like 'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*')) -and (-not(RecipientTypeDetailsValue -eq 'MailboxPlan')) -and (-not(RecipientTypeDetailsValue -eq 'DiscoveryMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'ArbitrationMailbox')))
If I make a preview of this distribution list I get expected result. Users included in ExcludeFromMoitorigList group don't appear. But they continue receive emails sent to dynamic distribution group.
Any help is much appreciatedI'm not sure what all of the settings you are adding are for, but operating under the assumption that they are necessary, try this:
((((RecipientType -eq 'UserMailbox') -and (-not(Title -like '[]*')) -and (-not(MemberOfGroup -eq 'CN =ExcludeFromMoitorigList,OU=Mail Redirect,OU=System Accounts,OU=New Objects,DC=test,DC=local')))) -and (-not(UserAccountControl -eq 'AccountDisabled, NormalAccount, DoNotExpirePassword')))
If that doesn't work, try this:
((RecipientType -eq 'UserMailbox') -and (-not(Title -like '[]*')) -and (-not(MemberOfGroup -eq 'CN =ExcludeFromMoitorigList,OU=Mail Redirect,OU=System Accounts,OU=New Objects,DC=test,DC=local')) -and (-not(UserAccountControl -eq 'AccountDisabled, NormalAccount, DoNotExpirePassword')))
FYI, the reason for those suggestions is because I got this working on Exchange 2013 running on Server 2012 Datacenter by taking the existing RecipientFilter and adding the -not MemberOfGroup section, but noticed that all of this was then duplicated:
-and (-not(Name -like 'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*')) -and (-not(RecipientTypeDetailsValue -eq 'MailboxPlan')) -and (-not(RecipientTypeDetailsValue -eq 'DiscoveryMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'PublicFolderMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'ArbitrationMailbox'))
As such, I re-created it without that, and that's what I've done with your string. I also changed the -ne to a -not(-eq) and in the second example, got rid of some extra parenthesis that I'm not sure you need.
Also, note that in my working scenario, I used this command and put the filter I was setting where I have indicated <filter> (I left the double quotes in the command):
Set-DynamicDistributionGroup -Identity <Group> -RecipientFilter "<filter>" -
Create dynamic distribution group from 2 or more OU ?
How I can create Dynamic distribution group from 2 or more OU ?
I tried modified solution from this post:
http://social.technet.microsoft.com/Forums/office/en-US/11a338b9-dbca-4378-9cda-4590a5b8d0f7/exclude-specific-ou-or-user-from-dynamic-distribution-groups?forum=exchangesvrgenerallegacy
but I'm not sure will this work.Hi,
I have some tests in my environment using Exchange 2013. I use the following cmdlet to create a dynamic distribution group through multiple OUs, but it can't work as I expect.
New-DynamicDistributionGroup -Name "Users with mobile phones" -Alias "usermobile" -RecipientFilter{(((recipienttype -eq 'usermailbox') -and (MobilePhone -ne $null) -and ((RecipientContainer -eq 'contoso.com/users') -or (RecipientContainer -eq 'contoso.com/test
OU'))) )}
Actually, we have a dedicated support team regarding the Microsoft Scripts. I recommend you ask your question on our Microsoft Scripts forum which is staffed by more experts specializing in this kind of problems. Thanks for your understanding.
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?category=scripting
Hope it helps.
Best regards,
Amy Wang
TechNet Community Support -
Dynamic Distribution Group set conditions by importing text file?
Exchange 2010 SP2.
I created a dynamic distribution group via the EMC. We have populated AD with ExtenstionAttribute1 and ExtensionAttribute2. I have created the ddg with custom attribute1 value = employee. What I need to do now is populate custom attribute
2 = 00-0001, 00-0002, and so on. There are about 300 of these numbers I need to add. I have them in a text file or csv file. Instead of adding them one by one in the EMC, is there a way to import them via powershell to the existing ddg?
The ddg is called All Management Employees.If they go from 00-0001 to 00-0300, you could just add them as follows:
Set-DynamicDistributionGroup <group name> -RecipientFilter "(CustomAttribute1 -eq 'employee') -and (CustomAttribute2 -like '00-0*')"
However, if you have additional items like this (such as 00-0350, etc), you may need to use the following:
Set-DynamicDistributionGroup <group name> -RecipientFilter "(CustomAttribute1 -eq 'employee') -and ((CustomAttribute2 -like '00-00*') -or (CustomAttribute2 -like '00-01*') -or (CustomAttribute2 -like '00-02*') -or (CustomAttribute2 -eq '00-00300')"
Now, if your numbering isn't sequential and it can't be, you would need to add them individually - which may make your search filter unusable, in which case, you may need to create several dynamic groups and add them to a parent group. -
Dynamic Distribution Groups question
Can I create a dynamic distribution group based on Exchange Custom Attributes, specifically extensionAttribute6? I haven't used dynamic distribution groups yet, but now we have a need.
Hello,
Yes, it is possible. You can create dynamic distribution group using ConditionalCustomAttribute6 parameter: http://technet.microsoft.com/en-us/library/bb125127(v=exchg.150).aspx.
Maybe you are looking for
-
Multi-track recording question
Multi-track recording question Hey, just need some help on multi tracking using audition, hope this is the right forum? Wanted to know if anyone has a clue about assigning inputs from an audio interface to separate tracks on a recording program (ie:
-
Vista 64bit cannot install drivers for my new 80GB classic
Hi there, Vista cant install the drivers for my ipod. It seems to see a device then when it searches for the drivers it asks for a disc that came with the device ??? Does this actually knowingly work with vista 64 and if so how do i install the drive
-
I can't update my apps in my iPad because it asks me to sign in to an outdated id which is different to my current Apple ID
-
Since last week, we've been unable to manually create any HealthVault accounts in the PPE environment. We are trying to test the patient signup process for our application but keep hitting a wall when creating the actual HealthVault account. This has
-
Acrobat Online PDF Destinations Linking Problem
Hi I've created several destinations from several web pages to different end points within a single PDF document. Our testers are confirming an intermitent problem where they link to a different end point than is set for that link. Thi may occur 1 ou