Search Unity

Authentication via Azure AD B2C and HoloLens app

Discussion in 'Windows' started by MartinHerbethSpectralTMS, May 6, 2020.

  1. MartinHerbethSpectralTMS

    MartinHerbethSpectralTMS

    Joined:
    Jan 17, 2019
    Posts:
    7
    Hello everyone !

    I'm currently trying to implement an authentication system in my HoloLens 2 app, via Azure AD B2C. After many trials and errors, I finally managed to install the right version of Microsoft.Identity.Client.dll (MSAL .Net) in my Unity project which allows me to use the various methods to retrieve accounts and tokens.

    However, when I try to retrieve an Id token with AcquireTokenInteractive, instead of the UI to input my Microsoft account credentials, I'm met with a popup which prompts me to install an app from the Windows Store to continue. I have found zero information about this on the various documentation about Azure AD B2C authentication with HoloLens, so I'm currently stuck. Would you happen to have any ideas ?






    The popup is in french but it says
    "Do you want to search an application in the Store ?
    You must install an application for this task.
    Do you want to search for one in the store ?"

    Again, thanks for your time and have a nice day !
     
  2. jrjjordan

    jrjjordan

    Joined:
    Oct 20, 2021
    Posts:
    1
    Were you ever able to get this to work?
     
  3. Beurnii

    Beurnii

    Joined:
    Oct 27, 2015
    Posts:
    2
    Hi guys,

    Did you manage to do it? I am too looking to do this