Code Monkey home page Code Monkey logo

Comments (7)

mark-szabo avatar mark-szabo commented on July 4, 2024

You need to replace 'my client id' with the app id you got when registering your app on the Azure portal (v1/ADAL) or on https://apps.dev.microsoft.com (v2/MSAL).

from aspnetcore-connect-sample.

marcoforce avatar marcoforce commented on July 4, 2024

I also replaced 'my client id' with the app id that I got when I register the app on our azure portal. Still the same error.

from aspnetcore-connect-sample.

jthake-msft avatar jthake-msft commented on July 4, 2024

This sample is actually what the ASP.NET MVC quick start uses and injects a working app id and secret into it. I would recommend using this first and get that working https://developer.microsoft.com/en-us/graph/quick-start

This will eliminate any issues with the way you've registered your app.

from aspnetcore-connect-sample.

marcoforce avatar marcoforce commented on July 4, 2024

It seems that I created a quick start solution for .net framework (when I select ASP.NET MVC) but what I need is .Net Core 2.0, are there any steps that I missed/need to take?

from aspnetcore-connect-sample.

jthake-msft avatar jthake-msft commented on July 4, 2024

We currently do not have a quick start for.net core 2.0. We do have a sample that shows this though here https://github.com/microsoftgraph/aspnetcore-connect-sample . We have on our backlog to provide a quick start for dotnetcore though. no ETA as yet.

from aspnetcore-connect-sample.

mark-szabo avatar mark-szabo commented on July 4, 2024

I have an earlier version of this sample in the git tree using aspnetcore2.0 with ADAL. Will link as soon as I'm at a computer.

from aspnetcore-connect-sample.

mark-szabo avatar mark-szabo commented on July 4, 2024

So here is that earlier version of the sample using ADAL and aspnetcore2.0: https://github.com/microsoftgraph/aspnetcore-connect-sample/tree/6d2fcf63eefe4b61d769e4ce93050de736e0ab44
Please keep in mind that this is not a release, just an in-progress commit, so it is not guaranteed to work out-of-the-box.

from aspnetcore-connect-sample.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.