%3CLINGO-SUB%20id%3D%22lingo-sub-607704%22%20slang%3D%22en-US%22%3EDemystifying%20Hybrid%20Free%2FBusy%3A%20what%20are%20the%20moving%20parts%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-607704%22%20slang%3D%22en-US%22%3E%3CP%3EHybrid%20Free%2FBusy%20is%20one%20of%20those%20things%20that%20many%20people%20do%20not%20fully%20understand.%20If%20everything%20works%20well%2C%20the%20complexity%20is%20hidden%20from%20view%20and%20people%20working%20in%20various%20parts%20of%20organization%20can%20seamlessly%20work%20together.%20But%20if%20things%20go%20wrong%E2%80%A6%20you%20will%20appreciate%20deeper%20understanding%20of%20what%20makes%20it%20work.%20This%20is%20why%20we%20wanted%20to%20create%20the%20blog%20post%20series%20on%20the%20subject.%20In%20this%20article%2C%20we%20will%20discuss%20how%20Free%2FBusy%20works%20in%20an%20Exchange%20Hybrid%20configuration.%20In%20next%20blog%20post%2C%20you%20will%20learn%20what%20we%20(Microsoft%20Support)%20see%20as%20the%20most%20common%20problems%20along%20with%20how%20we%20go%20about%20diagnosing%20those%20(often)%20complex%20issues.%20Hope%20you%20like%20reading%2C%20because%20there%20is%20a%20lot%20to%20cover!%20%3CB%3ESo%2C%20what%20is%20Free%2FBusy%3F%3C%2FB%3E%20Free%2FBusy%20is%20a%20feature%20that%20allows%20you%20to%20see%20when%20others%20are%20%3CB%3Efree%3C%2FB%3E%20(their%20calendar%20shows%20availability)%2C%20%3CB%3Ebusy%3C%2FB%3E%20(their%20calendar%20shows%20them%20as%20busy)%2C%20or%20even%20%3CB%3EOut%20of%20Office%3C%2FB%3E%2C%20or%20%3CB%3ESomething%20Else%3C%2FB%3E%20(tentative%20or%20working%20away)%20so%20that%20you%20can%20find%20an%20appropriate%20time%20for%20your%20meetings.%20Calling%20it%20all%20%E2%80%9CFree%2FBusy%2FOOF%2FSomething-Else%E2%80%9D%20didn%E2%80%99t%20sound%20so%20cool%20to%20marketing%20hence%20%E2%80%9CFree%2FBusy%E2%80%9D.%20In%20a%20Hybrid%20deployment%2C%20we%20usually%20have%20some%20mailboxes%20in%20Exchange%20On-Premises%20and%20some%20mailboxes%20in%20Exchange%20Online%20(users%20are%20in%20different%20premises)%20and%20this%20has%20to%20work%20there%20too.%20One%20of%20the%20most%20important%20parts%20in%20Hybrid%20Configurations%20is%20the%20Federation%20Trust%20and%20many%20features%2C%20including%20Free%2FBusy%20can%20rely%20upon%20this.%20%3CB%3EA%20quick%20overview%20of%20a%20hybrid%20deployment%20with%20a%20focus%20on%20Federation%20Trust%20components%3C%2FB%3E%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2F2018%2F02%2FHFB1.jpg%22%20target%3D%22_blank%22%3E%3CIMG%20width%3D%22887%22%20height%3D%22403%22%20title%3D%22HFB1%22%20style%3D%22border%3A%200px%20currentcolor%22%20alt%3D%22HFB1%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2F2018%2F02%2FHFB1_thumb.jpg%22%20border%3D%220%22%20%2F%3E%3C%2FA%3E%20In%20%3CB%3EContoso%20%E2%80%93%20On-Premises%20side%3C%2FB%3E%20we%20have%20on-premises%20Exchange%20Servers%20and%20mailboxes.%20We%20also%20have%20a%20federation%20trust%20with%20the%20Microsoft%20Federated%20Gateway%20(MFG)%20-%20now%20called%20Azure%20Authentication%20System.%20A%20Federation%20trust%20is%20not%20set%20by%20default%20for%20Exchange%20On-Premises%20organizations%20and%20we%20can%20either%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Flibrary%2Fjj657462(v%3Dexchg.150).aspx%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ecreate%20it%20manually%3C%2FA%3E%20or%20run%20the%20Hybrid%20Configuration%20Wizard%20(HCW)%20which%20will%20do%20this%20for%20us.%20If%20you%20don%E2%80%99t%20have%20already%20a%20federation%20trust%20established%20on-premises%20(usually%20for%20purposes%20to%20share%20F%2FB%20with%20another%20on-premises%20organization)%20and%20you%20plan%20for%20a%20Hybrid%20deployment%2C%20then%20we%20strongly%20recommend%20you%20run%20HCW%20to%20automatically%20create%20the%20Federation%20Trust.%20In%20%3CB%3EContoso%20%E2%80%93%20Cloud%20Side%3C%2FB%3E%20there%20are%20Office%20365%20Exchange%20Online%20servers%2C%20your%20Office%20365%20tenant%20and%20mailboxes%20migrated%20from%20on-premises.%20A%20Federation%20trust%20with%20the%20MFG%20is%20automatically%20created%20for%20cloud-only-based%20Exchange%20organizations%20whom%20do%20not%20have%20a%20Hybrid%20relationship%20to%20an%20on-premises%20organization.%20If%20you%20run%20Get-FederationTrust%20cmdlet%20in%20Exchange%20Online%20PowerShell%20(see%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fjj984289(v%3Dexchg.160).aspx%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehere%3C%2FA%3E%20how%20to%20connect%20to%20Exchange%20Online%20PowerShell)%20you%20would%20see%20two%20trusts%3A%20%E2%80%9C%3CI%3EWindowsLiveId%3C%2FI%3E%E2%80%9D%20(Consumer%20Instance%20of%20Microsoft%20Federation%20Gateway)%20and%20%E2%80%9C%3CI%3EMicrosoftOnline%3C%2FI%3E%E2%80%9D%20(Business%20Instance%20of%20Microsoft%20Federation%20Gateway)%20.%3C%2FP%3E%3CP%20class%3D%22note%22%3ENote%3A%20As%20a%20troubleshooting%20tip%2C%20you%20might%20want%20to%20make%20sure%20the%20Application%20Identifier%20is%20%E2%80%9C260563%E2%80%9D%20and%20the%20Application%20Uri%20is%20%E2%80%9Coutlook.com%E2%80%9D%20for%20both%3B%20in%20case%20you%20have%20a%20different%20App%20ID%20(292841)%20and%20a%20different%20App%20URI%20(outlook.live.com)%20for%20a%20Cloud%3CI%3E%20%3C%2FI%3Etrust%2C%20this%20means%20your%20tenant%20has%20an%20old%20reference%20pointing%20to%20MFG%20and%20most%20probably%20Free%2FBusy%20from%20on-premises%20to%20cloud%20would%20fail%20with%20a%20quite%20generic%20401%20Unauthorized%20error.%20If%20you%20were%20to%20find%20yourself%20in%20a%20such%20situation%2C%20please%20open%20a%20support%20case%20with%20Microsoft%20to%20get%20it%20resolved.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1759314010%22%20id%3D%22toc-hId--1442317190%22%3EAbout%20Free%2FBusy%20lookup%20directionality%3C%2FH2%3ETo%20guide%20you%20to%20the%20correct%20troubleshooting%20steps%20we%20first%20need%20to%20determine%20what%20direction%20Free%2FBusy%20queries%20are%20failing%20in.%20Understanding%20how%20Free%2FBusy%20works%20in%20general%20and%20the%20direction%20that%20lookups%20are%20failing%20can%20greatly%20simplify%20the%20troubleshooting%20steps.%20Simply%20said%2C%20there%20are%202%20possible%20Free%2FBusy%20directions%20(referring%20to%20our%20example%20above)%3A%20When%20Joe%20looks%20up%20Jane%E2%80%99s%20Free%2FBusy%2C%20the%20Free%2FBusy%20direction%20is%20%3CB%3EOn-premises%20to%20Cloud%3C%2FB%3E.%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2F2018%2F02%2FHFB2.jpg%22%20target%3D%22_blank%22%3E%3CIMG%20width%3D%22907%22%20height%3D%22391%22%20title%3D%22HFB2%22%20style%3D%22border%3A%200px%20currentcolor%22%20alt%3D%22HFB2%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2F2018%2F02%2FHFB2_thumb.jpg%22%20border%3D%220%22%20%2F%3E%3C%2FA%3E%20When%20Jane%20looks%20up%20Joe%E2%80%99s%20Free%2FBusy%2C%20the%20Free%2FBusy%20direction%20is%20%3CB%3ECloud%20to%20On-Premises%3C%2FB%3E%20%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2F2018%2F02%2FHFB3.jpg%22%20target%3D%22_blank%22%3E%3CIMG%20width%3D%22901%22%20height%3D%22389%22%20title%3D%22HFB3%22%20style%3D%22border%3A%200px%20currentcolor%22%20alt%3D%22HFB3%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2F2018%2F02%2FHFB3_thumb.jpg%22%20border%3D%220%22%20%2F%3E%3C%2FA%3E%3C%2FSTRONG%3E%20Now%20that%20you%20are%20familiar%20with%20the%20Free%2FBusy%20directions%2C%20we%20should%20take%20a%20moment%20to%20discuss%20how%20it%20all%20works.%20Let%20me%20set%20the%20stage%20for%20the%20below%20diagram%3A%20%3CA%3Ejoe%40contoso.com%3C%2FA%3E%20has%20his%20mailbox%20in%20Exchange%20on-premises%20and%20%3CA%3Ejane%40contoso.com%3C%2FA%3E%20has%20been%20moved%20to%20Exchange%20Online.%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2F2018%2F02%2FHFB_corrected.jpg%22%20target%3D%22_blank%22%3E%3CIMG%20width%3D%22928%22%20height%3D%22376%22%20class%3D%22alignnone%20wp-image-28185%22%20alt%3D%22%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2F2018%2F02%2FHFB_corrected-1024x415.jpg%22%20%2F%3E%3C%2FA%3E%20In%20Exchange%20on-premises%2C%20%3CA%3Ejoe%40contoso.com%3C%2FA%3E%20is%20a%20Mailbox%20User.%20Because%20%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FSet-up-directory-synchronization-for-Office-365-1b3b5318-6977-42ed-b5c7-96fa74b08846%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EDirectory%20Synchronization%3C%2FA%3E%20is%20a%20requirement%20for%20Hybrid%20Deployments%2C%20%3CA%3Ejoe%40contoso.com%3C%2FA%3E%20(mailbox)%20is%20synced%20to%20the%20cloud%20and%20represented%20as%20a%20Mail%20Enabled%20User%20(MEU)%20object%20in%20Cloud%20with%20Target%20Address%20(TA)%20of%20%3CA%3Ejoe%40contoso.com%3C%2FA%3E.%20%3CA%3Ejane%40contoso.com%3C%2FA%3E%20was%20once%20a%20Mailbox%20User%20in%20Exchange%20on-premises.%20Her%20mailbox%20was%20then%20migrated%20to%20Exchange%20Online.%20Jane%20now%20has%20a%20Mailbox%20User%20in%20Exchange%20Online%20and%20is%20represented%20as%20a%20Remote%20Mailbox%20(RM)%20object%20in%20Exchange%20On-Premises.%20Jane%20has%20a%20Primary%20SMTP%20address%20(%3CB%3ESMTP%3C%2FB%3E%3A%20%3CA%3Ejane%40contoso.com%3C%2FA%3E)%20and%20a%20secondary%20smtp%20address%20(%3CB%3Esmtp%3C%2FB%3E%3A%20%3CA%3Ejane%40contoso.mail.onmicrosoft.com%3C%2FA%3E).%20Notice%20how%20we%20refer%20to%20a%20primary%20email%20address%20(SMTP)%20and%20to%20a%20secondary%20email%20address%20(smtp).%20According%20to%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Faa996954(v%3Dexchg.65).aspx%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ETechNet%3C%2FA%3E%2C%20the%20difference%20between%20primary%20and%20secondary%20addresses%20is%20that%20the%20primary%20address%20serves%20as%20the%20return%20e-mail%20address.%20When%20mail%20is%20received%20from%20a%20recipient%2C%20the%20primary%20address%20determines%20which%20address%20the%20mail%20appears%20to%20have%20come%20from.%20Recipients%20can%20receive%20mail%20sent%20to%20any%20of%20the%20addresses%20associated%20with%20them%20(primary%20or%20secondary).%20The%20Target%20Address%20(TA)%20of%20the%20on-premises%20Remote%20Mailbox%20object%20is%20represented%20as%20%3CA%3Ejane%40tenant.mail.onmicrosoft.com%3C%2FA%3E%20(secondary%20smtp)%20and%20this%20is%20%3CI%3Ecrucial%3C%2FI%3E%20for%20Autodiscover%20and%20email%20routing%20from%20on-premises%20to%20cloud.%20A%20successful%20Autodiscover%20query%20is%20important%20in%20the%20Free%2FBusy%20process%20as%20it%20provides%20us%20with%20the%20Availability%20Service%20URL%20of%20the%20user%20which%20is%20the%20External%20EWS%20URL%20of%20an%20Exchange%20Organization.%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fhh529921(v%3Dexchg.150).aspx%23Hybrid%20configuration%20options%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EThis%20TechNet%3C%2FA%3E%20article%20gives%20us%20more%20information%20on%20this%20%3CB%3E%3CDOMAIN%3E.mail.onmicrosoft.com%3C%2FDOMAIN%3E%3C%2FB%3E%20secondary%20email%20address%3A%3CBLOCKQUOTE%3E%3CI%3EThe%20wizard%20(HCW)%20adds%20an%20accepted%20domain%20to%20the%20on-premises%20organization%20for%20hybrid%20mail%20flow%20and%20Autodiscover%20requests%20for%20the%20cloud%20organization.%20This%20domain%2C%20referred%20to%20as%20the%20%3CEM%3Ecoexistence%20domain%3C%2FEM%3E%2C%20is%20added%20as%20a%20secondary%20proxy%20domain%20(%3C%2FI%3E%3CI%3Econtoso.mail.onmicrosoft.com%3C%2FI%3E%3CI%3E)%20to%20any%20email%20address%20policies%20which%20have%20%3CEM%3EPrimarySmtpAddress%3C%2FEM%3E%20templates%20for%20domains%20selected%20in%20the%20Hybrid%20Configuration%20wizard(%3C%2FI%3E%3CI%3Econtoso.com%3C%2FI%3E%3CI%3E).%20By%20default%2C%20this%20domain%20is%20%3CDOMAIN%3E.mail.onmicrosoft.com%3C%2FDOMAIN%3E%3C%2FI%3E.%3C%2FBLOCKQUOTE%3ETable%20below%20illustrates%20the%20hybrid%20user%20objects%20discussed%20above%20as%20well%20as%20how%20to%20look%20them%20up.%3CUL%3E%0A%20%20%3CLI%3EOn-premises%20commands%20%3D%20Exchange%20Management%20Shell%3C%2FLI%3E%0A%20%20%3CLI%3ECloud%20commands%20%3D%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Flibrary%2Fjj984289(v%3Dexchg.160).aspx%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EExchange%20Online%20PowerShell%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH3%20id%3D%22toc-hId--989356456%22%20id%3D%22toc-hId--751755716%22%3ETypical%20Hybrid%20user%20objects%20configuration%3C%2FH3%3E%0A%3CTABLE%20border%3D%221%22%20cellspacing%3D%220%22%20cellpadding%3D%220%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTH%20width%3D%22230%22%20valign%3D%22top%22%3EOn-premises%20commands%3C%2FTH%3E%0A%3CTH%20width%3D%22230%22%20valign%3D%22top%22%3EOn-premises%20objects%3C%2FTH%3E%0A%3CTH%20width%3D%22230%22%20valign%3D%22top%22%3ECorresponding%20cloud%20objects%3C%2FTH%3E%0A%3CTH%20width%3D%22230%22%20valign%3D%22top%22%3ECloud%20commands%3C%2FTH%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTH%20width%3D%22230%22%20valign%3D%22top%22%3E%3C%2FTH%3E%0A%3CTH%20width%3D%22230%22%20valign%3D%22top%22%3EON-PREM%20MAILBOX%20USER%3C%2FTH%3E%0A%3CTH%20width%3D%22230%22%20valign%3D%22top%22%3EMAIL%20ENABLED%20USER%20IN%20CLOUD%3C%2FTH%3E%0A%3CTH%20width%3D%22230%22%20valign%3D%22top%22%3E%3C%2FTH%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3EGet-mailbox%20Joe%40contoso.com%20%7C%20FT%20PrimarySMTPaddress%3C%2FTD%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3EOn-premises%20mailbox%20user%20with%20SMTP%3A%20Joe%40contoso.com%3C%2FTD%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3ECloud%20mail%20enabled%20user%20with%20SMTP%3A%20Joe%40contoso.com%3C%2FTD%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3EGet-MailUser%20Joe%40contoso.com%20%7C%20FT%20PrimarySMTPAddress%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3E(Get-mailbox%20Joe%40contoso.com).%20EmailAddresses%3C%2FTD%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3EOn-premises%20mailbox%20user%20has%20a%20secondary%20smtp%20address%20of%20%40contoso.mail.%20onmicrosoft.com%20configured%20by%20HCW%20(Email%20Address%20Policies)%3C%2FTD%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3ECloud%20mail%20enabled%20user%20has%20this%20secondary%20smtp%20Joe%40contoso.mail.%20onmicrosoft.com%3C%2FTD%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3E(Get-mailuser%20Joe%40contoso.com).%20EmailAddresses%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3E(Get-mailbox%20Joe%40contoso.com).%20EmailAddresses%3C%2FTD%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3EOn-premises%20mailbox%20user%20has%20a%20secondary%20smtp%20Joe%40contoso.mail.%20onmicrosoft.com%3C%2FTD%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3ECloud%20mail%20enabled%20user%20has%20an%20ExternalEmailAddress%20Joe%40contoso.com%3C%2FTD%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3EGet-MailUser%20Joe%40contoso.com%20%7CFT%20ExternalEmailAddress%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3E%3C%2FTD%3E%0A%3CTH%20width%3D%22230%22%20valign%3D%22top%22%3EREMOTE%20MAILBOX%20ON-PREM%3C%2FTH%3E%0A%3CTH%20width%3D%22230%22%20valign%3D%22top%22%3EMAILBOX%20USER%20IN%20CLOUD%3C%2FTH%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3EGet-RemoteMailbox%20Jane%40contoso.com%20%7CFT%20primarySMTPaddress%3C%2FTD%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3ERemote%20mailbox%20SMTP%3A%20Jane%40contoso.com%3C%2FTD%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3EMailbox%20User%20SMTP%3A%20Jane%40contoso.com%3C%2FTD%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3EGet-Mailbox%20Jane%40contoso.com%20%7CFT%20PrimarySMTPAddress%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3EGet-RemoteMailbox%20Jane%40contoso.com%20%7C%20FT%20RemoteRoutingAddress%3C%2FTD%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3ERemote%20mailbox%20TargetAddress%3A%20Jane%40contoso.mail.%20onmicrosoft.com%3C%2FTD%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3EMailbox%20User%20smtp%3A%20Jane%40contoso.mail.%20onmicrosoft.com%3C%2FTD%3E%0A%3CTD%20width%3D%22230%22%20valign%3D%22top%22%3E(Get-Mailbox%20Jane%40contoso.com).%20EmailAddresses%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3ENow%20that%20we%20understand%20user%20objects%20and%20their%20relevant%20properties%2C%20we%20should%20come%20back%20to%20Free%2FBusy%20directions.%20Between%20the%20on-premises%20organization%20and%20cloud%20organization%20there%20are%20bidirectional%20Organization%20Relationships%20and%2For%20bidirectional%20Intra%20Organization%20Connectors%20(for%20Exchange%202013%20or%20later)%20that%20are%20created%20during%20Hybrid%20Configuration.%20The%20source%20of%20these%20Relationships%20%2F%20Connectors%20plays%20an%20important%20role%20in%20the%20F%2FB%20directionality.%20The%20Free%2FBusy%20directions%20are%3A%3CH3%20id%3D%22toc-hId-753453879%22%20id%3D%22toc-hId-1735757117%22%3EDirection%20On-premises%20to%20Cloud%3C%2FH3%3EYou%20are%20logged%20in%20to%20Outlook%20on%20the%20Web%20or%20Outlook%20on%20Windows%20as%20an%20on-premises%20user%20(joe%40contoso.com)%2C%20you%E2%80%99re%20your%20mailbox%20hosted%20on%20your%20on-premises%20Exchange%20server.%20As%20an%20on-premises%20user%20you%20wish%20to%20have%20a%20meeting%20with%20the%20cloud%20user%20(jane%40contoso.com)%20but%20will%20first%20have%20to%20check%20their%20availability%20for%20the%20meeting.%20Let%E2%80%99s%20walk%20through%20the%20process%3A%201.%20Joe%20creates%20a%20meeting%20request%20and%20adds%20Jane%20as%20an%20attendee.%202.%20The%20on-premises%20Exchange%20server%20in%20Contoso%20determines%20(usually%20based%20on%20Target%20Address%20of%20the%20mail-enabled%20user)%20that%20Jane%20is%20not%20a%20local%20mailbox%20and%20has%20a%20different%20domain%20name%20of%20%3CB%3Econtoso.mail.onmicrosoft.com%3C%2FB%3E%20set%20as%20the%20Target%20Address.%203.%20The%20Availability%20Service%20on%20the%20on-premises%20Exchange%20server%20(Client%20Access%20Server%20if%20Ex2010%20or%20Mailbox%20Server%20if%202013%2F2016)%20in%20Contoso%20then%20checks%20to%20see%20if%20there%20is%20a%20path%20to%20query%20Jane%E2%80%99s%20Free%2FBusy%20information%20for%20Contoso%E2%80%99s%20cloud%20side.%3CUL%3E%0A%20%20%3CLI%3EFirst%2C%20we%20check%20if%20we%20have%20an%20%3CB%3EIntra-Organization%20Connector%20(1)%3C%2FB%3E%20with%20the%20domain%20name%20of%20contoso.mail.onmicrosoft.com%20(assuming%20the%20%3CB%3EExchange%20server%20is%20version%202013%20or%20later%3C%2FB%3E).%3C%2FLI%3E%0A%20%20%3CLI%3EIf%20an%20IOC%20does%20not%20exist%2C%20then%20we%20look%20to%20see%20if%20an%20%3CB%3EOrganization%20Relationship%20(2)%3C%2FB%3E%20is%20configured%20by%20looking%20for%20the%20domain%20name%20of%20contoso.mail.onmicrosoft.com%20in%20the%20list%20of%20any%20existing%20Organization%20Relationships.%3C%2FLI%3E%0A%20%20%3CLI%3EIf%20neither%20an%20IOC%20nor%20an%20Organization%20Relationship%20for%20the%20domain%20contoso.mail.onmicrosoft.com%20exists%2C%20then%20we%20look%20for%20the%20domain%20name%20contoso.mail.onmicrosoft.com%20as%20an%20%3CB%3EAvailability%20Address%20Space%20(3)%3C%2FB%3E.%3C%2FLI%3E%0A%3C%2FUL%3E4.%20Assuming%20we%20would%20have%20an%20Exchange%202010-only%20environment%20in%20the%20on-premises%20and%20we%E2%80%99ve%20ran%20HCW%20successfully%2C%20we%20should%20expect%20to%20see%20both%20an%20Organization%20Relationship%20as%20well%20as%20a%20Federation%20Trust%20which%20combined%20is%20the%20second%20option%20from%20step%20%233.%20The%20Target%20ApplicationURI%20in%20the%20Contoso%20on-premises%20Organization%20Relationship%20is%20set%20to%20outlook.com%2C%20which%20is%20an%20identifier%20for%20the%20Contoso%20Cloud%20organization%20trust%20in%20the%20Azure%20Authentication%20System.%20A%20request%20is%20then%20made%20to%20the%20Azure%20Authentication%20System%20for%20a%20delegation%20token%20that%20will%20be%20accepted%20by%20Contoso%20Cloud%20Organization.%205.%20Once%20the%20delegation%20token%20is%20received%20back%20from%20the%20Azure%20Authentication%20System%2C%20the%20Exchange%20server%20in%20Contoso%20on-premises%20sends%20an%20Autodiscover%20request%20to%20Exchange%20Online%2C%20and%20upon%20a%20successful%20Autodiscover%20response%20will%20send%20an%20EWS%20request%20to%20Exchange%20Online%20for%20Jane%E2%80%99s%20availability%20information.%206.%20The%20Exchange%20Online%20server%20validates%20the%20token%20provided%20by%20the%20Azure%20Authentication%20System%20and%20once%20confirmed%2C%20returns%20the%20requested%20Free%2FBusy%20data%20for%20Jane%E2%80%99s%20mailbox.%20Here%20is%20a%20flowchart%20which%20illustrates%20the%20Free%2FBusy%20lookup%20process%3A%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2F2018%2F02%2FHFB5.jpg%22%20target%3D%22_blank%22%3E%3CIMG%20width%3D%221068%22%20height%3D%221476%22%20title%3D%22HFB5%22%20style%3D%22border%3A%200px%20currentcolor%22%20alt%3D%22HFB5%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2F2018%2F02%2FHFB5_thumb.jpg%22%20border%3D%220%22%20%2F%3E%3C%2FA%3E%3CH3%20id%3D%22toc-hId--1798703082%22%20id%3D%22toc-hId--71697346%22%3EDirection%20Cloud%20to%20on-premises%3C%2FH3%3EYou%20are%20logged%20in%20to%20Outlook%20on%20the%20Web%20or%20Outlook%20on%20Windows%20as%20a%20cloud%20user%20(jane%40contoso.com)%2C%20whose%20mailbox%20is%20in%20Exchange%20Online.%20Jane%20wants%20to%20have%20a%20meeting%20with%20an%20on-premises%20user%20(%3CA%3Ejoe%40contoso.com%3C%2FA%3E)%2C%20but%20must%20first%20check%20their%20availability%20for%20the%20meeting.%201.%20Jane%20creates%20a%20meeting%20request%20and%20adds%20Joe%20as%20an%20attendee%202.%20The%20Exchange%20Online%20servers%20in%20Contoso-cloud%20side%20organization%20determine%20(usually%20based%20on%20target%20address%20of%20a%20mail-enabled%20user)%20that%20Joe%20is%20not%20a%20local%20mailbox%20and%20has%20a%20domain%20name%20of%20%3CB%3Econtoso.com%3C%2FB%3E%20set%20as%20the%20target%20address.%203.%20The%20Availability%20Service%20on%20Exchange%20Online%20servers%20checks%20to%20see%20if%20there%20is%20a%20path%20for%20it%20to%20find%20the%20Free%2FBusy%20information%20for%20Contoso%20on-premises%20side%20organization.%3CUL%3E%0A%20%20%3CLI%3EFirst%2C%20we%20check%20if%20we%20have%20an%20%3CB%3EIntra-Organization%20Connector%20(1)%3C%2FB%3E%20with%20the%20domain%20name%20of%20contoso.com%20(assuming%20the%20%3CB%3EExchange%20server%20is%202013%20or%20later%20on-premises%3C%2FB%3E).%3C%2FLI%3E%0A%20%20%3CLI%3EIf%20an%20IOC%20does%20not%20exist%2C%20then%20we%20look%20to%20see%20if%20an%20%3CB%3EOrganization%20Relationship%20(2)%3C%2FB%3E%20is%20configured%20by%20looking%20for%20the%20domain%20name%20of%20contoso.com%20in%20the%20list%20of%20any%20existing%20Organization%20Relationships.%3C%2FLI%3E%0A%20%20%3CLI%3EIf%20neither%20an%20IOC%20nor%20an%20Organization%20Relationship%20for%20the%20domain%20contoso.com%20exists%2C%20then%20we%20then%20look%20for%20the%20domain%20name%20contoso.com%20as%20an%20%3CB%3EAvailability%20Address%20Space%20(3)%3C%2FB%3E.%3C%2FLI%3E%0A%3C%2FUL%3E4.%20Assuming%20we%20would%20have%20an%20Exchange%202010-only%20environment%20in%20the%20on-premises%20and%20we%E2%80%99ve%20ran%20HCW%20successfully%2C%20we%20should%20expect%20to%20see%20both%20an%20Organization%20Relationship%20as%20well%20as%20a%20Federation%20Trust%20which%20combined%20is%20the%20second%20option%20from%20step%20%233.%20The%20Target%20ApplicationURI%20in%20the%20Contoso%20Cloud%20Organization%20Relationship%20is%20set%20to%20FYDIBOHF25SPDLT.contoso.com%2C%20which%20is%20an%20identifier%20for%20the%20Contoso%20on-premises%20organization%20trust%20in%20the%20Azure%20Authentication%20System.%20A%20request%20is%20then%20made%20to%20the%20Azure%20Authentication%20System%20for%20a%20delegation%20token%20which%20will%20be%20accepted%20by%20Contoso%20on-premises%20organization.%205.%20Once%20the%20delegation%20token%20is%20received%20back%20from%20the%20Azure%20Authentication%20System%2C%20the%20Exchange%20Online%20server%20in%20Contoso%20cloud%20sends%20an%20Autodiscover%20request%20to%20the%20on-premises%20Exchange%20Servers%20and%20upon%20receipt%20of%20a%20successful%20Autodiscover%20response%20it%20will%20then%20send%20an%20EWS%20request%20for%20Joe%E2%80%99s%20availability.%206.%20The%20Contoso%20on-premises%20Exchange%20server%20validates%20the%20token%20provided%20by%20the%20Azure%20Authentication%20System%20and%20once%20confirmed%2C%20returns%20the%20requested%20Free%2FBusy%20data%20for%20Joe%E2%80%99s%20mailbox.%3CH2%20id%3D%22toc-hId-140620758%22%20id%3D%22toc-hId--82200450%22%3EHybrid%20Free%2FBusy%20lookup%20order%3C%2FH2%3ETo%20summarize%2C%20the%20following%20order%20would%20be%20used%20when%20processing%20for%20Free%2FBusy%20lookups%20from%20cloud%20to%20on-premises%3A%3COL%3E%0A%20%20%3CLI%3ELook%20for%20IntraOrganizationConnector%20(OAUTH)%3C%2FLI%3E%0A%20%20%3CLI%3EIf%20there%20is%20no%20IntraOrganizationConnector%20or%20if%20it%20is%20disabled%2C%20then%20look%20for%20Organization%20Relationship%20(DAUTH)%3C%2FLI%3E%0A%20%20%3CLI%3EIf%20neither%20of%20these%20are%20found%20or%20they%E2%80%99re%20disabled%2C%20then%20look%20for%20Availability%20Address%20Space.%20Availability%20Address%20Space%20is%20normally%20only%20used%20for%20Lotus%20Notes%20organizations.%20If%20Free%2FBusy%20lookup%20is%20getting%20all%20the%20way%20down%20to%20using%20the%20final%20Availability%20Address%20Space%20option%20for%20cloud%20to%20on-premises%20lookups%20in%20a%20hybrid%20deployment%2C%20then%20this%20would%20suggest%20there%20are%20configuration%20issues%20which%20must%20be%20repaired.%3C%2FLI%3E%0A%3C%2FOL%3EThe%20order%20for%20Free%2FBusy%20lookups%20from%20on-premises%20to%20cloud%20is%20almost%20the%20same%20with%20some%20%3CB%3Eexceptions%3A%3C%2FB%3E%3COL%3E%0A%20%20%3CLI%3EIf%20we%20have%20Exchange%202007%20servers%20in%20coexistence%20with%20Exchange%202010%2F2013%2C%20we%20use%20Availability%20Address%20Space%20from%20Exchange%202007%20to%20Exchange%202010%2F2013%20and%20then%20Exchange%202010%2F2013%20will%20use%20Org%20Relationship%20(Ex2010)%20or%20IntraOrganization%20Connector%20(Ex2013)%20to%20Cloud.%3C%2FLI%3E%0A%20%20%3CLI%3EIf%20we%20have%20Exchange%202010%20with%20Exchange%202013%2F2016%20and%20OAuth%20is%20enabled%2C%20Exchange%202010%20will%20use%20Availability%20Address%20Space%20to%20Exchange%202013%2F2016%20and%20then%202013%2F2016%20will%20use%20the%20IntraOrganization%20Connector%20to%20Cloud.%3C%2FLI%3E%0A%20%20%3CLI%3EIf%20we%20have%20Exchange%202010%20with%20Exchange%202013%2F2016%20and%20OAuth%20is%20not%20enabled%2C%20Exchange%202010%20will%20not%20send%20the%20request%20to%20the%20Exchange%202013%2F2016.%20Instead%20Exchange%202010%20will%20use%20Organization%20Relationship%20to%20Cloud%20for%20Free%2FBusy.%3C%2FLI%3E%0A%3C%2FOL%3EExchange%202013%20Cu5%2B%20and%20Exchange%202016%20organizations%20without%20coexisting%20with%20legacy%20Exchange%20servers%20will%20use%20by%20default%20IntraOrganization%20Connectors%20from%20On-Premises%20to%20Cloud%20(normal%20process)%20This%20table%20summarizes%20which%20components%20(Get-IntraorganizationConnector%20%2F%20Get-OrganizationRelationship%20%2F%20Get-AvailabilityAddressSpace)%20are%20present%20(YES)%20or%20not%20(NO)%20in%20the%20Exchange%20Organization%20depending%20on%20the%20Exchange%20Server%20versions%20on-premises%20in%20a%20Hybrid%20deployment.%3CH3%20id%3D%22toc-hId-1686917588%22%20id%3D%22toc-hId-608361024%22%3EFree%2FBusy%20component%20matrix%3C%2FH3%3E%0A%3CTABLE%20border%3D%221%22%20cellspacing%3D%220%22%20cellpadding%3D%220%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22299%22%20valign%3D%22top%22%3E%3CB%3EExchange%20Hybrid%20Environment%3C%2FB%3E%3C%2FTD%3E%0A%3CTD%20width%3D%22288%22%20valign%3D%22top%22%3E%3CB%3EIntra%20Organization%20Connector%20(IOC)%20%3C%2FB%3E%3C%2FTD%3E%0A%3CTD%20width%3D%22182%22%20valign%3D%22top%22%3E%3CB%3EOrganization%20Relationship%20%3C%2FB%3E%3C%2FTD%3E%0A%3CTD%20width%3D%22176%22%20valign%3D%22top%22%3E%3CB%3EAvailability%20Address%20Space%20%3C%2FB%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22299%22%20valign%3D%22top%22%3EPure%20Exchange%202016%20Hybrid%3C%2FTD%3E%0A%3CTD%20width%3D%22288%22%20valign%3D%22top%22%3EYES%20(created%20automatically%20by%20HCW)%3C%2FTD%3E%0A%3CTD%20width%3D%22180%22%20valign%3D%22top%22%3EYES%3C%2FTD%3E%0A%3CTD%20width%3D%22155%22%20valign%3D%22top%22%3EYES%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22299%22%20valign%3D%22top%22%3EPure%20Exchange%202013%20(CU5%2B)%20Hybrid%3C%2FTD%3E%0A%3CTD%20width%3D%22288%22%20valign%3D%22top%22%3EYES%20(created%20automatically%20by%20HCW)%3C%2FTD%3E%0A%3CTD%20width%3D%22180%22%20valign%3D%22top%22%3EYES%3C%2FTD%3E%0A%3CTD%20width%3D%22155%22%20valign%3D%22top%22%3EYES%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22299%22%20valign%3D%22top%22%3EPure%20Exchange%202010%20Hybrid%3C%2FTD%3E%0A%3CTD%20width%3D%22288%22%20valign%3D%22top%22%3ENO%3C%2FTD%3E%0A%3CTD%20width%3D%22180%22%20valign%3D%22top%22%3EYES%3C%2FTD%3E%0A%3CTD%20width%3D%22155%22%20valign%3D%22top%22%3EYES%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22301%22%20valign%3D%22top%22%3EMixed%20Exchange%202007%20%2B%20Exchange%202010%20Hybrid%3C%2FTD%3E%0A%3CTD%20width%3D%22288%22%20valign%3D%22top%22%3ENO%20-%20Ex2010%20NO%20-%20Ex2007%3C%2FTD%3E%0A%3CTD%20width%3D%22180%22%20valign%3D%22top%22%3EYES%20-%20Ex2010%20NO%20-%20Ex2007%3C%2FTD%3E%0A%3CTD%20width%3D%22153%22%20valign%3D%22top%22%3EYES%20-%20Ex2010%20YES%20-%20Ex2007%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22301%22%20valign%3D%22top%22%3EMixed%20Exchange%202007%20%2B%20Exchange%202013%20Hybrid%3C%2FTD%3E%0A%3CTD%20width%3D%22288%22%20valign%3D%22top%22%3EYES%20-%20Ex2013%20(if%20created%20manually)%20NO%20-%20Ex2007%3C%2FTD%3E%0A%3CTD%20width%3D%22180%22%20valign%3D%22top%22%3EYES%20-%20Ex2013%20NO%20-%20Ex2007%3C%2FTD%3E%0A%3CTD%20width%3D%22153%22%20valign%3D%22top%22%3EYES%20-%20Ex2013%20YES%20-%20Ex2007%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22301%22%20valign%3D%22top%22%3EMixed%20Exchange%202010%20%2B%20Exchange%202013%20Hybrid%3C%2FTD%3E%0A%3CTD%20width%3D%22288%22%20valign%3D%22top%22%3EYES%20-%20Ex2013%20(if%20created%20manually)%20NO%20-%20Ex2010%3C%2FTD%3E%0A%3CTD%20width%3D%22180%22%20valign%3D%22top%22%3EYES%20-%20Ex2013%20YES%20-%20Ex2010%3C%2FTD%3E%0A%3CTD%20width%3D%22153%22%20valign%3D%22top%22%3EYES%20-%20Ex2013%20YES%20-%20Ex2010%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22301%22%20valign%3D%22top%22%3EMixed%20Exchange%202010%20%2B%20Exchange%202016%20Hybrid%3C%2FTD%3E%0A%3CTD%20width%3D%22288%22%20valign%3D%22top%22%3EYES%20-%20Ex2016%20(if%20created%20manually)%20NO%20-%20Ex2010%3C%2FTD%3E%0A%3CTD%20width%3D%22180%22%20valign%3D%22top%22%3EYES%20-%20Ex2016%20YES%20-%20Ex2010%3C%2FTD%3E%0A%3CTD%20width%3D%22153%22%20valign%3D%22top%22%3EYES%20-%20Ex2016%20YES%20-%20Ex2010%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22301%22%20valign%3D%22top%22%3EMixed%20Exchange%202013%20%2B%20Exchange%202016%20Hybrid%3C%2FTD%3E%0A%3CTD%20width%3D%22290%22%20valign%3D%22top%22%3EYES%20-%20Ex2016%20(created%20automatically%20by%20HCW)%20YES%20-%20Ex2013%3C%2FTD%3E%0A%3CTD%20width%3D%22180%22%20valign%3D%22top%22%3EYES%20-%20Ex2016%20YES%20-%20Ex2013%3C%2FTD%3E%0A%3CTD%20width%3D%22151%22%20valign%3D%22top%22%3EYES%20-%20Ex2016%20YES%20-%20Ex2013%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%20class%3D%22note%22%3ENote%3A%20OAuth%20is%20by%20default%20configured%20by%20HCW%20in%20Exchange%202013%20CU5%20and%20above%20(including%20Exchange%202016)%20organizations.%20If%20Exchange%202013%20%2F%20Exchange%202016%20servers%20coexist%20with%20Exchange%202010%20or%20older%20then%20OAUTH%20is%20not%20configured%20by%20default%20by%20the%20HCW%20but%20can%20be%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fdn594521(v%3Dexchg.150).aspx%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Emanually%20configured%3C%2FA%3E.%3C%2FP%3E%0A%3CP%20class%3D%22note%22%3ENote%3A%20Exchange%202013%20CU5%20is%20considered%20old%20and%20unlike%20wine%2C%20the%20finest%20CU%20is%20always%20the%20most%20recent%20one.%20You%20probably%20have%20heard%20about%20our%20n%20and%20n-1%20supported%20version%20statement%20in%20Hybrid%20Deployments%20and%20can%20read%20more%20about%20it%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fmt488940(v%3Dexchg.150).aspx%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehere%3C%2FA%3E%20and%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Flibrary%2Fhh534377(v%3Dexchg.150).aspx%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--668725868%22%20id%3D%22toc-hId-597857920%22%3EWhich%20Free%2FBusy%20lookup%20method%20are%20you%20using%3F%3C%2FH2%3EI%20won't%20go%20into%20all%20the%20details%20about%20the%20two%20types%20of%20authentication%20(OAUTH%20vs%20DAUTH)%20in%20this%20post%2C%20but%20I%20recommend%20reading%20this%20blog%20post%20at%20bedtime%3A%20%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Fexchange%2F2017%2F05%2F24%2Fdeep-dive-how-hybrid-authentication-really-works%2F%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EDeep%20Dive%3A%20How%20Hybrid%20Authentication%20Really%20Works%3C%2FA%3E.%20As%20explained%20there%2C%20OAuth%20is%20an%20open-standards%20based%20model%20which%20is%20more%20preferred%20to%20a%20customized%20model.%3CU%3E%3C%2FU%3E%20You%20can%20quickly%20determine%20if%20you%20are%20using%20OAuth%20or%20not%20by%20running%3A%20Get-IntraOrganizationConnector%3CB%3E%20%3C%2FB%3Ecmdlet%20in%20%3CI%3EExchange%20Management%20Shell%3C%2FI%3E%20(for%20F%2FB%20direction%20On-Premises%20to%20Cloud)%20and%20in%20%3CI%3EExchange%20Online%20PowerShell%3C%2FI%3E%20(for%20F%2FB%20direction%20Cloud%20to%20On-Premises).%20If%20you%20see%20Enabled%20%3D%20True%2C%20then%20you%20are%20using%20OAuth%20or%20the%20system%20should%20at%20least%20be%20trying%20to.%3CP%20class%3D%22note%22%3ENote%3A%20We%20also%20need%20to%20make%20sure%20that%20the%20%3CB%3ETarget%20Domain%3C%2FB%3E%20is%20present%20on%20the%20Intra%20Organization%20Connector%20or%20Organization%20Relationship%20when%20deciding%20if%20using%20OAUTH%20or%20DAUTH.%3C%2FP%3EI%20have%20created%20two%20flowcharts%20to%20show%20you%20the%20logic%20of%20using%20OAUTH%20vs%20DAUTH%20in%20a%20F%2FB%20lookup%20process%20for%20each%20F%2FB%20direction.%20The%20user%E2%80%99s%20setup%20remains%20still%20the%20same%20as%20shown%20in%20previous%20examples%20and%20I%20am%20reposting%20the%20diagram%20here%20so%20that%20you%20don%E2%80%99t%20need%20to%20scroll%20up.%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2F2018%2F02%2FHFB_corrected.jpg%22%20target%3D%22_blank%22%3E%3CIMG%20width%3D%22960%22%20height%3D%22389%22%20class%3D%22alignnone%20wp-image-28185%22%20alt%3D%22%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2F2018%2F02%2FHFB_corrected-1024x415.jpg%22%20%2F%3E%3C%2FA%3E%201.%20Joe%E2%80%99s%20Exchange%20server%20deciding%20whether%20to%20use%20Oauth%20or%20Dauth%20%3A%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2F2018%2F02%2FHFB7.jpg%22%20target%3D%22_blank%22%3E%3CIMG%20width%3D%22673%22%20height%3D%22588%22%20title%3D%22HFB7%22%20style%3D%22border%3A%200px%20currentcolor%22%20alt%3D%22HFB7%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2F2018%2F02%2FHFB7_thumb.jpg%22%20border%3D%220%22%20%2F%3E%3C%2FA%3E%202.%20Jane%E2%80%99s%20Exchange%20Online%20server%20deciding%20whether%20to%20use%20Oauth%20or%20Dauth%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2F2018%2F02%2FHFB8.jpg%22%20target%3D%22_blank%22%3E%3CIMG%20width%3D%22673%22%20height%3D%22586%22%20title%3D%22HFB8%22%20style%3D%22border%3A%200px%20currentcolor%22%20alt%3D%22HFB8%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2F2018%2F02%2FHFB8_thumb.jpg%22%20border%3D%220%22%20%2F%3E%3C%2FA%3E%20Now%20that%20you%20know%20which%20method%20is%20being%20used%20(or%20at%20least%20which%20should%20be%20attempted)%20and%20we%20know%20the%20direction%20Free%2FBusy%20is%20failing%2C%20we%20can%20see%20if%20you%20have%20everything%20configured%20correctly.%20In%20most%20cases%20these%20configurations%20are%20handled%20by%20the%20HCW%20and%20should%20be%20accurate%20and%20you%20can%20re-run%20the%20HCW%20to%20get%20things%20back%20to%20a%20good%20configuration.%3CUL%3E%0A%20%20%3CLI%3EIf%3CB%3E%20Exchange%20On-Premises%20%26gt%3B%20Exchange%20Online%3C%2FB%3E%20Free%2FBusy%20is%20failing%20for%20all%20users%2C%20you%20would%20first%20check%20Intra%20Organization%20Connector%20or%20the%20Organization%20Relationship%20%3CB%3Efrom%20on-premises.%3C%2FB%3E%3C%2FLI%3E%0A%20%20%3CLI%3EIf%3CB%3E%20Exchange%20Online%20%26gt%3B%20Exchange%20On-Premises%3C%2FB%3E%20Free%2FBusy%20is%20failing%20for%20all%20users%2C%20you%20would%20first%20check%20Intra%20Organization%20Connector%20or%20the%20Organization%20Relationship%20%3CB%3Efrom%20Exchange%20Online.%3C%2FB%3E%3C%2FLI%3E%0A%3C%2FUL%3EBelow%2C%20you%20will%20see%20a%20sample%20of%20the%20expected%20configuration%20for%20Intra%20Organization%20Connectors%20and%20Org%20Relationships%20from%20both%20sides%20(on-premises%20and%20cloud).%20This%20Baseline%20configuration%20was%20documented%20by%20my%20co-worker%20Ray%20Fong%20(Support%20Escalation%20Engineer)%20and%20I%20am%20very%20happy%20to%20have%20it%20when%20I%20troubleshoot%20Free%2FBusy%20issues.%3CH3%20id%3D%22toc-hId-877570962%22%20id%3D%22toc-hId-1288419394%22%3EExchange%20Online%20side%3C%2FH3%3EUse%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Flibrary%2Fjj984289(v%3Dexchg.160).aspx%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ethis%20article%3C%2FA%3E%20to%20connect%20to%3CB%3E%20%3C%2FB%3EExchange%20Online%20PowerShell.%3CB%3E%3C%2FB%3E%20%3CB%3E%3CU%3EINTRA%20ORGANIZATION%20CONNECTOR%20IN%20CLOUD%3C%2FU%3E%3C%2FB%3E%3CP%20class%3D%22code%22%3EGet-IntraOrganizationConnector%20%7C%20fl%20TargetAddressDomains%2CDiscoveryEndpoint%2CEnabled%3CBR%20%2F%3ETargetAddressDomains%20%3A%20%7Bcontoso.com%7D%3CBR%20%2F%3EDiscoveryEndpoint%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20%3CA%20href%3D%22https%3A%2F%2Fautodiscover.contoso.com%2Fautodiscover%2Fautodiscover.svc%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fautodiscover.contoso.com%2Fautodiscover%2Fautodiscover.svc%3C%2FA%3E%20*%3CBR%20%2F%3EEnabled%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20True%3C%2FP%3ENote%3A%20In%20practice%2C%20the%20On-Premises%20Discovery%20Endpoint%20(Autodiscover)%20is%20more%20likely%20to%20be%20found%20in%20the%20format%20%3CA%20href%3D%22https%3A%2F%2Fmail.contoso.com%2Fautodiscover%2Fautodiscover.svc%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fmail.contoso.com%2Fautodiscover%2Fautodiscover.svc%3C%2FA%3E%20because%20of%20the%20EWS%20External%20URL%2C%20so%20pay%20attention%20to%20this%20Autodiscover%20URL%20and%20replace%20it%20if%20needed%20with%20the%20autodiscover.yourdomain.tld%20on%20the%20IOC%20present%20in%20the%20Cloud%20Side%20(Reference%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fdn551177(v%3Dexchg.160).aspx%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ESet-IntraOrganizationConnector%3C%2FA%3E)%3CP%20class%3D%22code%22%3EGet-IntraOrganizationConfiguration%20%7C%20fl%20OnPremiseTargetAddresses%3CBR%20%2F%3EOnPremiseTargetAddresses%20%3A%20%7Bcontoso.com%7D%3C%2FP%3E%0A%3CUL%3E%0A%20%20%3CLI%3E%3CB%3ETargetAddressDomains%3C%2FB%3E%20-%20This%20should%20be%20your%20federated%20domains.%20Example%3A%20%3CB%3Econtoso.com%3C%2FB%3E%3CUL%3E%0A%20%20%3CLI%3EYou%20can%20find%20the%20domains%20name%20by%20cross-checking%20Exchange%20Online's%20(Get-IntraOrganizationConfiguration).OnPremiseTargetAddresses%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3ETargetDiscoveryEndpoint%3C%2FB%3E%20-%20This%20should%20be%20the%20address%20of%20the%20On-Premises%20Autodiscover%20Endpoint.%20Example%3A%20%3CA%20href%3D%22https%3A%2F%2Fautodiscover.contoso.com%2Fautodiscover%2Fautodiscover.svc%2F%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%3CB%3E%3C%2FB%3E%3C%2FA%3E%3CB%3E%3CA%20href%3D%22https%3A%2F%2Fautodiscover.contoso.com%2Fautodiscover%2Fautodiscover.svc%2F.If%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fautodiscover.contoso.com%2Fautodiscover%2Fautodiscover.svc%2F%3C%2FA%3E%3C%2FB%3E%3CA%3E%3C%2FA%3E%3CA%3E.If%3C%2FA%3E%20you%20paste%20the%20URL%20in%20IE%2C%20you%20should%20receive%20a%20regular%20windows%20authentication%20security%20prompt%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3EEnabled%3C%2FB%3E%20-%20This%20must%20be%20%3CB%3ETrue%3C%2FB%3E.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH3%20id%3D%22toc-hId--1674585999%22%20id%3D%22toc-hId--519035069%22%3EExchange%20On-Premises%20side%20(use%20Exchange%20Management%20Shell)%3C%2FH3%3E%3CU%3E%3CSTRONG%3EINTRA%20ORGANIZATION%20CONNECTOR%20IN%20ON-PREM%3C%2FSTRONG%3E%3C%2FU%3E%3CP%20class%3D%22code%22%3EGet-IntraOrganizationConnector%20%7C%20fl%20Name%2CTargetAddressDomains%2CDiscoveryEndpoint%2CEnabled%3CBR%20%2F%3EName%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20ExchangeHybridOnPremisesToOnline%3CBR%20%2F%3ETargetAddressDomains%20%3A%20%7Bcontoso.mail.onmicrosoft.com%7D%3CBR%20%2F%3EDiscoveryEndpoint%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20%3CA%20href%3D%22https%3A%2F%2Foutlook.office365.com%2Fautodiscover%2Fautodiscover.svc%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Foutlook.office365.com%2Fautodiscover%2Fautodiscover.svc%3C%2FA%3E%3CBR%20%2F%3EEnabled%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20True%3C%2FP%3E%0A%3CUL%3E%0A%20%20%3CLI%3E%3CB%3ETargetAddressDomains%3C%2FB%3E%20-%20This%20should%20be%20your%20tenant.mail.onmicroosft.com%20name.%20Example%3A%20'contoso.mail.onmicrosoft.com'%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3ETargetDiscoveryEndpoint%3C%2FB%3E%20-%20This%20should%20be%20the%20address%20of%20EXO%20Autodiscover%20endpoint.%20Example%3A%20%3CA%20href%3D%22https%3A%2F%2Foutlook.office365.com%2Fautodiscover%2Fautodiscover.svc%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%3CB%3Ehttps%3A%2F%2Foutlook.office365.com%2Fautodiscover%2Fautodiscover.svc%3C%2FB%3E%3C%2FA%3E%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3EEnabled%3C%2FB%3E%20-%20This%20must%20be%20%3CB%3ETrue%3C%2FB%3E.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH3%20id%3D%22toc-hId-68224336%22%20id%3D%22toc-hId-1968477764%22%3EExchange%20Online%20side%3C%2FH3%3EUse%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Flibrary%2Fjj984289(v%3Dexchg.160).aspx%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ethis%20article%3C%2FA%3E%20to%20connect%20to%3CB%3E%20%3C%2FB%3EExchange%20Online%20PowerShell.%3CB%3E%3C%2FB%3E%20%3CB%3E%3CU%3EORGANIZATION%20RELATIONSHIP%20IN%20CLOUD%3C%2FU%3E%3C%2FB%3E%3CP%20class%3D%22code%22%3EGet-OrganizationRelationship%20%22Exchange%20Online%20to%20on%20premises%20Organization%20Relationship%22%20%7C%20fl%20DomainNames%2CFreeBusy*%2CTarget*%2CEnabled%3CBR%20%2F%3EDomainNames%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20%7Bcontoso.com%7D%3CBR%20%2F%3EFreeBusyAccessEnabled%20%3A%20True%3CBR%20%2F%3EFreeBusyAccessLevel%26nbsp%3B%26nbsp%3B%20%3A%20LimitedDetails%3CBR%20%2F%3EFreeBusyAccessScope%26nbsp%3B%26nbsp%3B%20%3A%3CBR%20%2F%3ETargetApplicationUri%26nbsp%3B%20%3A%20FYDIBOHF25SPDLT.contoso.com%3CBR%20%2F%3ETargetSharingEpr%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%3CBR%20%2F%3ETargetOwaURL%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%3CBR%20%2F%3ETargetAutodiscoverEpr%20%3A%20%3CA%20href%3D%22https%3A%2F%2Fautodiscover.contoso.com%2Fautodiscover%2Fautodiscover.svc%2FWSSecurity%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fautodiscover.contoso.com%2Fautodiscover%2Fautodiscover.svc%2FWSSecurity%3C%2FA%3E%3CBR%20%2F%3EEnabled%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20True%3C%2FP%3E%0A%3CUL%3E%0A%20%20%3CLI%3E%3CB%3EDomainNames%3C%2FB%3E%20-%20This%20should%20be%20your%20federated%20domains.%20Example%3A%20%3CB%3Econtoso.com%3C%2FB%3E%3CUL%3E%0A%20%20%3CLI%3EYou%20can%20find%20the%20domains%20name%20by%20cross-checking%20On-Premises'%20(Get-FederatedOrganizationIdentifier).Domains%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3ETargetAutodiscoverEPR%3C%2FB%3E%20-%20This%20should%20be%20the%20address%20of%20the%20On-Premises%20Autodiscover%20Endpoint.%20Example%3A%20%3CA%20href%3D%22https%3A%2F%2Fautodiscover.contoso.com%2Fautodiscover%2Fautodiscover.svc%2FWSSecurity%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fautodiscover.contoso.com%2Fautodiscover%2Fautodiscover.svc%2FWSSecurity%3C%2FA%3E.%20If%20you%20paste%20the%20URL%20in%20IE%2C%20you%20should%20receive%20a%20regular%20windows%20authentication%20security%20prompt%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3ETargetSharingEPR%3C%2FB%3E%20-%20Ideally%20this%20is%20blank.%20If%20it%20is%20set%2C%20it%20should%20be%20the%20On-Premises%20Exchange%20servers%20EWS%20ExternalUrl%20endpoint.%20Example%3A%20%3CA%20href%3D%22https%3A%2F%2Fserver.contoso.com%2FEWS%2FExchange.asmx%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fserver.contoso.com%2FEWS%2FExchange.asmx%3C%2FA%3E%3CUL%3E%0A%20%20%3CLI%3EYou%20can%20find%20the%20URL%20by%20cross-checking%20On-Prem's%20Get-WebServicesVirtualDirectory%20ExternaUrl.%20If%20you%20paste%20the%20URL%20in%20IE%20with%20%2FWSSecurity%20at%20the%20end%20(%3CA%20href%3D%22https%3A%2F%2Fserver.contoso.com%2FEWS%2FExchange.asmx%2FWSSecurity%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fserver.contoso.com%2FEWS%2FExchange.asmx%2FWSSecurity%3C%2FA%3E)%2C%20you%20should%20receive%20a%20regular%20windows%20authentication%20security%20prompt%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3ETargetApplicationURI%3C%2FB%3E%20-%20This%20must%20match%20the%20ApplicationUrI%20from%20On-Prem.%20Example%3A%20%3CB%3EFYDIBOHF25SPDLT.contoso.com%3C%2FB%3E%3CUL%3E%0A%20%20%3CLI%3EYou%20can%20find%20the%20value%20by%20cross-checking%20On-Prem's%20(Get-FederationTrust).ApplicationUri%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3EFreeBusyAccessEnabled%3C%2FB%3E%20-%20This%20must%20be%20%3CB%3ETrue%3C%2FB%3E.%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3EFreeBusyAccessLevel%3C%2FB%3E%20-%20This%20should%20be%20either%20%3CB%3EAvailabilityOnly%3C%2FB%3E%20or%20%3CB%3ELimitedDetails%3C%2FB%3E.%3CUL%3E%0A%20%20%3CLI%3EAvailabilityOnly%3A%20Free%2FBusy%20access%20with%20time%20only%3C%2FLI%3E%0A%20%20%3CLI%3ELimitedDetails%3A%20Free%2FBusy%20access%20with%20time%2C%20subject%2C%20and%20location%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3EFreeBusyAccessScope%3C%2FB%3E%20-%20This%20is%20typically%20blank.%20The%20FreeBusyAccessScope%20parameter%20specifies%20a%20security%20distribution%20group%20in%20the%20internal%20organization%20that%20contains%20users%20that%20can%20have%20their%20Free%2FBusy%20information%20accessed%20by%20an%20external%20organization.%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3EEnabled%3C%2FB%3E%20-%20This%20must%20be%20%3CB%3ETrue%3C%2FB%3E.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH3%20id%3D%22toc-hId-1095873382%22%20id%3D%22toc-hId--534140178%22%3EExchange%20On-Premises%20side%20(use%20Exchange%20Management%20Shell)%3C%2FH3%3E%3CU%3E%3CSTRONG%3EORGANIZATION%20RELATIONSHIP%20IN%20ON-PREM%3C%2FSTRONG%3E%3C%2FU%3E%3CP%20class%3D%22code%22%3EGet-OrganizationRelationship%20%22On%20Premises%20to%20Exchange%20Online%20Organization%20Relationship%22%20%7C%20fl%20DomainNames%2CFreeBusy*%2CTarget*%2CEnabled%3CBR%20%2F%3EDomainNames%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20%7Bcontoso.mail.onmicrosoft.com%7D%3CBR%20%2F%3EFreeBusyAccessEnabled%20%3A%20True%3CBR%20%2F%3EFreeBusyAccessLevel%26nbsp%3B%26nbsp%3B%20%3A%20LimitedDetails%3CBR%20%2F%3EFreeBusyAccessScope%26nbsp%3B%26nbsp%3B%20%3A%3CBR%20%2F%3ETargetApplicationUri%26nbsp%3B%20%3A%20Outlook.com%3CBR%20%2F%3ETargetSharingEpr%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%3CBR%20%2F%3ETargetOwaURL%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20%3CA%20href%3D%22https%3A%2F%2Foutlook.com%2Fowa%2Fcontoso.onmicrosoft.com%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Foutlook.com%2Fowa%2Fcontoso.onmicrosoft.com%3C%2FA%3E%3CBR%20%2F%3ETargetAutodiscoverEpr%20%3A%20%3CA%20href%3D%22https%3A%2F%2Fautodiscover-s.outlook.com%2Fautodiscover%2Fautodiscover.svc%2FWSSecurity%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fautodiscover-s.outlook.com%2Fautodiscover%2Fautodiscover.svc%2FWSSecurity%3C%2FA%3E%3CBR%20%2F%3EEnabled%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20True%3C%2FP%3E%0A%3CUL%3E%0A%20%20%3CLI%3E%3CB%3EDomainNames%3C%2FB%3E%20-%20This%20should%20be%20your%20tenant.mail.onmicrosoft.com%20name.%20Example%3A%20%3CB%3Econtoso.mail.onmicrosoft.com%3C%2FB%3E%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3ETargetAutodiscoverEpr%3C%2FB%3E%20-%20This%20should%20be%20a%20valid%20Exchange%20Online%20Autodiscover%20endpoint.%20Example%3A%20%3CA%20href%3D%22https%3A%2F%2Fautodiscover-s.outlook.com%2Fautodiscover%2Fautodiscover.svc%2FWSSecurity%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%3CB%3Ehttps%3A%2F%2Fautodiscover-s.outlook.com%2Fautodiscover%2Fautodiscover.svc%2FWSSecurity%3C%2FB%3E%3C%2FA%3E%20or%20%3CA%20href%3D%22https%3A%2F%2Fpod51038.outlook.com%2Fautodiscover%2Fautodiscover.svc%2FWSSecurity%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%3CB%3Ehttps%3A%2F%2Fpod51038.outlook.com%2Fautodiscover%2Fautodiscover.svc%2FWSSecurity%3C%2FB%3E%3C%2FA%3E%20%5B%26lt%3B--%20A%20pod%20address%5D%3CUL%3E%0A%20%20%3CLI%3EYou%20can%20find%20the%20value%20from%20TargetAutodiscoverEpr%20of%20Get-FederationInformaiton%20-DomainName%20tenantname.mail.onmicrosoft.com%20-BypassAdditionalDomainValidation%20%7C%20fl%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3ETargetSharingEPR%3C%2FB%3E%20-%20Ideally%20this%20is%20blank.%20If%20it%20is%20set%2C%20it%20should%20be%20Office%20365%20EWS%20endpoint.%20Example%3A%20%3CA%20href%3D%22https%3A%2F%2Foutlook.office365.com%2FEWS%2FExchange.asmx%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%3CB%3Ehttps%3A%2F%2Foutlook.office365.com%2FEWS%2FExchange.asmx%3C%2FB%3E%3C%2FA%3E%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3ETargetApplicationURI%3C%2FB%3E%20-%20This%20must%20be%20%3CB%3Eoutlook.com%3C%2FB%3E%20if%20this%20is%20for%20organization%20relationship%20of%20the%20cloud%20tenant.%20For%20non-cloud%20organization%20relationship%2C%20this%20must%20match%20(Get-FederationTrust).ApplicationUri%20of%20the%20On-Prem%20trust%20of%20the%20other%20organization.%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3EFreeBusyAccessEnabled%3C%2FB%3E%20-%20This%20must%20be%20%3CB%3ETrue%3C%2FB%3E.%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3EFreeBusyAccessLevel%3C%2FB%3E%20-%20This%20should%20be%20either%20%3CB%3EAvailabilityOnly%3C%2FB%3E%20or%20%3CB%3ELimitedDetails%3C%2FB%3E.%3CUL%3E%0A%20%20%3CLI%3EAvailabilityOnly%3A%20Free%2FBusy%20access%20with%20time%20only%3C%2FLI%3E%0A%20%20%3CLI%3ELimitedDetails%3A%20Free%2FBusy%20access%20with%20time%2C%20subject%2C%20and%20location%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3EFreeBusyAccessScope%3C%2FB%3E%20-%20This%20is%20typically%20blank.%20The%20FreeBusyAccessScope%20parameter%20specifies%20a%20security%20distribution%20group%20in%20the%20internal%20organization%20that%20contains%20users%20that%20can%20have%20their%20Free%2FBusy%20information%20accessed%20by%20an%20external%20organization.%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3EEnabled%3C%2FB%3E%20-%20This%20must%20be%20%3CB%3ETrue%3C%2FB%3E.%3C%2FLI%3E%0A%3C%2FUL%3EBoth%20Autodiscover%20and%20EWS%20virtual%20directories%20must%20be%20enabled%20for%20WSSecurity%20authentication%20and%2For%20OAuth.%20For%20example%2C%20if%20using%20OAuth%2C%20you%20should%20have%20OAuth%20listed%20as%20Authentication%20Methods%2C%20whereas%20if%20using%20only%20DAuth%20(Exchange%202010%20for%20example)%2C%20you%20would%20see%20only%20WSSecurity.%20Example%20of%20virtual%20directories%20authentication%20methods%20for%20an%20Exchange%202013%20Hybrid%20Organization%3A%3CP%20class%3D%22code%22%3EGet-AutodiscoverVirtualDirectory%20-Server%20SERVER01%20%7C%20fl%20Name%2CAdminDisplayVersion%2C*authentication*%3CBR%20%2F%3EName%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20Autodiscover%20(Default%20Web%20Site)%3CBR%20%2F%3EAdminDisplayVersion%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20Version%2015.0%20(Build%201044.25)%3CBR%20%2F%3EInternalAuthenticationMethods%20%3A%20%7BBasic%2C%20Ntlm%2C%20WindowsIntegrated%2C%20WSSecurity%2C%20OAuth%7D%3CBR%20%2F%3EExternalAuthenticationMethods%20%3A%20%7BBasic%2C%20Ntlm%2C%20WindowsIntegrated%2C%20WSSecurity%2C%20OAuth%7D%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EGet-WebServicesVirtualDirectory%20-Server%20server01%7C%20fl%20Name%2CAdminDisplayVersion%2C*Authentication*%3CBR%20%2F%3EName%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20EWS%20(Default%20Web%20Site)%3CBR%20%2F%3EAdminDisplayVersion%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20Version%2015.0%20(Build%201044.25)%3CBR%20%2F%3EInternalAuthenticationMethods%20%3A%20%7BNtlm%2C%20WindowsIntegrated%2C%20WSSecurity%2C%20OAuth%7D%3CBR%20%2F%3EExternalAuthenticationMethods%20%3A%20%7BNtlm%2C%20WindowsIntegrated%2C%20WSSecurity%2C%20OAuth%7D%3C%2FP%3EAs%20explained%20earlier%2C%20there%20are%20some%20situations%20where%20Free%2FBusy%20from%20on-premises%20to%20cloud%20is%20going%20via%20Availability%20Address%20Space.%20This%20would%20be%20the%20expected%20configuration%20for%20Availability%20Address%20Space%20in%20Exchange%20on-premises%20(Exchange%20Management%20Shell)%3A%3CP%20class%3D%22code%22%3EGet-AvailabilityAddressSpace%20contoso.mail.onmicrosoft.com%20%7C%20fl%20ForestName%2C%20UserName%2C%20UseServiceAccount%2C%20AccessMethod%2C%20ProxyUrl%2C%20Name%3CBR%20%2F%3EForestName%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20contoso.mail.onmicrosoft.com%3CBR%20%2F%3EUserName%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%3CBR%20%2F%3EUseServiceAccount%20%3A%20True%3CBR%20%2F%3EAccessMethod%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20InternalProxy%3CBR%20%2F%3EProxyUrl%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20%3CA%20href%3D%22https%3A%2F%2Fserver01.contoso.com%2FEWS%2FExchange.asmx%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fserver01.contoso.com%2FEWS%2FExchange.asmx%3C%2FA%3E%3CBR%20%2F%3EName%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20contoso.mail.onmicrosoft.com%3C%2FP%3E%0A%3CUL%3E%0A%20%20%3CLI%3E%3CB%3EForestName%3C%2FB%3E%20-%20The%20should%20be%20the%20tenant.mail.onmicrosoft.com%20domain%20name.%20This%20should%20also%20match%20the%20domain%20name%20of%20RemoteRoutingAddress%20of%20remote%20mailboxes.%20Example%3A%20%3CB%3Econtoso.mail.onmicrosoft.com%3C%2FB%3E%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3EUserName%3C%2FB%3E%20-%20This%20should%20be%20blank.%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3EUserServiceAccount%3C%2FB%3E%20-%20This%20must%20be%20%3CB%3ETrue%3C%2FB%3E.%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3EAccessMethod%3C%2FB%3E%20-%20This%20should%20be%20%3CB%3EInternalProxy%3C%2FB%3E.%3C%2FLI%3E%0A%20%20%3CLI%3E%3CB%3EProxyUrl%3C%2FB%3E%20-%20This%20should%20be%20the%20Exchange%202013%2F2016%20Exchange%20Web%20Services%20Virtual%20Directory%20URL.%20The%20address%20could%20be%20the%20internal%20FQDN%20or%20load%20balancing%20EWS%20URL.%20Example%3A%20%3CA%20href%3D%22https%3A%2F%2Fserver01.contoso.com%2FEWS%2FExchange.asmx%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%3CB%3Ehttps%3A%2F%2Fserver01.contoso.com%2FEWS%2FExchange.asmx%3C%2FB%3E%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3EWe%20recommend%20you%20check%20the%20following%20requirements%20for%20inbound%2Foutbound%20connectivity%20to%20and%20from%20Exchange%20servers%20in%20a%20Hybrid%20Deployment%3A%3CUL%3E%0A%20%20%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Flibrary%2Fdd638083(v%3Dexchg.141).aspx%23FC%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EUnderstanding%20Federated%20Delegation%3C%2FA%3E%3C%2FLI%3E%0A%20%20%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Farticle%2FOffice-365-URLs-and-IP-address-ranges-8548a211-3fe7-47cb-abb1-355ea5aa88a2%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EOffice%20365%20URLs%20and%20IP%20address%20ranges%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3EIf%20you%20have%20read%20this%20far%20%E2%80%93%20thank%20you!%20This%20concludes%20the%20Part%201%20of%20this%20blog%20series.%20Onto%20%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Fexchange%2F2018%2F03%2F02%2Fdemystifying-hybrid-freebusy-finding-errors-and-troubleshooting%2F%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Etroubleshooting%3C%2FA%3E%20next!%20Huge%20thanks%20to%20all%20that%20contributed%20to%20this%20blog%20post%3A%20Ray%20Fong%2C%20Nino%20Bilic%2C%20Tim%20Heeney%2C%20Greg%20Taylor%20and%20Brian%20Day.%20%3CSPAN%20class%3D%22author%22%3EMirela%20Buruiana%3C%2FSPAN%3E%3C%2FLINGO-BODY%3E

Hybrid Free/Busy is one of those things that many people do not fully understand. If everything works well, the complexity is hidden from view and people working in various parts of organization can seamlessly work together. But if things go wrong… you will appreciate deeper understanding of what makes it work. This is why we wanted to create the blog post series on the subject. In this article, we will discuss how Free/Busy works in an Exchange Hybrid configuration. In next blog post, you will learn what we (Microsoft Support) see as the most common problems along with how we go about diagnosing those (often) complex issues. Hope you like reading, because there is a lot to cover! So, what is Free/Busy? Free/Busy is a feature that allows you to see when others are free (their calendar shows availability), busy (their calendar shows them as busy), or even Out of Office, or Something Else (tentative or working away) so that you can find an appropriate time for your meetings. Calling it all “Free/Busy/OOF/Something-Else” didn’t sound so cool to marketing hence “Free/Busy”. In a Hybrid deployment, we usually have some mailboxes in Exchange On-Premises and some mailboxes in Exchange Online (users are in different premises) and this has to work there too. One of the most important parts in Hybrid Configurations is the Federation Trust and many features, including Free/Busy can rely upon this. A quick overview of a hybrid deployment with a focus on Federation Trust components HFB1 In Contoso – On-Premises side we have on-premises Exchange Servers and mailboxes. We also have a federation trust with the Microsoft Federated Gateway (MFG) - now called Azure Authentication System. A Federation trust is not set by default for Exchange On-Premises organizations and we can either create it manually or run the Hybrid Configuration Wizard (HCW) which will do this for us. If you don’t have already a federation trust established on-premises (usually for purposes to share F/B with another on-premises organization) and you plan for a Hybrid deployment, then we strongly recommend you run HCW to automatically create the Federation Trust. In Contoso – Cloud Side there are Office 365 Exchange Online servers, your Office 365 tenant and mailboxes migrated from on-premises. A Federation trust with the MFG is automatically created for cloud-only-based Exchange organizations whom do not have a Hybrid relationship to an on-premises organization. If you run Get-FederationTrust cmdlet in Exchange Online PowerShell (see here how to connect to Exchange Online PowerShell) you would see two trusts: “WindowsLiveId” (Consumer Instance of Microsoft Federation Gateway) and “MicrosoftOnline” (Business Instance of Microsoft Federation Gateway) .

Note: As a troubleshooting tip, you might want to make sure the Application Identifier is “260563” and the Application Uri is “outlook.com” for both; in case you have a different App ID (292841) and a different App URI (outlook.live.com) for a Cloud trust, this means your tenant has an old reference pointing to MFG and most probably Free/Busy from on-premises to cloud would fail with a quite generic 401 Unauthorized error. If you were to find yourself in a such situation, please open a support case with Microsoft to get it resolved.

About Free/Busy lookup directionality

To guide you to the correct troubleshooting steps we first need to determine what direction Free/Busy queries are failing in. Understanding how Free/Busy works in general and the direction that lookups are failing can greatly simplify the troubleshooting steps. Simply said, there are 2 possible Free/Busy directions (referring to our example above): When Joe looks up Jane’s Free/Busy, the Free/Busy direction is On-premises to Cloud. HFB2 When Jane looks up Joe’s Free/Busy, the Free/Busy direction is Cloud to On-Premises HFB3 Now that you are familiar with the Free/Busy directions, we should take a moment to discuss how it all works. Let me set the stage for the below diagram: joe@contoso.com has his mailbox in Exchange on-premises and jane@contoso.com has been moved to Exchange Online. In Exchange on-premises, joe@contoso.com is a Mailbox User. Because Directory Synchronization is a requirement for Hybrid Deployments, joe@contoso.com (mailbox) is synced to the cloud and represented as a Mail Enabled User (MEU) object in Cloud with Target Address (TA) of joe@contoso.com. jane@contoso.com was once a Mailbox User in Exchange on-premises. Her mailbox was then migrated to Exchange Online. Jane now has a Mailbox User in Exchange Online and is represented as a Remote Mailbox (RM) object in Exchange On-Premises. Jane has a Primary SMTP address (SMTP: jane@contoso.com) and a secondary smtp address (smtp: jane@contoso.mail.onmicrosoft.com). Notice how we refer to a primary email address (SMTP) and to a secondary email address (smtp). According to TechNet, the difference between primary and secondary addresses is that the primary address serves as the return e-mail address. When mail is received from a recipient, the primary address determines which address the mail appears to have come from. Recipients can receive mail sent to any of the addresses associated with them (primary or secondary). The Target Address (TA) of the on-premises Remote Mailbox object is represented as jane@tenant.mail.onmicrosoft.com (secondary smtp) and this is crucial for Autodiscover and email routing from on-premises to cloud. A successful Autodiscover query is important in the Free/Busy process as it provides us with the Availability Service URL of the user which is the External EWS URL of an Exchange Organization. This TechNet article gives us more information on this <domain>.mail.onmicrosoft.com secondary email address:

The wizard (HCW) adds an accepted domain to the on-premises organization for hybrid mail flow and Autodiscover requests for the cloud organization. This domain, referred to as the coexistence domain, is added as a secondary proxy domain (contoso.mail.onmicrosoft.com) to any email address policies which have PrimarySmtpAddress templates for domains selected in the Hybrid Configuration wizard(contoso.com). By default, this domain is <domain>.mail.onmicrosoft.com.

Table below illustrates the hybrid user objects discussed above as well as how to look them up.

Typical Hybrid user objects configuration

On-premises commands On-premises objects Corresponding cloud objects Cloud commands
  ON-PREM MAILBOX USER MAIL ENABLED USER IN CLOUD  
Get-mailbox Joe@contoso.com | FT PrimarySMTPaddress On-premises mailbox user with SMTP: Joe@contoso.com Cloud mail enabled user with SMTP: Joe@contoso.com Get-MailUser Joe@contoso.com | FT PrimarySMTPAddress
(Get-mailbox Joe@contoso.com). EmailAddresses On-premises mailbox user has a secondary smtp address of @contoso.mail. onmicrosoft.com configured by HCW (Email Address Policies) Cloud mail enabled user has this secondary smtp Joe@contoso.mail. onmicrosoft.com (Get-mailuser Joe@contoso.com). EmailAddresses
(Get-mailbox Joe@contoso.com). EmailAddresses On-premises mailbox user has a secondary smtp Joe@contoso.mail. onmicrosoft.com Cloud mail enabled user has an ExternalEmailAddress Joe@contoso.com Get-MailUser Joe@contoso.com |FT ExternalEmailAddress
  REMOTE MAILBOX ON-PREM MAILBOX USER IN CLOUD  
Get-RemoteMailbox Jane@contoso.com |FT primarySMTPaddress Remote mailbox SMTP: Jane@contoso.com Mailbox User SMTP: Jane@contoso.com Get-Mailbox Jane@contoso.com |FT PrimarySMTPAddress
Get-RemoteMailbox Jane@contoso.com | FT RemoteRoutingAddress Remote mailbox TargetAddress: Jane@contoso.mail. onmicrosoft.com Mailbox User smtp: Jane@contoso.mail. onmicrosoft.com (Get-Mailbox Jane@contoso.com). EmailAddresses

Now that we understand user objects and their relevant properties, we should come back to Free/Busy directions. Between the on-premises organization and cloud organization there are bidirectional Organization Relationships and/or bidirectional Intra Organization Connectors (for Exchange 2013 or later) that are created during Hybrid Configuration. The source of these Relationships / Connectors plays an important role in the F/B directionality. The Free/Busy directions are:

Direction On-premises to Cloud

You are logged in to Outlook on the Web or Outlook on Windows as an on-premises user (joe@contoso.com), you’re your mailbox hosted on your on-premises Exchange server. As an on-premises user you wish to have a meeting with the cloud user (jane@contoso.com) but will first have to check their availability for the meeting. Let’s walk through the process: 1. Joe creates a meeting request and adds Jane as an attendee. 2. The on-premises Exchange server in Contoso determines (usually based on Target Address of the mail-enabled user) that Jane is not a local mailbox and has a different domain name of contoso.mail.onmicrosoft.com set as the Target Address. 3. The Availability Service on the on-premises Exchange server (Client Access Server if Ex2010 or Mailbox Server if 2013/2016) in Contoso then checks to see if there is a path to query Jane’s Free/Busy information for Contoso’s cloud side.

  • First, we check if we have an Intra-Organization Connector (1) with the domain name of contoso.mail.onmicrosoft.com (assuming the Exchange server is version 2013 or later).
  • If an IOC does not exist, then we look to see if an Organization Relationship (2) is configured by looking for the domain name of contoso.mail.onmicrosoft.com in the list of any existing Organization Relationships.
  • If neither an IOC nor an Organization Relationship for the domain contoso.mail.onmicrosoft.com exists, then we look for the domain name contoso.mail.onmicrosoft.com as an Availability Address Space (3).

4. Assuming we would have an Exchange 2010-only environment in the on-premises and we’ve ran HCW successfully, we should expect to see both an Organization Relationship as well as a Federation Trust which combined is the second option from step #3. The Target ApplicationURI in the Contoso on-premises Organization Relationship is set to outlook.com, which is an identifier for the Contoso Cloud organization trust in the Azure Authentication System. A request is then made to the Azure Authentication System for a delegation token that will be accepted by Contoso Cloud Organization. 5. Once the delegation token is received back from the Azure Authentication System, the Exchange server in Contoso on-premises sends an Autodiscover request to Exchange Online, and upon a successful Autodiscover response will send an EWS request to Exchange Online for Jane’s availability information. 6. The Exchange Online server validates the token provided by the Azure Authentication System and once confirmed, returns the requested Free/Busy data for Jane’s mailbox. Here is a flowchart which illustrates the Free/Busy lookup process: HFB5

Direction Cloud to on-premises

You are logged in to Outlook on the Web or Outlook on Windows as a cloud user (jane@contoso.com), whose mailbox is in Exchange Online. Jane wants to have a meeting with an on-premises user (joe@contoso.com), but must first check their availability for the meeting. 1. Jane creates a meeting request and adds Joe as an attendee 2. The Exchange Online servers in Contoso-cloud side organization determine (usually based on target address of a mail-enabled user) that Joe is not a local mailbox and has a domain name of contoso.com set as the target address. 3. The Availability Service on Exchange Online servers checks to see if there is a path for it to find the Free/Busy information for Contoso on-premises side organization.

  • First, we check if we have an Intra-Organization Connector (1) with the domain name of contoso.com (assuming the Exchange server is 2013 or later on-premises).
  • If an IOC does not exist, then we look to see if an Organization Relationship (2) is configured by looking for the domain name of contoso.com in the list of any existing Organization Relationships.
  • If neither an IOC nor an Organization Relationship for the domain contoso.com exists, then we then look for the domain name contoso.com as an Availability Address Space (3).

4. Assuming we would have an Exchange 2010-only environment in the on-premises and we’ve ran HCW successfully, we should expect to see both an Organization Relationship as well as a Federation Trust which combined is the second option from step #3. The Target ApplicationURI in the Contoso Cloud Organization Relationship is set to FYDIBOHF25SPDLT.contoso.com, which is an identifier for the Contoso on-premises organization trust in the Azure Authentication System. A request is then made to the Azure Authentication System for a delegation token which will be accepted by Contoso on-premises organization. 5. Once the delegation token is received back from the Azure Authentication System, the Exchange Online server in Contoso cloud sends an Autodiscover request to the on-premises Exchange Servers and upon receipt of a successful Autodiscover response it will then send an EWS request for Joe’s availability. 6. The Contoso on-premises Exchange server validates the token provided by the Azure Authentication System and once confirmed, returns the requested Free/Busy data for Joe’s mailbox.

Hybrid Free/Busy lookup order

To summarize, the following order would be used when processing for Free/Busy lookups from cloud to on-premises:

  1. Look for IntraOrganizationConnector (OAUTH)
  2. If there is no IntraOrganizationConnector or if it is disabled, then look for Organization Relationship (DAUTH)
  3. If neither of these are found or they’re disabled, then look for Availability Address Space. Availability Address Space is normally only used for Lotus Notes organizations. If Free/Busy lookup is getting all the way down to using the final Availability Address Space option for cloud to on-premises lookups in a hybrid deployment, then this would suggest there are configuration issues which must be repaired.

The order for Free/Busy lookups from on-premises to cloud is almost the same with some exceptions:

  1. If we have Exchange 2007 servers in coexistence with Exchange 2010/2013, we use Availability Address Space from Exchange 2007 to Exchange 2010/2013 and then Exchange 2010/2013 will use Org Relationship (Ex2010) or IntraOrganization Connector (Ex2013) to Cloud.
  2. If we have Exchange 2010 with Exchange 2013/2016 and OAuth is enabled, Exchange 2010 will use Availability Address Space to Exchange 2013/2016 and then 2013/2016 will use the IntraOrganization Connector to Cloud.
  3. If we have Exchange 2010 with Exchange 2013/2016 and OAuth is not enabled, Exchange 2010 will not send the request to the Exchange 2013/2016. Instead Exchange 2010 will use Organization Relationship to Cloud for Free/Busy.

Exchange 2013 Cu5+ and Exchange 2016 organizations without coexisting with legacy Exchange servers will use by default IntraOrganization Connectors from On-Premises to Cloud (normal process) This table summarizes which components (Get-IntraorganizationConnector / Get-OrganizationRelationship / Get-AvailabilityAddressSpace) are present (YES) or not (NO) in the Exchange Organization depending on the Exchange Server versions on-premises in a Hybrid deployment.

Free/Busy component matrix

Exchange Hybrid Environment Intra Organization Connector (IOC) Organization Relationship Availability Address Space
Pure Exchange 2016 Hybrid YES (created automatically by HCW) YES YES
Pure Exchange 2013 (CU5+) Hybrid YES (created automatically by HCW) YES YES
Pure Exchange 2010 Hybrid NO YES YES
Mixed Exchange 2007 + Exchange 2010 Hybrid NO - Ex2010 NO - Ex2007 YES - Ex2010 NO - Ex2007 YES - Ex2010 YES - Ex2007
Mixed Exchange 2007 + Exchange 2013 Hybrid YES - Ex2013 (if created manually) NO - Ex2007 YES - Ex2013 NO - Ex2007 YES - Ex2013 YES - Ex2007
Mixed Exchange 2010 + Exchange 2013 Hybrid YES - Ex2013 (if created manually) NO - Ex2010 YES - Ex2013 YES - Ex2010 YES - Ex2013 YES - Ex2010
Mixed Exchange 2010 + Exchange 2016 Hybrid YES - Ex2016 (if created manually) NO - Ex2010 YES - Ex2016 YES - Ex2010 YES - Ex2016 YES - Ex2010
Mixed Exchange 2013 + Exchange 2016 Hybrid YES - Ex2016 (created automatically by HCW) YES - Ex2013 YES - Ex2016 YES - Ex2013 YES - Ex2016 YES - Ex2013

Note: OAuth is by default configured by HCW in Exchange 2013 CU5 and above (including Exchange 2016) organizations. If Exchange 2013 / Exchange 2016 servers coexist with Exchange 2010 or older then OAUTH is not configured by default by the HCW but can be manually configured.

Note: Exchange 2013 CU5 is considered old and unlike wine, the finest CU is always the most recent one. You probably have heard about our n and n-1 supported version statement in Hybrid Deployments and can read more about it here and here.

Which Free/Busy lookup method are you using?

I won't go into all the details about the two types of authentication (OAUTH vs DAUTH) in this post, but I recommend reading this blog post at bedtime: Deep Dive: How Hybrid Authentication Really Works. As explained there, OAuth is an open-standards based model which is more preferred to a customized model. You can quickly determine if you are using OAuth or not by running: Get-IntraOrganizationConnector cmdlet in Exchange Management Shell (for F/B direction On-Premises to Cloud) and in Exchange Online PowerShell (for F/B direction Cloud to On-Premises). If you see Enabled = True, then you are using OAuth or the system should at least be trying to.

Note: We also need to make sure that the Target Domain is present on the Intra Organization Connector or Organization Relationship when deciding if using OAUTH or DAUTH.

I have created two flowcharts to show you the logic of using OAUTH vs DAUTH in a F/B lookup process for each F/B direction. The user’s setup remains still the same as shown in previous examples and I am reposting the diagram here so that you don’t need to scroll up. 1. Joe’s Exchange server deciding whether to use Oauth or Dauth : HFB7 2. Jane’s Exchange Online server deciding whether to use Oauth or Dauth HFB8 Now that you know which method is being used (or at least which should be attempted) and we know the direction Free/Busy is failing, we can see if you have everything configured correctly. In most cases these configurations are handled by the HCW and should be accurate and you can re-run the HCW to get things back to a good configuration.

  • If Exchange On-Premises > Exchange Online Free/Busy is failing for all users, you would first check Intra Organization Connector or the Organization Relationship from on-premises.
  • If Exchange Online > Exchange On-Premises Free/Busy is failing for all users, you would first check Intra Organization Connector or the Organization Relationship from Exchange Online.

Below, you will see a sample of the expected configuration for Intra Organization Connectors and Org Relationships from both sides (on-premises and cloud). This Baseline configuration was documented by my co-worker Ray Fong (Support Escalation Engineer) and I am very happy to have it when I troubleshoot Free/Busy issues.

Exchange Online side

Use this article to connect to Exchange Online PowerShell. INTRA ORGANIZATION CONNECTOR IN CLOUD

Get-IntraOrganizationConnector | fl TargetAddressDomains,DiscoveryEndpoint,Enabled
TargetAddressDomains : {contoso.com}
DiscoveryEndpoint    : https://autodiscover.contoso.com/autodiscover/autodiscover.svc *
Enabled              : True

Note: In practice, the On-Premises Discovery Endpoint (Autodiscover) is more likely to be found in the format https://mail.contoso.com/autodiscover/autodiscover.svc because of the EWS External URL, so pay attention to this Autodiscover URL and replace it if needed with the autodiscover.yourdomain.tld on the IOC present in the Cloud Side (Reference Set-IntraOrganizationConnector)

Get-IntraOrganizationConfiguration | fl OnPremiseTargetAddresses
OnPremiseTargetAddresses : {contoso.com}

  • TargetAddressDomains - This should be your federated domains. Example: contoso.com
    • You can find the domains name by cross-checking Exchange Online's (Get-IntraOrganizationConfiguration).OnPremiseTargetAddresses
  • TargetDiscoveryEndpoint - This should be the address of the On-Premises Autodiscover Endpoint. Example: https://autodiscover.contoso.com/autodiscover/autodiscover.svc/.If you paste the URL in IE, you should receive a regular windows authentication security prompt
  • Enabled - This must be True.

Exchange On-Premises side (use Exchange Management Shell)

INTRA ORGANIZATION CONNECTOR IN ON-PREM

Get-IntraOrganizationConnector | fl Name,TargetAddressDomains,DiscoveryEndpoint,Enabled
Name                 : ExchangeHybridOnPremisesToOnline
TargetAddressDomains : {contoso.mail.onmicrosoft.com}
DiscoveryEndpoint    : https://outlook.office365.com/autodiscover/autodiscover.svc
Enabled              : True

  • TargetAddressDomains - This should be your tenant.mail.onmicroosft.com name. Example: 'contoso.mail.onmicrosoft.com'
  • TargetDiscoveryEndpoint - This should be the address of EXO Autodiscover endpoint. Example: https://outlook.office365.com/autodiscover/autodiscover.svc
  • Enabled - This must be True.

Exchange Online side

Use this article to connect to Exchange Online PowerShell. ORGANIZATION RELATIONSHIP IN CLOUD

Get-OrganizationRelationship "Exchange Online to on premises Organization Relationship" | fl DomainNames,FreeBusy*,Target*,Enabled
DomainNames           : {contoso.com}
FreeBusyAccessEnabled : True
FreeBusyAccessLevel   : LimitedDetails
FreeBusyAccessScope   :
TargetApplicationUri  : FYDIBOHF25SPDLT.contoso.com
TargetSharingEpr      :
TargetOwaURL          :
TargetAutodiscoverEpr : https://autodiscover.contoso.com/autodiscover/autodiscover.svc/WSSecurity
Enabled               : True

  • DomainNames - This should be your federated domains. Example: contoso.com
    • You can find the domains name by cross-checking On-Premises' (Get-FederatedOrganizationIdentifier).Domains
  • TargetAutodiscoverEPR - This should be the address of the On-Premises Autodiscover Endpoint. Example: https://autodiscover.contoso.com/autodiscover/autodiscover.svc/WSSecurity. If you paste the URL in IE, you should receive a regular windows authentication security prompt
  • TargetSharingEPR - Ideally this is blank. If it is set, it should be the On-Premises Exchange servers EWS ExternalUrl endpoint. Example: https://server.contoso.com/EWS/Exchange.asmx
    • You can find the URL by cross-checking On-Prem's Get-WebServicesVirtualDirectory ExternaUrl. If you paste the URL in IE with /WSSecurity at the end (https://server.contoso.com/EWS/Exchange.asmx/WSSecurity), you should receive a regular windows authentication security prompt
  • TargetApplicationURI - This must match the ApplicationUrI from On-Prem. Example: FYDIBOHF25SPDLT.contoso.com
    • You can find the value by cross-checking On-Prem's (Get-FederationTrust).ApplicationUri
  • FreeBusyAccessEnabled - This must be True.
  • FreeBusyAccessLevel - This should be either AvailabilityOnly or LimitedDetails.
    • AvailabilityOnly: Free/Busy access with time only
    • LimitedDetails: Free/Busy access with time, subject, and location
  • FreeBusyAccessScope - This is typically blank. The FreeBusyAccessScope parameter specifies a security distribution group in the internal organization that contains users that can have their Free/Busy information accessed by an external organization.
  • Enabled - This must be True.

Exchange On-Premises side (use Exchange Management Shell)

ORGANIZATION RELATIONSHIP IN ON-PREM

Get-OrganizationRelationship "On Premises to Exchange Online Organization Relationship" | fl DomainNames,FreeBusy*,Target*,Enabled
DomainNames           : {contoso.mail.onmicrosoft.com}
FreeBusyAccessEnabled : True
FreeBusyAccessLevel   : LimitedDetails
FreeBusyAccessScope   :
TargetApplicationUri  : Outlook.com
TargetSharingEpr      :
TargetOwaURL          : https://outlook.com/owa/contoso.onmicrosoft.com
TargetAutodiscoverEpr : https://autodiscover-s.outlook.com/autodiscover/autodiscover.svc/WSSecurity
Enabled               : True

  • DomainNames - This should be your tenant.mail.onmicrosoft.com name. Example: contoso.mail.onmicrosoft.com
  • TargetAutodiscoverEpr - This should be a valid Exchange Online Autodiscover endpoint. Example: https://autodiscover-s.outlook.com/autodiscover/autodiscover.svc/WSSecurity or https://pod51038.outlook.com/autodiscover/autodiscover.svc/WSSecurity [<-- A pod address]
    • You can find the value from TargetAutodiscoverEpr of Get-FederationInformaiton -DomainName tenantname.mail.onmicrosoft.com -BypassAdditionalDomainValidation | fl
  • TargetSharingEPR - Ideally this is blank. If it is set, it should be Office 365 EWS endpoint. Example: https://outlook.office365.com/EWS/Exchange.asmx
  • TargetApplicationURI - This must be outlook.com if this is for organization relationship of the cloud tenant. For non-cloud organization relationship, this must match (Get-FederationTrust).ApplicationUri of the On-Prem trust of the other organization.
  • FreeBusyAccessEnabled - This must be True.
  • FreeBusyAccessLevel - This should be either AvailabilityOnly or LimitedDetails.
    • AvailabilityOnly: Free/Busy access with time only
    • LimitedDetails: Free/Busy access with time, subject, and location
  • FreeBusyAccessScope - This is typically blank. The FreeBusyAccessScope parameter specifies a security distribution group in the internal organization that contains users that can have their Free/Busy information accessed by an external organization.
  • Enabled - This must be True.

Both Autodiscover and EWS virtual directories must be enabled for WSSecurity authentication and/or OAuth. For example, if using OAuth, you should have OAuth listed as Authentication Methods, whereas if using only DAuth (Exchange 2010 for example), you would see only WSSecurity. Example of virtual directories authentication methods for an Exchange 2013 Hybrid Organization:

Get-AutodiscoverVirtualDirectory -Server SERVER01 | fl Name,AdminDisplayVersion,*authentication*
Name                          : Autodiscover (Default Web Site)
AdminDisplayVersion           : Version 15.0 (Build 1044.25)
InternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated, WSSecurity, OAuth}
ExternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated, WSSecurity, OAuth}

Get-WebServicesVirtualDirectory -Server server01| fl Name,AdminDisplayVersion,*Authentication*
Name                          : EWS (Default Web Site)
AdminDisplayVersion           : Version 15.0 (Build 1044.25)
InternalAuthenticationMethods : {Ntlm, WindowsIntegrated, WSSecurity, OAuth}
ExternalAuthenticationMethods : {Ntlm, WindowsIntegrated, WSSecurity, OAuth}

As explained earlier, there are some situations where Free/Busy from on-premises to cloud is going via Availability Address Space. This would be the expected configuration for Availability Address Space in Exchange on-premises (Exchange Management Shell):

Get-AvailabilityAddressSpace contoso.mail.onmicrosoft.com | fl ForestName, UserName, UseServiceAccount, AccessMethod, ProxyUrl, Name
ForestName        : contoso.mail.onmicrosoft.com
UserName          :
UseServiceAccount : True
AccessMethod      : InternalProxy
ProxyUrl          : https://server01.contoso.com/EWS/Exchange.asmx
Name              : contoso.mail.onmicrosoft.com

  • ForestName - The should be the tenant.mail.onmicrosoft.com domain name. This should also match the domain name of RemoteRoutingAddress of remote mailboxes. Example: contoso.mail.onmicrosoft.com
  • UserName - This should be blank.
  • UserServiceAccount - This must be True.
  • AccessMethod - This should be InternalProxy.
  • ProxyUrl - This should be the Exchange 2013/2016 Exchange Web Services Virtual Directory URL. The address could be the internal FQDN or load balancing EWS URL. Example: https://server01.contoso.com/EWS/Exchange.asmx

We recommend you check the following requirements for inbound/outbound connectivity to and from Exchange servers in a Hybrid Deployment:

If you have read this far – thank you! This concludes the Part 1 of this blog series. Onto troubleshooting next! Huge thanks to all that contributed to this blog post: Ray Fong, Nino Bilic, Tim Heeney, Greg Taylor and Brian Day. Mirela Buruiana

25 Comments
Not applicable
This is a great post!

I'd really appreciate more deeper dives like this; simply collecting all the information on the process into one place is much better than following the technet rabbit hole.

I'd especially appreciate one detailing the all of the steps taken by the HCW.

Not applicable
@haydong, I / we can do such blog on the configuration steps in HCW and maybe a comparison between Minimal HCW and Full HCW. I assume you are interested in the set-* / add-* /new-* /update-* cmdlets (anything else than get-*)
Not applicable
Very comprehensive article. I look forward to the rest of the series!
Not applicable
Thanks! The rest of the content is currently being reviewed. That part will be much more interesting, at least from technical support perspective. Stay tuned!
Not applicable
This is a nice reading. During this Ignite session https://myignite.microsoft.com/sessions/53164?source=speakerdetail full calendar sharing has been anounced. Can anything be said about when this will be availbale?
Not applicable
This was documented here https://technet.microsoft.com/en-us/library/58b46b2c-a6b2-424a-8fc2-0f1fe1ad8e18(v=exchg.150)#DelegatedMbxPerms

"As of February 2018 the feature to support Full Access, Send on Behalf and folder rights cross forest is being rolled out and expected to be complete by April 2018."

Microsoft

Hi, my name is Mirela Buruiana and I am the main author of this blog. Reply to this comment if you want me to get notified about your question /comment.

Occasional Visitor

Thank you! Great post.

Regular Visitor

It's a really great post!!!

I have a strange question, Free/Busy between On-premises and Cloud no problem, only On-premises cannot sharing calendar to cloud user or set calendar permission to cloud user, but cloud user can sharing calendar to On-premises user, any suggestion? 

Thanks In Advance

Regular Visitor

PS. when assign permission to remote mailbox user will get alert as "one or more users cannot be added to the folder access list. Non-local users cannot be given rights on this server"

Microsoft
Regular Visitor

@Mirela_Buruthank you! hope these will be full supported soon.

Regular Visitor
Microsoft

@Jeep16 , thanks! the hyperlink to part2 is now fixed.

Occasional Visitor

I have everything working in my EXO and Exchange 2016 hybrid.

 

Not sure if this is the right spot for this question - but it is about Free/Busy.

 

When using the Teams Calendar Scheduling Assistant, free/busy is very sporadic even for the meeting organizer.  Very inconsistent. Seems as though if there is already an existing meeting in the organizers calendar, then free/busy displays for the days previous and a week or so after.  Then hashes.

 

Any ideas?

Microsoft

@thorbug , I am not sure about Teams client and how the query / display is done, what I can suggest for the hashes (f/b issue) is that you try F/B from OWA and see if you see the hashes there too (you can use F12 Network Tab and look at the Response for GetUserAvailability) or you can try F/B test on exrca.com https://testconnectivity.microsoft.com/tests/FreeBusy/input when this issue happens in Teams. If the issue is reproducible on the Exchange /OWA client side, then check the error message and check part 2 of my blog, especially the PDF with common errors and resolutions. Those are mainly applicable for Hybrid Free/busy (between exchange on-premises user and exchange online user) but suggestions might help.  If issue is reproducible only in Teams and not Exchange /OWA, then I suggest you open a support case with Teams.

New Contributor

Hello @Mirela_Buru I have another scenario which is on-premise exchange with high availability (DAG) and available on 4 sites. Each site has virtual Exchange and primary DB on each site is located on same physical location of user mailbox. All users' are on single domain, and each geographical site has a DC replicated and synched with other DCs on another sites without any issue. Also, exchange DAG is healthy. Free/Busy is functioning only within same sites! and Free/Busy does not work across all sites! Example, when a user on site#1 is try to look for Free/Busy information for a user mailbox on site#2 then he/she will get error message "calendar; could not be updated" and on "scheduling assistance error is no information!!". Sites are connected together using MPLS connections. 

Any suggestion?

 

Thank you

Microsoft

@Yaseenhh , I work in Exchange Online Support team where I handle cloud free/busy and hybrid free/busy. The scenario you are describing seems pure Exchange On-Premises (cross-site Free/Busy). However, the Free/Busy call should be the same (GetUserAvailability). You need to retrieve that call and the error response. For the error message, you can use F/B test on Remote Connectivity Analyzer https://testconnectivity.microsoft.com/tests/FreeBusy/input  (source user = user from site1 , target user = user from site 2) or Fiddler tool while you reproduce the issue in Outlook or OWA client in Scheduling Assistant as explained in the second part of the blog: https://techcommunity.microsoft.com/t5/exchange-team-blog/demystifying-hybrid-free-busy-finding-erro....

New Contributor

Thanks @Mirela_Buru I am going to open case with Microsoft because this calendar F/B was functioning but suddenly stopped and there is no network restriction between the servers (AD & Exchanges). 

Established Member

Hello @Mirela_Buru 

 

I posted in your other blog about seeing the error with free/busy within f12. I think this article has shown me my issue, but I'm hoping you could confirm my suspicion. Im having issues seeing on-prem free/busy from exchange online mailboxes, the other way around is working fine.

 

In exchange online for get-organzationalrelationship I have the following :

 

TargetAutodiscoverEpr : https://autodiscover-s.outlook.com/autodiscover/autodiscover.svc/WSSecurity

 

TargetApplicationUri : outlook.com

 

 

Based on your information above the autodiscover should be the on-prem autodiscover and the applicationURI should not be outlook.com but our on prem (i.e FYDIBOHF25SPDLT.contoso.com)

 

I dont have an entry for get-intraorganizarionconfiguration ( we have exchange 2010 and 2013 on prem )

 

 

Thanks!

@epeterson79 

 

 

Microsoft

@epeterson79 , sorry I missed it. There are a few things here:

1) Make sure that you are looking at the right Cloud Organization Relationship, that is meant for on-premises organization, should be Office 365 to on-premises.

In EXO PS:

Get-OrganizationRelationship "O365 to on-premises*" |FL Identity, DomainNames, Enabled, Free*, Target*

 

2) DomainNames should be your Vanity Domains, like contoso.com. No other MS domain like domain.mail.onmicrosoft.com or domain.onmicrosoft.com where Autodiscover for it always points to Office 365 servers.

 

3) Autodiscover for Contoso.com in Hybrid deployment must point to on-premises Exchange Server. So make sure you don't have a CNAME record for autodiscover.contoso.com that points to autodiscover.outlook.com. 

 

4) Assuming you have a Get-FederationTrust on-premises, you can put that ApplicationURI in the Cloud Organization Relationship and also if you have Autodiscover pointing to cloud for your contoso.com domain, then you can set TargetSharingEpr to point to the onpremises EWS url to bypass it.

Example of command in EXO PS:
Set-OrganizationRelationship "O365 to on-premises*" -TargetSharingEpr https://mail.contoso.com/EWS/Exchange.asmx -TargetApplicationUri FYDIBOHF25SPDLT.contoso.com

 

5) Then test again Free/Busy from cloud user to onpremUser@contoso.com

You can use https://testconnectivity.microsoft.com/tests/FreeBusy/input 

 

6) I also assume that in Cloud Organization (source side) you have a Mail User  for the target user onpremUser@contoso.com with the same External Email Address . It is not mandatory to have a MEU for target user in the source side but we need to make sure that contoso.com is the SMTP domain which Scheduling Assistant would resolve to. Based on this SMTP resolution, we pick the domain from user@domain and lookup for an organization relationship with the domain listed in DomainNames.

Established Member

@Mirela_Buru 

 

Thanks for the quick reply!!

 

1.  Here is the output:

 

PS C:\windows\system32> Get-OrganizationRelationship "O365 to on-premises*" |FL Identity, DomainNames, Enabled, Free*, Target*


Identity : O365 to On-premises - c12856e0-d236-4e7b-8ba7-a9dac319c92c
DomainNames : {contosomail.com, contosoorg.org} ( I removed, but one is our email , the other is our domain)
Enabled : True
FreeBusyAccessEnabled : True
FreeBusyAccessLevel : LimitedDetails
FreeBusyAccessScope :
TargetApplicationUri : outlook.com
TargetSharingEpr : https://72c9440f-e756-42f7-b48a-80325101d9ac.resource.mailboxmigration.his.msappproxy.net/EWS/E
xchange.asmx
TargetOwaURL : https://mail.contoso.com/owa    ( I removed our server )
TargetAutodiscoverEpr : https://autodiscover-s.outlook.com/autodiscover/autodiscover.svc/WSSecurity

 

 

2. I believe this is correct, this is pointed to our organizations email and domain.

 

3. Our onprem autodiscover.contoso.com points to our public ip for owa

 

4. Thanks for the commands, would I also need to to change the targetautodiscover record? This appears that it should be pointing to  our on-prem autodiscover

 

6. We just made the move to Hybrid 2 weeks ago and have successfully moved 3 mailbox's (2 test accounts and mine) to the Exch online. All of our email addresses are the same as far as @contoso.com 

Microsoft

I see that you already have TargetSharingEpr and that is pointing to Hybrid Agent. Normally you don't need to change TargetAutodiscoverEpr (even if wrong) cause you are not using it due to TargetSharingEpr being populated  but you can re-run HCW because TargetApplicationUri is wrong and this will restore default settings.  Again, I am assuming that Autodiscover for your contosomail.com, contosoorg.org are pointing to on-premises Exchange in public DNS and not Office 365. If Autodiscover (still) points to Office 365, then HCW would set it like this (wrong) and you would need to switch back to on-premises. Then HCW would set it right.  In conclusion, TargetApplicationUri must be the on-premises one and this has to be set somehow (manually or thru HCW)

 

Also, I am assuming that these DomainNames contosomail.com, contosoorg.org are the primary SMTP domains used in Scheduling Assistant, for example, CloudUser@contoso.com will put these attendees in the Scheduling Assistant OnPremUser1@contosomail.com and OnPremUser2@contosoorg.org.

If these 2 conditions are met, then f/b request would go on that org relationship. And if you still have an error related to the security of the message, recycle EWS app pool or IISreset onprem on each exchange server.

New Contributor

@Mirela_Buru 

Here is an update about on my case "Free/Busy" for on-premise Exchange 2016 was not functioning as expected between two difference sites. 

The solution was related to TLS configurations. As we adopted the TLS 1.2 and the third-party tool was used to enable it. However, it was not enabled correctly, the value of Registry key "Enabled" was not (1) which cause the problem!

Correct the value on Client/Server TLS 1.2 to (Enabled (1)) on all Exchange servers within the network solved the problem. 

 

Here are some links related to TLS.

Exchange Server TLS guidance, part 1: Getting Ready for TLS 1.2

https://techcommunity.microsoft.com/t5/exchange-team-blog/exchange-server-tls-guidance-part-1-gettin...

 

Exchange Server TLS guidance Part 2: Enabling TLS 1.2 and Identifying Clients Not Using It

https://techcommunity.microsoft.com/t5/exchange-team-blog/exchange-server-tls-guidance-part-2-enabli...

 

Exchange Server TLS guidance Part 3: Turning Off TLS 1.0/1.1

https://techcommunity.microsoft.com/t5/exchange-team-blog/exchange-server-tls-guidance-part-3-turnin...

 

Hope this will be helpful.

Best Regards, 

Yaseen 

Microsoft

Yasee, thank you for letting us know. Based on your resolution, I can only guess that your underlying free/busy error was similar to this one: “The request was aborted: Could not create SSL/TLS secure channel.”