Camron B
Camron B

Reputation: 1840

How do I authenticate against Azure Active Directory from my client app?

I am building a small client application in C#. I am trying to call a web service that is secured using Azure Active Directory.

How do I get a token from Azure Active Directory for use when calling the web service?

Upvotes: 1

Views: 492

Answers (1)

BenV
BenV

Reputation: 12452

The AzureADSamples GitHub repo should have everything you need.

Either the NativeClient-DotNet (if you're doing impersonation) or NativeClient-Headless-DotNet (if you're using a single application account) examples should be very close to what you're doing.

Upvotes: 1

Related Questions