Comments (7)
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.
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.
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.
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.
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.
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.
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)
- Configuring for single tenant HOT 2
- Access denied when trying to get mail messages HOT 2
- ConfidentialClientApplication.AcquireTokenForClientAsync(IEnumerable<string>)' is obsolete HOT 2
- Authentication success, but after redirect to site Getting the error page - Azure app service HOT 2
- The profile picture is not loading and getting access denied error. HOT 1
- User not found in token cache HOT 6
- Supported account types issue HOT 1
- Needs updating to MSAL v4.0
- Application using http vs https HOT 3
- Unable to get access token HOT 12
- Transient creation of GraphServiceClient HOT 2
- build failed HOT 1
- Restart IIS in production returns error if user is logged in HOT 3
- After signin in to AAD - Exception: Correlation failed. HOT 2
- Code is not usable in a deployed web app. HOT 6
- Release version for production env HOT 3
- Single tenant - Guest Account login error - Null Token HOT 2
- Retrieve user groups in Startup.cs HOT 1
- Error when running application (single-tenant vs multi-tenant) HOT 3
- This repo is missing important files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aspnetcore-connect-sample.