%3CLINGO-SUB%20id%3D%22lingo-sub-317762%22%20slang%3D%22en-US%22%3ECall%20Remote%20Assist%20from%20your%20HoloLens%20App%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-317762%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3EFirst%20published%20on%20MSDN%20on%20Oct%2005%2C%202018%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%20We%20%3CA%20href%3D%22https%3A%2F%2Fblogs.microsoft.com%2Fblog%2F2018%2F09%2F18%2Fannouncing-new-ai-and-mixed-reality-business-applications-for-microsoft-dynamics%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20annonced%20%3C%2FA%3E%20%2C%20in%20September%202018%2C%20new%201st%20party%20Mixed%20Reality%20business%20applications%20from%20Microsoft%3A%20%3CBR%20%2F%3E%3CBLOCKQUOTE%3EWe%20recognize%20that%20many%20employees%20need%20information%20in%20context%20to%20apply%20their%20knowledge%20and%20craft.%20Not%20only%20on%20a%202-D%20screen%20%E2%80%94%20but%20information%20and%20data%20in%20context%2C%20at%20the%20right%20place%2C%20and%20at%20the%20right%20time%2C%20so%20employees%20can%20produce%20even%20greater%20impact%20for%20their%20organizations.%20Mixed%20reality%20is%20a%20technology%20uniquely%20suited%20to%20do%20exactly%20that.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Here%20is%20%3CSTRONG%3E%20Dynamics%20365%20Remote%20Assist%20%3C%2FSTRONG%3E%20%E2%AC%87%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67659i71C4D4ED4BDE01E8%22%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CH3%20id%3D%22lets-explicit-how-you-can-leverage-on-remote-assist-calls-directly-within-you-hololens-mixed-reality-apps%22%20id%3D%22toc-hId-1535866627%22%20id%3D%22toc-hId-1563688693%22%3ELet's%20explicit%20how%20you%20can%20leverage%20on%20Remote%20Assist%20calls%20directly%20within%20you%20HoloLens%20Mixed%20Reality%20apps!%3C%2FH3%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CH2%20id%3D%22step-1-the-unity-project-has-to-be-set-up--for-windows-mixed-reality%22%20id%3D%22toc-hId--819776829%22%20id%3D%22toc-hId--791954763%22%3EStep%201.%20The%20Unity%20project%20has%20to%20be%20set%20up%20%3Atriangular_ruler%3A%3C%2Fimg%3E%20for%20Windows%20Mixed%20Reality%3C%2FH2%3E%3CBR%20%2F%3E%3CBLOCKQUOTE%3E%3CSTRONG%3ENote%3A%20%3C%2FSTRONG%3E%20You%20can%20skip%20this%20part%20if%20you%20are%20familiar%20with%20Unity%20and%20Mixed%20Reality.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20If%20not%2C%20please%20refer%20to%20%3CA%20href%3D%22https%3A%2F%2Fblogs.msdn.microsoft.com%2Fappconsult%2F2018%2F06%2F14%2Fcreate-a-windows-mixed-reality-app-from-0-the-unity-project%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Create%20a%20Windows%20Mixed%20Reality%20App%20from%200%20%E2%80%93%20The%20Unity%20project%20%3C%2FA%3E%20.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20For%20the%20pre-requisites%2C%20here%20are%20the%20details%3A%20%3CA%20href%3D%22https%3A%2F%2Fblogs.msdn.microsoft.com%2Fappconsult%2F2018%2F06%2F14%2Fcreate-a-windows-mixed-reality-app-from-0-the-technology-and-the-tools%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Create%20a%20Windows%20Mixed%20Reality%20App%20from%200%20%E2%80%93%20The%20technology%20and%20the%20tools%3C%2FA%3E%3C%2FBLOCKQUOTE%3E%3CBR%20%2F%3E%20As%20usual%2C%20you%20should%20have%20an%20Unity%20project%20configured%20for%20Windows%20Mixed%20Reality%3A%20%3CBR%20%2F%3E%3CUL%3E%3CBR%20%2F%3E%3CLI%3E%3CSTRONG%3EFile%20%3C%2FSTRONG%3E%20menu%20%2F%20%3CSTRONG%3E%20Build%20Settings%20%3C%2FSTRONG%3E%20%E2%9E%A1%20%3CSTRONG%3E%20Universal%20Windows%20Platform%20%3C%2FSTRONG%3E%20selected%20as%20the%20Build%20platform%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3E%3CSTRONG%3EEdit%20%3C%2FSTRONG%3E%20menu%20%2F%20%3CSTRONG%3E%20Project%20Settings%20%3C%2FSTRONG%3E%20%2F%20%3CSTRONG%3E%20Player%20%3C%2FSTRONG%3E%20%E2%9E%A1%20%3CSTRONG%3E%20Virtual%20Reality%20Supported%20%3C%2FSTRONG%3E%20checked%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3E%3CSTRONG%3EEdit%20%3C%2FSTRONG%3E%20menu%20%2F%20%3CSTRONG%3E%20Project%20Settings%20%3C%2FSTRONG%3E%20%2F%20%3CSTRONG%3E%20Player%20%3C%2FSTRONG%3E%20%E2%9E%A1%20%3CSTRONG%3E%20Other%20Settings%20%3C%2FSTRONG%3E%20%2F%20%3CSTRONG%3E%20.NET%20%3C%2FSTRONG%3E%20as%20Scripting%20Backend.%20Please%20also%20use%20the%20%3CSTRONG%3E%20Experimental%20(.NET%204.6%20Equivalent)%20%3C%2FSTRONG%3E%20for%20the%20Scripting%20Runtime%20Version.%3C%2FLI%3E%3CBR%20%2F%3E%3C%2FUL%3E%3CBR%20%2F%3E%3CH2%20id%3D%22step-2-call-the-remote-assist--protocol-from-the-unity-app-%22%20id%3D%22toc-hId-923033506%22%20id%3D%22toc-hId-950855572%22%3EStep%202.%20Call%20the%20Remote%20Assist%20%3Amovie_camera%3A%3C%2Fimg%3E%20protocol%20from%20the%20Unity%20App%20%3Ajoystick%3A%3C%2Fimg%3E%3C%2FH2%3E%3CBR%20%2F%3E%20As%20you%20know%2C%20in%20a%20Mixed%20Reality%20Application%2C%20we%20can%20call%20UWP%20APIs.%20We%20just%20have%20to%20decorate%20the%20calls%20with%20a%20%3CA%20href%3D%22https%3A%2F%2Fdocs.unity3d.com%2FManual%2FPlatformDependentCompilation.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Platform%20dependent%20compilation%20%3C%2FA%3E%20directive%3A%20%3CBR%20%2F%3E%3CCODE%3E%0A%20%20%20%23if%20ENABLE_WINMD_SUPPORT%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%2F%2F%20Blablabla%20in%20C%23%20for%20UWP%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%23endif%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%3C%2FCODE%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20We%20use%20the%0A%20%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fuwp%2Fapi%2Fwindows.system.launcher.launchuriasync%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%0A%20%20%20LaunchUriAsync%0A%20%20%3C%2FA%3E%0A%20%20method%20with%20the%20new%20Remote%20Assist%20protocol%20which%20is%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CSTRONG%3E%0A%20%20%20ms-voip-video%3A%3Fcontactids%3D%3COBJECTID_FROM_AAD%3E%0A%20%20%3C%2FOBJECTID_FROM_AAD%3E%3C%2FSTRONG%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20I%20will%20introduce%20what%20is%20the%0A%20%20%3CEM%3E%0A%20%20%20Object%20ID%20from%20Azure%20Active%20Directory%0A%20%20%3C%2FEM%3E%0A%20%20in%20the%20next%20paragraph.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20The%20helper%20function%20you%20can%20create%20would%20look%20like%20this%3A%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CCODE%3E%0A%20%20%20private%20async%20Task%20LaunchURI(System.Uri%20uri)%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%23if%20ENABLE_WINMD_SUPPORT%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%2F%2F%20Launch%20the%20URI%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20try%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20var%20success%20%3D%20await%20Windows.System.Launcher.LaunchUriAsync(uri)%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20if%20(success)%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20Debug.Log(%22URI%20launched%22)%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7D%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20else%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20Debug.Log(%22URI%20launch%20failed%22)%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7D%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7D%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20catch%20(Exception%20ex)%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20Debug.Log(ex.Message)%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7D%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%23endif%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7D%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%3C%2FCODE%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20In%20your%20app%2C%20to%20call%20the%20Remote%20Assist%20protocol%2C%20just%20use%3A%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CCODE%3E%0A%20%20%20string%20uriToLaunch%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3D%20%40%22ms-voip-video%3A%3Fcontactids%3Dbf538576-xxxx-yyyy-zzzz-1d548b9e7010%22%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20Debug.Log(%22LaunchUriAsync%3A%20%22%20%2B%20uriToLaunch)%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20var%20uri%20%3D%20new%20Uri(uriToLaunch)%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20await%20LaunchURI(uri)%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%2F%2F%20If%20we%20hit%20an%20UI%20Thread%20issue%2C%20the%20sample%20code%20below%20gives%20a%20workaround%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%3C%2FCODE%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20A%20sample%20code%20%3Apage_facing_up%3A%3C%2Fimg%3E%20ready%20to%20use%0A%20%20%3CBR%20%2F%3E%0A%20%20If%20you%20look%20for%20a%20minimal%20code%20for%20HoloLens%2C%20you%20can%20just%20handle%20the%20AirTap%20to%20initiate%20the%20Remote%20Assist%20call.%20Here%20is%20the%20sample%3A%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CCODE%3E%0A%20%20%20using%20System%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20using%20System%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20using%20System.Threading.Tasks%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20using%20UnityEngine%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20using%20UnityEngine.XR.WSA.Input%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20public%20class%20Tap%20%3A%20MonoBehaviour%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20private%20GestureRecognizer%20recognizer%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%2F%2F%20Use%20this%20for%20initialization%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20async%20void%20Start()%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20recognizer%20%3D%20new%20GestureRecognizer()%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20recognizer.SetRecognizableGestures(GestureSettings.Tap)%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20recognizer.Tapped%20%2B%3D%20GestureRecognizer_Tapped%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20recognizer.StartCapturingGestures()%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7D%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20private%20async%20void%20GestureRecognizer_Tapped(TappedEventArgs%20obj)%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%23if%20ENABLE_WINMD_SUPPORT%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20string%20uriToLaunch%20%3D%20%40%22ms-voip-video%3A%3Fcontactids%3Dbf538576-xxxx-yyyy-zzzz-1d548b9e7010%22%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20Debug.Log(%22LaunchUriAsync%3A%20%22%20%2B%20uriToLaunch)%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20Uri%20uri%20%3D%20new%20Uri(uriToLaunch)%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20await%20Windows.ApplicationModel.Core.CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal%2C%20()%20%3D%26gt%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%2F%2F%20Work%20done%20on%20the%20UI%20thread%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20LaunchURI(uri).ConfigureAwait(false).GetAwaiter().GetResult()%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7D)%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%23endif%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7D%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20private%20async%20Task%20LaunchURI(System.Uri%20uri)%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%23if%20ENABLE_WINMD_SUPPORT%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%2F%2F%20Launch%20the%20URI%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20try%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20var%20success%20%3D%20await%20Windows.System.Launcher.LaunchUriAsync(uri)%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20if%20(success)%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20Debug.Log(%22URI%20launched%22)%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7D%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20else%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20Debug.Log(%22URI%20launch%20failed%22)%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7D%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7D%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20catch%20(Exception%20ex)%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20Debug.Log(ex.Message)%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7D%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%23endif%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7D%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%7D%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%3C%2FCODE%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBLOCKQUOTE%3E%0A%20%20%20%3CSTRONG%3E%0A%20%20%20%20Note%3A%0A%20%20%20%3C%2FSTRONG%3E%0A%20%20%20Be%20sure%20to%20use%20the%0A%20%20%20%3CSTRONG%3E%0A%20%20%20%20Experimental%20(.NET%204.6%20Equivalent)%0A%20%20%20%3C%2FSTRONG%3E%0A%20%20%20for%20the%20Scripting%20Runtime%20Version%20in%20the%0A%20%20%20%3CSTRONG%3E%0A%20%20%20%20Edit%0A%20%20%20%3C%2FSTRONG%3E%0A%20%20%20menu%20%2F%0A%20%20%20%3CSTRONG%3E%0A%20%20%20%20Project%20Settings%0A%20%20%20%3C%2FSTRONG%3E%0A%20%20%20%2F%0A%20%20%20%3CSTRONG%3E%0A%20%20%20%20Player%0A%20%20%20%3C%2FSTRONG%3E%0A%20%20%20%2F%0A%20%20%20%3CSTRONG%3E%0A%20%20%20%20Other%20Settings%0A%20%20%20%3C%2FSTRONG%3E%0A%20%20%20section.%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20The%20explanations%20about%20the%20GestureRecognizer%20can%20be%20found%20here%3A%0A%20%20%20%3CA%20href%3D%22https%3A%2F%2Fblogs.msdn.microsoft.com%2Fappconsult%2F2018%2F06%2F14%2Fcreate-a-windows-mixed-reality-app-from-0-a-simple-example%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%0A%20%20%20%20Create%20a%20Windows%20Mixed%20Reality%20App%20from%200%20%E2%80%93%20A%20simple%20example%0A%20%20%20%3C%2FA%3E%0A%20%20%20.%0A%20%20%3C%2FBLOCKQUOTE%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20The%20entire%20Unity%20project%20with%20this%20sample%20code%20is%20on%0A%20%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2FWindows-AppConsult-Samples-MixedReality%2Ftree%2Fmaster%2FRemoteAssistSamples%2FCallRemoteAssistMinimal%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%0A%20%20%20GitHub%0A%20%20%3C%2FA%3E%0A%20%20.%20If%20you%20want%20to%20test%20it%2C%20deploy%20the%20app%20on%20the%20HoloLens%20and%20just%20do%20an%20AirTap%20to%20initiate%20the%20Remote%20Assist%20call.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CH2%20id%3D%22step-3-find-the-objectid--in-azure-active-directory-aad-%22%20id%3D%22toc-hId--1629123455%22%20id%3D%22toc-hId--1601301389%22%3E%0A%20%20%20Step%203.%20Find%20the%20ObjectID%20%3Aid_button%3A%3C%2Fimg%3E%20in%20Azure%20Active%20Directory%20(AAD)%20%3Aorange_book%3A%3C%2Fimg%3E%0A%20%20%3C%2FH2%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBLOCKQUOTE%3E%0A%20%20%20%3CSTRONG%3E%0A%20%20%20%20Note%3A%0A%20%20%20%3C%2FSTRONG%3E%0A%20%20%20The%20programmatic%20way%20to%20get%20this%20ObjectID%20within%20the%20app%20will%20be%20explained%20in%20an%20article%20that%20I%20will%20publish%20soon%20(here%20is%20the%20link%20-%0A%20%20%20%3CA%20href%3D%22https%3A%2F%2Fblogs.msdn.microsoft.com%2Fappconsult%2F2018%2F12%2F06%2F23775%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%0A%20%20%20%20https%3A%2F%2Fblogs.msdn.microsoft.com%2Fappconsult%2F2018%2F12%2F06%2F23775%2F%0A%20%20%20%3C%2FA%3E%0A%20%20%20).%0A%20%20%3C%2FBLOCKQUOTE%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20Right%20now%2C%20to%20get%20it%20'manually'%2C%20you%20have%20to%20connect%20to%20your%0A%20%20%3CSTRONG%3E%0A%20%20%20Azure%20Active%20Directory%0A%20%20%3C%2FSTRONG%3E%0A%20%20of%20your%0A%20%20%3CSTRONG%3E%0A%20%20%20Office%20365%20tenant%0A%20%20%3C%2FSTRONG%3E%0A%20%20(again%20I%20will%20explain%20all%20of%20this%20in%20a%20following%20article)%3A%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CUL%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20Open%20the%20page%0A%20%20%20%20%3CA%20href%3D%22https%3A%2F%2Faad.portal.azure.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%0A%20%20%20%20%20https%3A%2F%2Faad.portal.azure.com%2F%0A%20%20%20%20%3C%2FA%3E%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20Click%20on%0A%20%20%20%20%3CSTRONG%3E%0A%20%20%20%20%20Users%0A%20%20%20%20%3C%2FSTRONG%3E%0A%20%20%20%20in%20the%20left%20menu%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%3C%2FUL%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67660iD3D96793D4C1FE78%22%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CUL%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20Click%20on%20the%20user%20whom%20you%20want%20to%20call%20by%20using%20Remote%20Assist%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%3C%2FUL%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67662i9DB18B528B212A9F%22%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CUL%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20The%20page%20displays%20the%0A%20%20%20%20%3CSTRONG%3E%0A%20%20%20%20%20Objet%20ID%0A%20%20%20%20%3C%2FSTRONG%3E%0A%20%20%20%20of%20the%20user%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%3C%2FUL%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67664i90CDE62B244AB02F%22%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20For%20testing%2C%20you%20just%20have%20to%20use%20it%20directly%20in%20your%20code%20in%20the%20url%20for%20the%20LaunchUriAsync%20call.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CCODE%3E%0A%20%20%20string%20uriToLaunch%20%3D%20%40%22ms-voip-video%3A%3Fcontactids%3Dbf538576-xxxx-yyyy-zzzz-1d548b9e7010%22%3B%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%3C%2FCODE%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20Do%20not%20worry%20if%20you%20are%20not%20able%20to%20perform%20this%20step%3B%20Remote%20Assist%20is%20smart%20enough%20to%20propose%20you%20an%20user%20interface%20to%20choose%20the%20person%20to%20call%20if%20you%20launch%20it%20with%20an%20object%20ID%20that%20does%20not%20exist.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CH2%20id%3D%22step-4-test--the-code%22%20id%3D%22toc-hId-113686880%22%20id%3D%22toc-hId-141508946%22%3E%0A%20%20%20Step%204.%20Test%20%F0%9F%A7%AA%20the%20code%0A%20%20%3C%2FH2%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20To%20test%20the%20code%2C%20we%20have%20to%20run%20the%20code%20on%20the%20HoloLens%20device%3B%20It%20is%20because%20we%20use%20UWP%20APIs%20and%20we%20have%20to%20launch%20the%20Remote%20Assist%20app%20which%20is%20only%20on%20the%20HoloLens%20device.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20Here%20are%20the%20steps%20to%20deploy%20the%20app%20on%20the%20HoloLens%20with%20Visual%20Studio%3A%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CUL%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20%3CSTRONG%3E%0A%20%20%20%20%20Build%20the%20Unity%20project%0A%20%20%20%20%3C%2FSTRONG%3E%0A%20%20%20%20(You%20choose%20a%20folder%20in%20which%20Unity%20generates%20a%20Visual%20Studio%20solution%20%3B%20Usually%2C%20we%20create%20a%20new%20subfolder%20of%20the%20Unity%20project%20named%0A%20%20%20%20%3CSTRONG%3E%0A%20%20%20%20%20App%0A%20%20%20%20%3C%2FSTRONG%3E%0A%20%20%20%20).%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20Open%20the%20resulting%20Visual%20Studio%20solution%20and%20choose%0A%20%20%20%20%3CSTRONG%3E%0A%20%20%20%20%20x86%0A%20%20%20%20%3C%2FSTRONG%3E%0A%20%20%20%20on%0A%20%20%20%20%3CSTRONG%3E%0A%20%20%20%20%20Device%0A%20%20%20%20%3C%2FSTRONG%3E%0A%20%20%20%20%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67665i7D53C74EA6E4D3F8%22%20%2F%3E%0A%20%20%20%20(if%20USB%20connected)%20or%0A%20%20%20%20%3CSTRONG%3E%0A%20%20%20%20%20Remote%20Machine%0A%20%20%20%20%3C%2FSTRONG%3E%0A%20%20%20%20%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67667i361A9271D64DDFC6%22%20%2F%3E%0A%20%20%20%20(if%20the%20PC%20and%20HoloLens%20are%20on%20the%20same%20Wifi).%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%3C%2FUL%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBLOCKQUOTE%3E%0A%20%20%20To%20get%20the%20IP%20address%20of%20your%20HoloLens%2C%20take%20a%20look%20at%20this%0A%20%20%20%3CA%20href%3D%22https%3A%2F%2Fyoutu.be%2FBfP4t7EUenw%3Ft%3D59%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%0A%20%20%20%20video%0A%20%20%20%3C%2FA%3E%0A%20%20%3C%2FBLOCKQUOTE%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CUL%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20%3CSTRONG%3E%0A%20%20%20%20%20Debug%0A%20%20%20%20%3C%2FSTRONG%3E%0A%20%20%20%20or%0A%20%20%20%20%3CSTRONG%3E%0A%20%20%20%20%20Start%20without%20debugging%0A%20%20%20%20%3C%2FSTRONG%3E%0A%20%20%20%20in%20Visual%20Studio%3A%20The%20apps%20will%20be%20deployed%20and%20launch%20on%20HoloLens.%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%3C%2FUL%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67668i5415DD21BFD2C5A9%22%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBLOCKQUOTE%3E%0A%20%20%20%3CSTRONG%3E%0A%20%20%20%20Note%3A%0A%20%20%20%3C%2FSTRONG%3E%0A%20%20%20You%20can%20also%20Deploy%20the%20app%20on%20the%20HoloLens%20by%20using%20the%0A%20%20%20%3CSTRONG%3E%0A%20%20%20%20Build%0A%20%20%20%3C%2FSTRONG%3E%0A%20%20%20menu%20%2F%0A%20%20%20%3CSTRONG%3E%0A%20%20%20%20Deploy%20Solution%0A%20%20%20%3C%2FSTRONG%3E%0A%20%20%20.%20Then%2C%20on%20the%20device%2C%20just%20locate%20and%20launch%20the%20app%20from%20the%20Start%20menu.%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67670i8108AC113F5A1500%22%20%2F%3E%0A%20%20%3C%2FBLOCKQUOTE%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CH2%20id%3D%22how-does-the-app-work-%22%20id%3D%22toc-hId-1856497215%22%20id%3D%22toc-hId-1884319281%22%3E%0A%20%20%20How%20does%20the%20app%20work%20%3Amagnifying_glass_tilted_right%3A%3C%2Fimg%3E%3F%0A%20%20%3C%2FH2%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3COL%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20In%20your%20app%2C%20you%20run%20the%20LaunchUriAsync%20method%20with%20the%20Remote%20Assist%20protocol.%20This%20protocol%20is%20registered%20for%20the%20Remote%20Assist%20app%20and%20Windows%20opens%20the%20app.%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20The%20Remote%20Assist%20App%20has%20the%20Object%20ID%20of%20the%20person%20to%20call%20in%20the%20url%20and%20initiate%20the%20call%20immediately%20to%20this%20person%20(if%20the%20object%20ID%20is%20not%20found%2C%20Remote%20Assist%20allows%20the%20user%20to%20select%20a%20person%20to%20call).%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20The%20user%20can%20then%20switch%20back%20to%20the%20HoloLens%20App%20using%20the%20Bloom%20gesture%20and%20by%20finding%20the%20app%20in%20the%20Start%20menu.%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20Your%20HoloLens%20app%20runs%20and%20Remote%20Assist%20continues%20streaming%20the%20video%2Faudio%20to%20the%20remote%20user.%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20Do%20not%20forget%20to%20get%20back%20to%20the%20Remote%20Assist%20app%20when%20finished%20in%20order%20to%20stop%20the%20call.%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%3C%2FOL%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CH2%20id%3D%22a-more-interesting-sample--with-a-tagalong-billboard-following-the-user-gaze%22%20id%3D%22toc-hId--695659746%22%20id%3D%22toc-hId--667837680%22%3E%0A%20%20%20A%20more%20interesting%20sample%20%3Apackage%3A%3C%2Fimg%3E%20with%20a%20tagalong%20billboard%20following%20the%20user%20gaze%0A%20%20%3C%2FH2%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20The%20entire%20source%20code%20is%20available%20on%0A%20%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2FWindows-AppConsult-Samples-MixedReality%2Ftree%2Fmaster%2FRemoteAssistSamples%2FCallRemoteAssistFromYourHoloLensApp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%0A%20%20%20GitHub%0A%20%20%3C%2FA%3E%0A%20%20.%20The%20sample%20provide%20you%20a%20Holographic%20button%20that%20is%20always%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CUL%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20Following%20you%20(the%20camera).%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20Oriented%20in%20front%20of%20you.%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20At%20a%20fixed%20distance%20from%20you.%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20Visible%20and%20not%20directly%20in%20the%20center%20of%20the%20field%20of%20view%3A%20it%20seeks%20to%20have%20a%20part%20of%20itself%20in%20the%20view%20frustum%20of%20the%20camera%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%3C%2FUL%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20The%20purpose%20of%20this%20sample%20is%20to%0A%20%20%3CSTRONG%3E%0A%20%20%20provide%20you%20an%20out%20of%20the%20box%20tagalong%20billboard%20for%20you%20apps%20%3Apackage%3A%3C%2Fimg%3E%3Awrapped_gift%3A%3C%2Fimg%3E%0A%20%20%3C%2FSTRONG%3E%0A%20%20!%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20Here%20is%20below%2C%20in%20action%2C%20this%20sample%20and%20the%20Remote%20Assist%20call%20done.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CIFRAME%20frameborder%3D%220%22%20height%3D%22360%22%20src%3D%22https%3A%2F%2Fgfycat.com%2Fifr%2FPortlyPeriodicBaleenwhale%22%20width%3D%22640%22%3E%0A%20%20%3C%2FIFRAME%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CA%20href%3D%22https%3A%2F%2Fgfycat.com%2Fgifs%2Fdetail%2FPortlyPeriodicBaleenwhale%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%0A%20%20%20via%20Gfycat%0A%20%20%3C%2FA%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CH2%20id%3D%22conclusion%22%20id%3D%22toc-hId-1047150589%22%20id%3D%22toc-hId-1074972655%22%3E%0A%20%20%20Conclusion%0A%20%20%3C%2FH2%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20Remote%20Assist%20is%20a%20great%20tool%20you%20could%20leverage%20on%20for%20assistance%20and%20collaboration%20directly%20from%20your%20applications.%20We%20are%20just%20at%20the%20beginning%20of%20the%20journey%3A%20we%20will%20have%20further%20improvements%20on%20the%20way%20to%20use%20all%20Remote%20Assist%20functionalities.%0A%20%20%3CBR%20%2F%3E%0A%20%20Feel%20free%20to%20take%20a%20look%20and%20run%20the%20minimal%20sample%20code%20explained%20in%20this%20article%20or%20the%20tagalong%20billboard%20sample.%20You%20can%20find%20it%20on%20GitHub%20-%0A%20%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2FWindows-AppConsult-Samples-MixedReality%2Ftree%2Fmaster%2FRemoteAssistSamples%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%0A%20%20%20https%3A%2F%2Fgithub.com%2FMicrosoft%2FWindows-AppConsult-Samples-MixedReality%2Ftree%2Fmaster%2FRemoteAssistSamples%0A%20%20%3C%2FA%3E%0A%20%20.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20I%20hope%20you%20could%20reuse%20or%20be%20inspired%20by%20with%20the%20Tagalong%20billboard%20sample.%20Your%20feedback%20is%20welcome!%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20Bye%2C%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2Fsbovo%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%0A%20%20%20%40sbovo%0A%20%20%3C%2FA%3E%0A%20%20for%20the%20%3Alaptop_computer%3A%3C%2Fimg%3E%20%3Avideo_game%3A%3C%2Fimg%3E%20Windows%20AppConsult%20team.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20--%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CH2%20id%3D%22references%22%20id%3D%22toc-hId--1505006372%22%20id%3D%22toc-hId--1477184306%22%3E%0A%20%20%20References%0A%20%20%3C%2FH2%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CUL%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20Announcing%20new%20AI%20and%20mixed%20reality%20business%20applications%20for%20Microsoft%20Dynamics%20-%0A%20%20%20%20%3CA%20href%3D%22https%3A%2F%2Fblogs.microsoft.com%2Fblog%2F2018%2F09%2F18%2Fannouncing-new-ai-and-mixed-reality-business-applications-for-microsoft-dynamics%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%0A%20%20%20%20%20https%3A%2F%2Fblogs.microsoft.com%2Fblog%2F2018%2F09%2F18%2Fannouncing-new-ai-and-mixed-reality-business-applications-for-microsoft-dynamics%2F%0A%20%20%20%20%3C%2FA%3E%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20Launch%20Dynamics%20365%20Remote%20Assist%20from%20another%20app%20(protocol%20activation)%20-%0A%20%20%20%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdynamics365%2Fmixed-reality%2Fremote-assist%2Fprotocol-activation%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%0A%20%20%20%20%20https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdynamics365%2Fmixed-reality%2Fremote-assist%2Fprotocol-activation%0A%20%20%20%20%3C%2FA%3E%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20Calling%20Remote%20Assist%20from%20HoloLens%20-%20Minimal%20sample%20code%20-%0A%20%20%20%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2FWindows-AppConsult-Samples-MixedReality%2Ftree%2Fmaster%2FRemoteAssistSamples%2FCallRemoteAssistMinimal%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%0A%20%20%20%20%20https%3A%2F%2Fgithub.com%2FMicrosoft%2FWindows-AppConsult-Samples-MixedReality%2Ftree%2Fmaster%2FRemoteAssistSamples%2FCallRemoteAssistMinimal%0A%20%20%20%20%3C%2FA%3E%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CLI%3E%0A%20%20%20%20Calling%20Remote%20Assist%20from%20HoloLens%20-%20Full%20Tagalong%20billboard%20sample%20code%20-%0A%20%20%20%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2FWindows-AppConsult-Samples-MixedReality%2Ftree%2Fmaster%2FRemoteAssistSamples%2FCallRemoteAssistFromYourHoloLensApp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%0A%20%20%20%20%20https%3A%2F%2Fgithub.com%2FMicrosoft%2FWindows-AppConsult-Samples-MixedReality%2Ftree%2Fmaster%2FRemoteAssistSamples%2FCallRemoteAssistFromYourHoloLensApp%0A%20%20%20%20%3C%2FA%3E%0A%20%20%20%3C%2FLI%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%3C%2FUL%3E%0A%20%0A%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-317762%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20MSDN%20on%20Oct%2005%2C%202018%20We%20annonced%2C%20in%20September%202018%2C%20new%201st%20party%20Mixed%20Reality%20business%20applications%20from%20Microsoft%3AWe%20recognize%20that%20many%20employees%20need%20information%20in%20context%20to%20apply%20their%20knowledge%20and%20craft.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-317762%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EHoloLens%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Emixed%20reality%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eremote%20assist%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eunity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EVisual%20Studio%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft
First published on MSDN on Oct 05, 2018
We annonced , in September 2018, new 1st party Mixed Reality business applications from Microsoft:
We recognize that many employees need information in context to apply their knowledge and craft. Not only on a 2-D screen — but information and data in context, at the right place, and at the right time, so employees can produce even greater impact for their organizations. Mixed reality is a technology uniquely suited to do exactly that.

Here is Dynamics 365 Remote Assist





Let's explicit how you can leverage on Remote Assist calls directly within you HoloLens Mixed Reality apps!





Step 1. The Unity project has to be set up :triangular_ruler: for Windows Mixed Reality


Note: You can skip this part if you are familiar with Unity and Mixed Reality.

If not, please refer to Create a Windows Mixed Reality App from 0 – The Unity project .

For the pre-requisites, here are the details: Create a Windows Mixed Reality App from 0 – The technology and the tools

As usual, you should have an Unity project configured for Windows Mixed Reality:

  • File menu / Build Settings Universal Windows Platform selected as the Build platform

  • Edit menu / Project Settings / Player Virtual Reality Supported checked

  • Edit menu / Project Settings / Player Other Settings / .NET as Scripting Backend. Please also use the Experimental (.NET 4.6 Equivalent) for the Scripting Runtime Version.


Step 2. Call the Remote Assist :movie_camera: protocol from the Unity App :joystick:


As you know, in a Mixed Reality Application, we can call UWP APIs. We just have to decorate the calls with a Platform dependent compilation directive:
#if ENABLE_WINMD_SUPPORT
// Blablabla in C# for UWP
#endif

We use the LaunchUriAsync method with the new Remote Assist protocol which is

ms-voip-video:?contactids=<ObjectID_From_AAD>

I will introduce what is the Object ID from Azure Active Directory in the next paragraph.

The helper function you can create would look like this:
private async Task LaunchURI(System.Uri uri)
{
#if ENABLE_WINMD_SUPPORT
// Launch the URI
try
{
var success = await Windows.System.Launcher.LaunchUriAsync(uri);

if (success)
{
Debug.Log("URI launched");
}
else
{
Debug.Log("URI launch failed");
}
}
catch (Exception ex)
{
Debug.Log(ex.Message);
}
#endif
}

In your app, to call the Remote Assist protocol, just use:
string uriToLaunch
= @"ms-voip-video:?contactids=bf538576-xxxx-yyyy-zzzz-1d548b9e7010";
Debug.Log("LaunchUriAsync: " + uriToLaunch);

var uri = new Uri(uriToLaunch);
await LaunchURI(uri);
// If we hit an UI Thread issue, the sample code below gives a workaround

A sample code :page_facing_up: ready to use
If you look for a minimal code for HoloLens, you can just handle the AirTap to initiate the Remote Assist call. Here is the sample:
using System;
using System;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.XR.WSA.Input;

public class Tap : MonoBehaviour
{

private GestureRecognizer recognizer;

// Use this for initialization
async void Start()
{
recognizer = new GestureRecognizer();
recognizer.SetRecognizableGestures(GestureSettings.Tap);
recognizer.Tapped += GestureRecognizer_Tapped;
recognizer.StartCapturingGestures();
}

private async void GestureRecognizer_Tapped(TappedEventArgs obj)
{
#if ENABLE_WINMD_SUPPORT
string uriToLaunch = @"ms-voip-video:?contactids=bf538576-xxxx-yyyy-zzzz-1d548b9e7010";
Debug.Log("LaunchUriAsync: " + uriToLaunch);

Uri uri = new Uri(uriToLaunch);
await Windows.ApplicationModel.Core.CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =>
{
// Work done on the UI thread
LaunchURI(uri).ConfigureAwait(false).GetAwaiter().GetResult();
});
#endif
}


private async Task LaunchURI(System.Uri uri)
{
#if ENABLE_WINMD_SUPPORT
// Launch the URI
try
{
var success = await Windows.System.Launcher.LaunchUriAsync(uri);

if (success)
{
Debug.Log("URI launched");
}
else
{
Debug.Log("URI launch failed");
}
}
catch (Exception ex)
{
Debug.Log(ex.Message);
}
#endif
}
}

Note: Be sure to use the Experimental (.NET 4.6 Equivalent) for the Scripting Runtime Version in the Edit menu / Project Settings / Player / Other Settings section.

The explanations about the GestureRecognizer can be found here: Create a Windows Mixed Reality App from 0 – A simple example .

The entire Unity project with this sample code is on GitHub . If you want to test it, deploy the app on the HoloLens and just do an AirTap to initiate the Remote Assist call.

Step 3. Find the ObjectID :id_button: in Azure Active Directory (AAD) :orange_book:


Note: The programmatic way to get this ObjectID within the app will be explained in an article that I will publish soon (here is the link - https://blogs.msdn.microsoft.com/appconsult/2018/12/06/23775/ ).

Right now, to get it 'manually', you have to connect to your Azure Active Directory of your Office 365 tenant (again I will explain all of this in a following article):



  • Click on the user whom you want to call by using Remote Assist




  • The page displays the Objet ID of the user




For testing, you just have to use it directly in your code in the url for the LaunchUriAsync call.
string uriToLaunch = @"ms-voip-video:?contactids=bf538576-xxxx-yyyy-zzzz-1d548b9e7010";

Do not worry if you are not able to perform this step; Remote Assist is smart enough to propose you an user interface to choose the person to call if you launch it with an object ID that does not exist.

Step 4. Test 🧪 the code


To test the code, we have to run the code on the HoloLens device; It is because we use UWP APIs and we have to launch the Remote Assist app which is only on the HoloLens device.

Here are the steps to deploy the app on the HoloLens with Visual Studio:

  • Build the Unity project (You choose a folder in which Unity generates a Visual Studio solution ; Usually, we create a new subfolder of the Unity project named App ).

  • Open the resulting Visual Studio solution and choose x86 on Device (if USB connected) or Remote Machine (if the PC and HoloLens are on the same Wifi).


To get the IP address of your HoloLens, take a look at this video


  • Debug or Start without debugging in Visual Studio: The apps will be deployed and launch on HoloLens.



Note: You can also Deploy the app on the HoloLens by using the Build menu / Deploy Solution . Then, on the device, just locate and launch the app from the Start menu.


How does the app work :magnifying_glass_tilted_right:?



  1. In your app, you run the LaunchUriAsync method with the Remote Assist protocol. This protocol is registered for the Remote Assist app and Windows opens the app.

  2. The Remote Assist App has the Object ID of the person to call in the url and initiate the call immediately to this person (if the object ID is not found, Remote Assist allows the user to select a person to call).

  3. The user can then switch back to the HoloLens App using the Bloom gesture and by finding the app in the Start menu.

  4. Your HoloLens app runs and Remote Assist continues streaming the video/audio to the remote user.

  5. Do not forget to get back to the Remote Assist app when finished in order to stop the call.


A more interesting sample :package: with a tagalong billboard following the user gaze


The entire source code is available on GitHub . The sample provide you a Holographic button that is always

  • Following you (the camera).

  • Oriented in front of you.

  • At a fixed distance from you.

  • Visible and not directly in the center of the field of view: it seeks to have a part of itself in the view frustum of the camera


The purpose of this sample is to provide you an out of the box tagalong billboard for you apps :package::wrapped_gift: !

Here is below, in action, this sample and the Remote Assist call done.


via Gfycat

Conclusion


Remote Assist is a great tool you could leverage on for assistance and collaboration directly from your applications. We are just at the beginning of the journey: we will have further improvements on the way to use all Remote Assist functionalities.
Feel free to take a look and run the minimal sample code explained in this article or the tagalong billboard sample. You can find it on GitHub - https://github.com/Microsoft/Windows-AppConsult-Samples-MixedReality/tree/master/RemoteAssistSam... .

I hope you could reuse or be inspired by with the Tagalong billboard sample. Your feedback is welcome!

Bye,

@sbovo for the :laptop_computer: :video_game: Windows AppConsult team.

--

References