2

I have a requirement where I want to add users into the Windows Azure Active Directory programatically through my .Net MVC4 Application.

What approach should I follow?

1 Answer 1

6

You would need to use WAAD Graph API for that purpose. Do take a look at the sample code here: MVC Sample App for Windows Azure Active Directory Graph especially the code sample for UserController.

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks for answer! I was able to add users auccessfully. I have a next question. I need to retrieve ObjectId of an application I tried following ways 1. Graph Explorer : Sign In-> Gives me server error 2.With URL in the browser: graph.windows.net/abcdef.onmicrosoft.com/… which says -> Authentication_MissingOrMalformedAccess Token missing or malformed. 2 I tried Get method using fiddler -> Gives me same error ->Authentication_MissingOrMalformedAccess Token missing or malformed. Can someone help me for this?
You may want to post this as a separate question.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.