{"id":59,"date":"2012-10-17T15:05:00","date_gmt":"2012-10-17T15:05:00","guid":{"rendered":"\/post\/2012\/10\/17\/Add-all-Lync-enabled-users-to-a-Active-directory-Group.aspx"},"modified":"2012-10-17T15:05:00","modified_gmt":"2012-10-17T15:05:00","slug":"add-all-lync-enabled-users-to-a-active-directory-group","status":"publish","type":"post","link":"https:\/\/www.vatland.no\/index.php\/add-all-lync-enabled-users-to-a-active-directory-group\/","title":{"rendered":"Add all Lync enabled users to a Active directory Group."},"content":{"rendered":"<p>Needed&nbsp;one AD group that contained all Lync enabled users. Here this &nbsp;group is called&nbsp;&#8220;A-Lync&#8221;&nbsp;<\/p>\n<p>import-module lync<br \/>Import-Module activedirectory<br \/>$lu=get-csuser<br \/>$lu|ForEach-Object{<br \/>&nbsp;&nbsp;&nbsp; $_.Samaccountname<br \/>&nbsp;&nbsp;&nbsp; Add-ADPrincipalGroupMembership -MemberOf A-Lync -Identity $_.Samaccountname <br \/>}<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Needed&nbsp;one AD group that contained all Lync enabled users. Here this &nbsp;group is called&nbsp;&#8220;A-Lync&#8221;&nbsp; import-module lyncImport-Module activedirectory$lu=get-csuser$lu|ForEach-Object{&nbsp;&nbsp;&nbsp; $_.Samaccountname&nbsp;&nbsp;&nbsp; Add-ADPrincipalGroupMembership -MemberOf A-Lync -Identity $_.Samaccountname } &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6],"tags":[],"class_list":["post-59","post","type-post","status-publish","format-standard","hentry","category-lync"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":false,"jetpack-related-posts":[{"id":683,"url":"https:\/\/www.vatland.no\/index.php\/lync-licensed-user-is-not-showing-up-in-lync-admin-center\/","url_meta":{"origin":59,"position":0},"title":"Lync Licensed user is not showing up in Lync Admin Center","author":"Atle","date":"April 29, 2016","format":false,"excerpt":"Some users was missing in Office 365 Skype admin center. I verified that they had a Skype license plan assigned. Tried to remove and readd - did not help. These users are replicated from on premise to cloud using Azure AD sync. Turned out these users had previously been Lync\u2026","rel":"","context":"In &quot;Lync&quot;","block_context":{"text":"Lync","link":"https:\/\/www.vatland.no\/index.php\/category\/lync\/"},"img":{"alt_text":"msrtcdeployment","src":"https:\/\/i0.wp.com\/www.vatland.no\/wp-content\/uploads\/2016\/04\/msrtcdeployment-300x139.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":13,"url":"https:\/\/www.vatland.no\/index.php\/lync-client-will-not-show-contact-photos-when-external\/","url_meta":{"origin":59,"position":1},"title":"Lync client will not show contact photos when external.","author":"Atle","date":"March 13, 2014","format":false,"excerpt":"Installed Lync 2013 on a Windows 2012R2 server. When I login with an external Lync\u00a0Client there are no photos of internal users. A\u00a0validation shows that the thumbnailPhoto attribute has bin populated with images\u00a0of the correct size.If the\u00a0client Connect directly to the frontend server\u00a0photos are presented correctly.An examination of the Lync\u00a0Addressbook\u2026","rel":"","context":"In &quot;Lync&quot;","block_context":{"text":"Lync","link":"https:\/\/www.vatland.no\/index.php\/category\/lync\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":37,"url":"https:\/\/www.vatland.no\/index.php\/missed-call-notification-from-lync-missing-in-users-mailbox\/","url_meta":{"origin":59,"position":2},"title":"Missed Call notification from Lync missing in users mailbox.","author":"Atle","date":"June 13, 2013","format":false,"excerpt":"A new install of Lync and Exchange. Enabled enterprise voice and Unified Messaging. Useres never get missed call notifications in their mailbox. On the exchange server there where several entries in the eventviewer complaining about smtp and voice mail files. \u00a0 Solution to this is to verify that the receive\u2026","rel":"","context":"In &quot;Exchange&quot;","block_context":{"text":"Exchange","link":"https:\/\/www.vatland.no\/index.php\/category\/exchange\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":361,"url":"https:\/\/www.vatland.no\/index.php\/lync-2013-management-shell-will-not-start\/","url_meta":{"origin":59,"position":3},"title":"Lync 2013 Management Shell will not start.","author":"Atle","date":"October 28, 2014","format":false,"excerpt":"If you are running Windows 2012R2 and install Lync server 2013 you might have problems starting Lync Management Shell. The Powershell Windows pops-up but no content appears. To get pass this I try to run PowerShell as Administrator and then run \"import-module Lync\"","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"Lyncserver","src":"https:\/\/i0.wp.com\/www.vatland.no\/wp-content\/uploads\/2014\/08\/Lyncserver-300x94.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":14,"url":"https:\/\/www.vatland.no\/index.php\/lync-unified-contact-store-ucs\/","url_meta":{"origin":59,"position":4},"title":"Lync Unified Contact Store &#8211; UCS","author":"Atle","date":"March 7, 2014","format":false,"excerpt":"How do I check and enable Lync UCS? First of all you need Exchange 2013 , then\u00a0make sure you have enabled UCS in Lync server. By running get-csuserservicesPolicy and verify it has been set to UCSAllowed=TRUE Next check you client policy. Get-CsClientPolicy should show you \"EnableExchangeContactSync = true\" for the\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"USERSP","src":"https:\/\/i0.wp.com\/www.vatland.no\/wp-content\/uploads\/2014\/03\/USERSP-300x71.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":192,"url":"https:\/\/www.vatland.no\/index.php\/disable-missed-call-notification-in-lync\/","url_meta":{"origin":59,"position":5},"title":"Disable missed call notification in Lync","author":"Atle","date":"May 26, 2014","format":false,"excerpt":"If you have Lync enterprise enabled,\u00a0and use simultaneous ringing on Lync and mobile, you are probably tired of all the Missed Call Notifications in your\u00a0 inbox. I have disabled this\u00a0in the Lync Client policy Set-CsClientPolicy -Identity \"PolicyName\" -EnableCallLogAutoArchiving $False You will still get your IM conversations saved in Outlook.","rel":"","context":"In &quot;Lync&quot;","block_context":{"text":"Lync","link":"https:\/\/www.vatland.no\/index.php\/category\/lync\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/posts\/59","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/comments?post=59"}],"version-history":[{"count":0,"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/posts\/59\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/media?parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/categories?post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/tags?post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}