Get the AAD user token from C++ application on Hololens

Francis Dube 6 Reputation points
2022-03-04T20:25:22.483+00:00

Hi,

I have built an Hololens application in C++.

To manage my user authentication, I want to retreived the user token from the user that logged into the Hololens with its Azure Active Directory account.
The recommended way to do this is using the MSAL, however this lib is not available for C++ so I cannot integrate it to my app.

I have tried with Web Authentication Manager, but I am facing issues after issues and the process seems to be bugged. My work is heavily inpired by this blog

If anyone had this need and found a solution, I would love to know how you did it.

Thanks for any help!

Developer technologies | Universal Windows Platform (UWP)
HoloLens | Development
HoloLens | Development
The process of creating immersive mixed reality applications for Microsoft HoloLens,
Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.