how to get logged in user from system when AD is on Azure cloud

%3CLINGO-SUB%20id%3D%22lingo-sub-856729%22%20slang%3D%22en-US%22%3Ehow%20to%20get%20logged%20in%20user%20from%20system%20when%20AD%20is%20on%20Azure%20cloud%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-856729%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EWe%20are%20trying%20to%20get%20email%20address%20from%20current%20logged%20in%20user%20in%20case%20of%20Single%20sign%20on%20having%20active%20directory%20on%20Azure%20for%20desktop%20application.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewe%20have%20tried%20below%20solution%20with%20graph%20API%2C%20although%20%2Fme%20not%20giving%20us%20the%20required%20email%20address.%3C%2FP%3E%3CP%3Ebelow%20is%20mentioned%20link%20%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fquestions%2F57805024%2Fazure-active-directory-integration-c-sharp-windows-application%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F57805024%2Fazure-active-directory-integration-c-sharp-windows-application%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eplease%20suggest%20how%20we%20can%20implement%20single%20sign%20on%20login%20when%20active%20directory%20is%20on%20azure%20for%20desktop%20application%20c%23.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-856729%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

Hi,

We are trying to get email address from current logged in user in case of Single sign on having active directory on Azure for desktop application.

 

we have tried below solution with graph API, although /me not giving us the required email address.

below is mentioned link :

https://stackoverflow.com/questions/57805024/azure-active-directory-integration-c-sharp-windows-appl...

 

please suggest how we can implement single sign on login when active directory is on azure for desktop application c#. 

 

0 Replies