Home

How to Add/Delete users to azure active directory from C# code

%3CLINGO-SUB%20id%3D%22lingo-sub-676853%22%20slang%3D%22en-US%22%3EHow%20to%20Add%2FDelete%20users%20to%20azure%20active%20directory%20from%20C%23%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-676853%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Team%2C%3C%2FP%3E%3CP%3ENeed%20to%26nbsp%3B%20add%2Fdelete%26nbsp%3B%20users%20to%20azure%20active%20directory%20using%20C%23%20code.%20can%20you%20please%20help%20me%20on%20same.%3C%2FP%3E%3CP%3Ei%20am%20having%20the%20owner%20role%20on%20active%20directory%20and%20want%20to%20add%20users%20to%20AAD%20through%20C%23%20code.%3C%2FP%3E%3CP%3Edo%20we%20have%20any%20reference%20documents%20%2Fcode%20snippet%20please%20share%20it%20so%20that%20it%20would%20be%20really%20helpful%20to%20me.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERaveendra%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-676853%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-676952%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20Add%2FDelete%20users%20to%20azure%20active%20directory%20from%20C%23%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-676952%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20know%20there's%20a%20very%20well%20documented%20API%20for%20that%2C%20have%20you%20tried%20doing%20a%20search%20online%3F%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fuser-post-users%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dcs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fuser-post-users%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dcs%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
raveendra_pagadala
New Contributor

Hello Team,

Need to  add/delete  users to azure active directory using C# code. can you please help me on same.

i am having the owner role on active directory and want to add users to AAD through C# code.

do we have any reference documents /code snippet please share it so that it would be really helpful to me.

 

Thanks in advance 

 

Raveendra,

 

 

 

1 Reply

You know there's a very well documented API for that, have you tried doing a search online? https://docs.microsoft.com/en-us/graph/api/user-post-users?view=graph-rest-1.0&tabs=cs

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
ChirmyRam in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies