Forum Discussion

skytv's avatar
skytv
Copper Contributor
Aug 05, 2022

How to get directory details programmatically in Azure AD?

I have registered a new Azure AD app for login functionality in existing vuejs and nodejs projects.

And I successfully set up login and logout functionality using azure/msal-node npm package.

Now, I want to get the directory details after the user login to store that directory details in my local DB.

I have read many documents but didn't find any working solution. So, Please help me and share good documentation links that could be helpful for me.

After login, success get this response from Azure AD: https://i.imgur.com/7fvzNiG.pngsevenstar

Note:- I am referring this document: speakyourmindherehttps://docs.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-nodejs-webapp-msalskytvbundle

Resources