This repository was archived by the owner on Jul 31, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 67
ASP.NET Core? #50
Comments
I am looking for the same. In fact have struggled to get the code up and running on Dotnet Core and given up on the same. AuthorizationCodeReceived function is totally different and I just couldn't find a way to implement the same example there. Any help on this regard will be grateful |
Refer the code sample here |
I am looking for adding users to ad through dotnet core.. not authentication.
Regards,
Bharat Raj Meriyala
Sent from my lovely Samsung Galaxy S7.
…-------- Original message --------
From: VitorX <[email protected]>
Date: 09/02/2017 14:44 (GMT+05:30)
To: Azure-Samples/active-directory-dotnet-graphapi-web <[email protected]>
Cc: BharatRajMeriyala <[email protected]>, Comment <[email protected]>
Subject: Re: [Azure-Samples/active-directory-dotnet-graphapi-web] ASP.NET Core? (#50)
Refer the code sample here<https://github.com/Azure-Samples/active-directory-dotnet-webapp-webapi-openidconnect-aspnetcore.git>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#50 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AKaUHH4uPzfBb_9UJq2XwDkDz92gKbQfks5ratjqgaJpZM4Lr9II>.
|
Here is a simple modifying for that code sample for your reference:
Add the dependency for Microsoft Graph: project.json
And to add users to the Azure Active directory, we need to grant the Directory.ReadWrite permission to the app. |
I tried Implementing the code.. But I am unable to make the NaiveSessionCache Work. Basically OnAuthorizationCodeReceived never fires. I am using Dotnet Core 1.1.. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Any chance that you can make an example on how to connect and query Graph using .Net Core?
The text was updated successfully, but these errors were encountered: