Reputation: 1840
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
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