Your SlideShare is downloading. ×
0
Ståle Hansen
Understand how Lync integrates
with Exchange

@

#NICconf
@

#NICconf
@

#NICconf
Scope

Lync Server

Lync Hybrid

Lync Online

Lync Server
Private cloud / dedicated

Single domain & directory
Users split...
Session Objectives And Takeaways
• Session Objectives:
• How Lync access Exchange
• Why Integrate
• Lync and Exchange in H...
HOW LYNC ACCESS EXCHANGE
@

#NICconf
Autodiscover
EWS
S2SOAuth

Autodiscover
EWS

Autodiscover
EWS
UCMA

UCMA

Lyncdiscover
UCWA
S2SOAuth

Published through au...
Exchange 2013 Mailbox
Exchange Web Services

@

#NICconf
Exchange 2013 Mailbox
Exchange Web Services

@

#NICconf
Online meetings from OWA
Exchange 2013 CU1
Mailbox

@

#NICconf
Existing Exchange integration
Exchange
UM

OWA IM

@

#NICconf
Feature Matrix
Lync 2010 Server & Client

Lync 2013 Server & Client

Lync 2010 Server and Lync
2013 Client

Lync 2013 Serv...
Core Functionality

EXCHANGE WEB SERVICES
(EWS)
@

#NICconf
The challenge, on-premises
• Outlook works perfectly with Exchange
• Using SCP records to locate autodiscover

• Lync clie...
Lync use DNS-based discovery method
http://<smtpdomain>/autodiscover/autodiscover.xml
https://<smtpdomain>/autodiscover/au...
MAPI fallback when EWS fails
•
•

Exchange delegation information (MAPI only)
Missed Conversations history and Call Logs a...
Features available only with EWS
•
•
•
•
•
•

Unified Contact Store
High-Resolution Photos
Meeting tab
Contact Information...
That is why we Lync folk care about
Exchange Web Services

@

#NICconf
Best Practice publishing EWS
• DNS A Record for autodiscover.domain.com
• SRV is supported, but not recommended
• Multidom...
Why integrate

THE FEATURES
@

#NICconf
Autodiscover
EWS
S2SOAuth

Autodiscover
EWS

Autodiscover
EWS
UCMA

UCMA

Lyncdiscover
UCWA
S2SOAuth

Published through au...
Server to Server OAuth (S2SOAuth)
• Trust
• One OAuth certificate per system

• Permissions
• One Partner Application per ...
Autodiscover
EWS
S2SOAuth

Autodiscover
EWS

Autodiscover
EWS
UCMA

UCMA

Lyncdiscover
UCWA
S2SOAuth

Published through au...
Unified Contact Store (UCS)
•
•
•
•

Store Lync 2013 contacts in Exchange 2013
Contact management outside Lync
LYSS used f...
@

#NICconf
Test-CsUnifiedContactStore
-TargetFqdn aeolyfe1.ateaedge.no
-UserSipAddress "sip:lync.buddy2@ateaedge.no"

Target Fqdn
Res...
@

#NICconf
Autodiscover
EWS
S2SOAuth

Autodiscover
EWS

Autodiscover
EWS
UCMA

UCMA

Lyncdiscover
UCWA
S2SOAuth

Published through au...
High Resolution Photo
• Is stored in an internal format, 241 Kb
• 64x64 is for the AD thumbnailPhoto version
• 96x96 is fo...
@

#NICconf
@

#NICconf
@

#NICconf
$photo = ([Byte[]]$(Get-Content -Path ("C:ScriptUsers"+$_.sam+".jpg") Encoding Byte -ReadCount 0))
Set-UserPhoto -Identity...
Autodiscover
EWS
S2SOAuth

Autodiscover
EWS

Autodiscover
EWS
UCMA

UCMA

Lyncdiscover
UCWA
S2SOAuth

Published through au...
• UCMA and UM is installed by default
• Voicemail
• All Lync clients
• Outlook, OWA, Active Sync

• Call Answering Rules

...
@

#NICconf
@

#NICconf
@

#NICconf
New-UMCallAnsweringRule
-Name MyCallAnsweringRule
-CallerIds "1,4255550100,,","1,4255550123,,"
-Priority 2
-CallersCanInte...
Autodiscover
EWS
S2SOAuth

Autodiscover
EWS

Autodiscover
EWS
UCMA

UCMA

Lyncdiscover
UCWA
S2SOAuth

Published through au...
• IM capabilities in OWA
• Use People hub for contact management
• Require UCS

• No custom presence states

@

#NICconf
Demo

@

#NICconf
Autodiscover
EWS
S2SOAuth

Autodiscover
EWS

Autodiscover
EWS
UCMA

UCMA

Lyncdiscover
UCWA
S2SOAuth

Published through au...
• Use S2SOAuth
• Locate UCWA through Lyncdiscover
• Make sure exchange reache Lyncdiscover

• All company employees joins ...
Demo

@

#NICconf
LYNC AND EXCHANGE IN
HYBRID SCENARIOS
@

#NICconf
Lync with Exchange Online
Lync and
Exchange
integration
features

Outlook
integration
(EWS, MAPI)

Outlook Web
App integra...
Exchange Online
• With Lync Server 2013 only (with directory synchronization)
• With Lync Server 2013 only (without direct...
Lync on-premises, Exchange Online
• Trust is established through NewCsHostingProvider

@

#NICconf
New-CsHostingProvider
-Identity “Exchange Online”
-Enabled $True
-EnabledSharedAddressSpace <true for lync
hybrid, false f...
• UM also need a hosted voicemailpolicy

@

#NICconf
New-CsHostedVoicemailPolicy
-identity Office365UM
-Destination exap.um.outlook.com
-Description “Office 365 Voicemail” Org...
New-csexumcontact
-displaynumber <E.164Number>
–sipaddress <SIP:Ex365UM@Domain.com>
-registrarpool <LyncFE>
-ou “<YourDesi...
Exchange Hybrid
• Lync Hybrid
• Same integration as regular on-premises

• Lync Online
• No steps needed

@

#NICconf
Session Objectives And Takeaways
• Session Objectives:
• Understand how Lync used Exchange
• Configuring Exchange and Lync...
Exchange integrations at #LyncConf14

@

#NICconf
Questions?

@

@NICconf
#NICconf
Please evaluate the session
before you leave

Thank you 

@

#NICconf
Technical references
•
•
•
•
•
•
•
•

•

Busting The Set-AutodiscoverVirtualDirectory Myth
Exchange Autodiscover & Lync
Un...
Upcoming SlideShare
Loading in...5
×

NIC - Understand how Lync integrates with Exchange - Level 300

7,067

Published on

The Microsoft Exchange integration is core functionality in Lync. This session will go through how the different clients access exchange calendar information and we will take a look at UCS, High-res photos, Lync in OWA and Exchange Unified Messaging as well as take a look at how Lync on-premises can integrate with Exchange Online

Published in: Education, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
7,067
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
103
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Right, thank you for the warm welcome. I am excited to be part of the Nordic infrastructure conference in its third as a third time speaker. Are there anyone here attending for the first time? Good you are in for two days packed with quality content I am stoked and excited to talk lync and exchange integrations. I think this is an important topic especially from an information workers point of view. Where you have this suite of products for productivity with different usecases
  • Why integrateThe story of collaborationLync, exchange, outlook, sharepoint, steven Johnson where good ideas come from, access across devices, native applications, personal productivity with office, I like what Microsoft are doing in terms of same experience across devicesMaking sure that works we are spending the next 45 minutes talking about regarding exchange and lync
  • Oslo Operahouse License Some rights reserved by Mirko Jungehttp://www.flickr.com/photos/45662099@N07/5439401734/sizes/z/in/photolist-9hEmCw-8BQZoY-9UvbKg-admvtg-ahm95W-8zm5Yh-8BMVYz-8BQYVw-9xLwn7-9mKvZb-8BR2Wj-8BMWxg-8BR35f-8BR2JJ-8BMWE8-8BMWfp-8BR2Ud-8BR39E-8BMWCH-8BR2CQ-8BR2LJ-8BR2YE-8BMTrH-8BMWzg-8BMWoK-adpkJS-c4nbfE/
  • Will go through how to configure but what is possible to configure
  • Retrieving conversation history failsExchange 2013 UCS failsNo High-Resolution photos
  • Remember to reapply settings to web.config after patching
  • New-CsHostingProvider -Identity “Exchange Online” -Enabled $True -EnabledSharedAddressSpace $True -HostsOCSUsers $False -ProxyFqdn “exap.um.outlook.com” -IsLocal $False -VerificationLevelUseSourceVerification
  • Transcript of "NIC - Understand how Lync integrates with Exchange - Level 300"

    1. 1. Ståle Hansen Understand how Lync integrates with Exchange @ #NICconf
    2. 2. @ #NICconf
    3. 3. @ #NICconf
    4. 4. Scope Lync Server Lync Hybrid Lync Online Lync Server Private cloud / dedicated Single domain & directory Users split – server / online Office 365 Lync Online Hosted multi-tenant @ #NICconf
    5. 5. Session Objectives And Takeaways • Session Objectives: • How Lync access Exchange • Why Integrate • Lync and Exchange in Hybrid scenarios • Key Takeaways • Exchange autodisover needs to be configures with Lync in mind • Some features are not available with Exchange Online @ #NICconf
    6. 6. HOW LYNC ACCESS EXCHANGE @ #NICconf
    7. 7. Autodiscover EWS S2SOAuth Autodiscover EWS Autodiscover EWS UCMA UCMA Lyncdiscover UCWA S2SOAuth Published through autodiscover LYSS Autodiscover S2SOAuth @ #NICconf
    8. 8. Exchange 2013 Mailbox Exchange Web Services @ #NICconf
    9. 9. Exchange 2013 Mailbox Exchange Web Services @ #NICconf
    10. 10. Online meetings from OWA Exchange 2013 CU1 Mailbox @ #NICconf
    11. 11. Existing Exchange integration Exchange UM OWA IM @ #NICconf
    12. 12. Feature Matrix Lync 2010 Server & Client Lync 2013 Server & Client Lync 2010 Server and Lync 2013 Client Lync 2013 Server and Lync 2010 Client Exchange 2010 mbx Legacy Legacy Legacy Legacy Exchange 2013 mbx Legacy New Legacy Legacy1,2 Exchange 2013 CU1 mbx Legacy • OWA IM • UM • Missed Call • Visual Voice Mail • Outlook Contacts • SharePoint Skill Search Online meeting scheduling in OWA New • UCS • HR Photo • Archiving into Exchange • OWA IM • UM • Missed Call • Visual Voice Mail • Outlook Contacts • SharePoint Skill Search 1) 2) Online meeting scheduling in OWA UCS Contacts are read-only Archiving into Exchange works @ #NICconf
    13. 13. Core Functionality EXCHANGE WEB SERVICES (EWS) @ #NICconf
    14. 14. The challenge, on-premises • Outlook works perfectly with Exchange • Using SCP records to locate autodiscover • Lync client is introduced, no exchange integration works @ #NICconf
    15. 15. Lync use DNS-based discovery method http://<smtpdomain>/autodiscover/autodiscover.xml https://<smtpdomain>/autodiscover/autodiscover.xml http://autodiscover.<smtpdomain>/autodiscover/autodiscover.xml https://autodiscover.<smtpdomain>/autodiscover/autodiscover.xml _autodiscover._tcp.<smtpdomain> @StaleHansen #NICconf
    16. 16. MAPI fallback when EWS fails • • Exchange delegation information (MAPI only) Missed Conversations history and Call Logs are written • • • Retrieving conversation history fails Voice Mail count only Exchange integrated Archiving will work Major failures • • • Presence update based on calendar Presence based on Out of Office messages All mobile clients fail to connect to Exchange @ #NICconf
    17. 17. Features available only with EWS • • • • • • Unified Contact Store High-Resolution Photos Meeting tab Contact Information Presence based on Calendar Information Conversation History • Missed Conversations • Missed Calls • Voice Mail Playback @ #NICconf
    18. 18. That is why we Lync folk care about Exchange Web Services @ #NICconf
    19. 19. Best Practice publishing EWS • DNS A Record for autodiscover.domain.com • SRV is supported, but not recommended • Multidomain? Use HTTP redirect • Publish using NTLM, no pre-authentication • EWS and autodiscover • Avoids authentication pop-up for EWS • No need to Set-AutodiscoverVirtualDirectory • Should point to HLB with correct autodiscover certificate @ #NICconf
    20. 20. Why integrate THE FEATURES @ #NICconf
    21. 21. Autodiscover EWS S2SOAuth Autodiscover EWS Autodiscover EWS UCMA UCMA Lyncdiscover UCWA S2SOAuth Published through autodiscover LYSS Autodiscover S2SOAuth @ #NICconf
    22. 22. Server to Server OAuth (S2SOAuth) • Trust • One OAuth certificate per system • Permissions • One Partner Application per system • Lync Server Storage Service (LYSS) @ #NICconf
    23. 23. Autodiscover EWS S2SOAuth Autodiscover EWS Autodiscover EWS UCMA UCMA Lyncdiscover UCWA S2SOAuth Published through autodiscover LYSS Autodiscover S2SOAuth @ #NICconf
    24. 24. Unified Contact Store (UCS) • • • • Store Lync 2013 contacts in Exchange 2013 Contact management outside Lync LYSS used for migration EWS to get contacts @ #NICconf
    25. 25. @ #NICconf
    26. 26. Test-CsUnifiedContactStore -TargetFqdn aeolyfe1.ateaedge.no -UserSipAddress "sip:lync.buddy2@ateaedge.no" Target Fqdn Result Latency Error Message Diagnosis : aeolyfe1.ateaedge.no : Success : 00:00:03.1190805 : : @StaleHansen #NICconf
    27. 27. @ #NICconf
    28. 28. Autodiscover EWS S2SOAuth Autodiscover EWS Autodiscover EWS UCMA UCMA Lyncdiscover UCWA S2SOAuth Published through autodiscover LYSS Autodiscover S2SOAuth @ #NICconf
    29. 29. High Resolution Photo • Is stored in an internal format, 241 Kb • 64x64 is for the AD thumbnailPhoto version • 96x96 is for OWA, Outlook, LWA and Lync 2013 • 648x648 is for LWA and Lync 2013 • Accessed through EWS @ #NICconf
    30. 30. @ #NICconf
    31. 31. @ #NICconf
    32. 32. @ #NICconf
    33. 33. $photo = ([Byte[]]$(Get-Content -Path ("C:ScriptUsers"+$_.sam+".jpg") Encoding Byte -ReadCount 0)) Set-UserPhoto -Identity $_.sam -PictureData $photo -Confirm:$False Set-UserPhoto -Identity $_.sam -Save -Confirm:$False @StaleHansen #NICconf
    34. 34. Autodiscover EWS S2SOAuth Autodiscover EWS Autodiscover EWS UCMA UCMA Lyncdiscover UCWA S2SOAuth Published through autodiscover LYSS Autodiscover S2SOAuth @ #NICconf
    35. 35. • UCMA and UM is installed by default • Voicemail • All Lync clients • Outlook, OWA, Active Sync • Call Answering Rules @ #NICconf
    36. 36. @ #NICconf
    37. 37. @ #NICconf
    38. 38. @ #NICconf
    39. 39. New-UMCallAnsweringRule -Name MyCallAnsweringRule -CallerIds "1,4255550100,,","1,4255550123,," -Priority 2 -CallersCanInterruptGreeting $true -Mailbox tonysmith @StaleHansen #NICconf
    40. 40. Autodiscover EWS S2SOAuth Autodiscover EWS Autodiscover EWS UCMA UCMA Lyncdiscover UCWA S2SOAuth Published through autodiscover LYSS Autodiscover S2SOAuth @ #NICconf
    41. 41. • IM capabilities in OWA • Use People hub for contact management • Require UCS • No custom presence states @ #NICconf
    42. 42. Demo @ #NICconf
    43. 43. Autodiscover EWS S2SOAuth Autodiscover EWS Autodiscover EWS UCMA UCMA Lyncdiscover UCWA S2SOAuth Published through autodiscover LYSS Autodiscover S2SOAuth @ #NICconf
    44. 44. • Use S2SOAuth • Locate UCWA through Lyncdiscover • Make sure exchange reache Lyncdiscover • All company employees joins as presenters and bypass the lobby @ #NICconf
    45. 45. Demo @ #NICconf
    46. 46. LYNC AND EXCHANGE IN HYBRID SCENARIOS @ #NICconf
    47. 47. Lync with Exchange Online Lync and Exchange integration features Outlook integration (EWS, MAPI) Outlook Web App integration (IM/P) Outlook Web App online meetings (scheduling) Unified Contact Store High-resolution contact photos Lync Online only Supported Supported Supported Supported Supported Lync Server 2013 only Supported Supported Not supported Not supported Supported Lync Server Supported 2013 hybrid deployment with Lync Online Supported Supported* Supported* Supported *Supported only for Lync Online users in the hybrid deployment. @ #NICconf
    48. 48. Exchange Online • With Lync Server 2013 only (with directory synchronization) • With Lync Server 2013 only (without directory synchronization) • DirSync is recommended for this scenario. • Add the user’s SIP address per user mailbox • With Lync Online in a hybrid deployment with Lync Server 2013 • DirSync is required • The msRTCSIP-PrimaryUserAddress attribute is set on-premises and synchronized to Microsoft Office 365. @ #NICconf
    49. 49. Lync on-premises, Exchange Online • Trust is established through NewCsHostingProvider @ #NICconf
    50. 50. New-CsHostingProvider -Identity “Exchange Online” -Enabled $True -EnabledSharedAddressSpace <true for lync hybrid, false for lync onprem or online> -HostsOCSUsers $False -ProxyFqdn “exap.um.outlook.com” -IsLocal $False -VerificationLevel UseSourceVerification @StaleHansen #NICconf
    51. 51. • UM also need a hosted voicemailpolicy @ #NICconf
    52. 52. New-CsHostedVoicemailPolicy -identity Office365UM -Destination exap.um.outlook.com -Description “Office 365 Voicemail” Organization “YOURDOMAIN.onmicrosoft.com” @StaleHansen #NICconf
    53. 53. New-csexumcontact -displaynumber <E.164Number> –sipaddress <SIP:Ex365UM@Domain.com> -registrarpool <LyncFE> -ou “<YourDesiredOU>" @StaleHansen #NICconf
    54. 54. Exchange Hybrid • Lync Hybrid • Same integration as regular on-premises • Lync Online • No steps needed @ #NICconf
    55. 55. Session Objectives And Takeaways • Session Objectives: • Understand how Lync used Exchange • Configuring Exchange and Lync integration • Lync on-premises with Exchange Online • Key Takeaways • Exchange autodisover needs to be configures with Lync in mind • Some features are not available with Exchange Online @ #NICconf
    56. 56. Exchange integrations at #LyncConf14 @ #NICconf
    57. 57. Questions? @ @NICconf #NICconf
    58. 58. Please evaluate the session before you leave Thank you  @ #NICconf
    59. 59. Technical references • • • • • • • • • Busting The Set-AutodiscoverVirtualDirectory Myth Exchange Autodiscover & Lync Understanding and Troubleshooting Microsoft Exchange Server Integration Using AutoDiscover with large numbers of accepted domains (Part 1) How does Lync 2010 use Exchange calendar information/ Lync 2013 Compatibility How to integrate Exchange Online with Lync Online, Lync Server 2013, or a Lync Server 2013 hybrid deployment Integrating Microsoft Lync Server 2013 and Microsoft Exchange Server 2013 Supported Lync Server 2013 Hybrid Configurations @ #NICconf
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×