jasonjoh / dotnet-tutorial Goto Github PK
View Code? Open in Web Editor NEWFor a current sample, see https://github.com/microsoftgraph/msgraph-training-aspnetmvcapp
License: Other
For a current sample, see https://github.com/microsoftgraph/msgraph-training-aspnetmvcapp
License: Other
Hi ,
Greetings of the day.
I am just using the sample to get office365 contacts .its working locally but when i deployed or published in Server
Its not redirecting after login and also the contact is not showing ...
i hope its not logged in .
and redirection also problem.
Error.
An error occurred while processing your request.
If enable debug
Please Help Me
Hi,
I follow this sample to get Mail,Contacts,Calendars,
But when try to use it with Tasks (scope = Tasks.Read), this error occour :
You do not have the required permissions to access this item.
Why ?
Hi,
Thanks for this great example. The Demo works and I can see the emails for a [email protected] account
I'm trying to use the sample to renew the access token using a refresh token, but the authResult does not contain a refresh token. I see refresh tokens in the authContext, but I don't know how to use those refresh tokens.
Should you use the refresh token in combination with AcquireTokenSilentAsync() or do you have to do this in another way.
Hope you can give me some example of how to do this.
I receive that error message: "ERROR retrieving token: AADSTS50011: The reply address 'http://localhost:10800/Home/Authorize' does not match the reply addresses configured for the application".
Is that a known bug?
Thanks
We are attempting to use the Phone Number that is used for password reset but can not get it using Claims and it just seems not to be in the Azure directory as it's not the same as mobile number.
We opened a case in stack flow - http://stackoverflow.com/questions/43573292/get-azure-password-reset-authentication-phone-attribute-using-microsoft-graph-library; but there is no answer - can you point us in the correct direction.
Vr, Tim:
I have
var authResult = await _authContext.AcquireTokenByAuthorizationCodeAsync( authCode, _redirectUri, credential, _scopes);
like your Authorize
action result, but all of the authResult
attributes (Token, etc) are null.
I see a reply from https://login.microsoftonline.com/common/oauth2/v2.0/token
in Fiddler that has a token in it. What am I doing wrong here?
Thanks
The expected property 'From' could not be found while processing an entry. Check for null before accessing this property.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: The expected property 'From' could not be found while processing an entry. Check for null before accessing this property.
Source Error:
Line 149: try
Line 150: {
Line 151: var mailResults = await client.Me.Messages
Line 152: .OrderByDescending(m => m.ReceivedDateTime)
Line 153: .Take(50)
I've tried to test for null but can't get around this --- also, even if I change it to .Take(10) I don't get the "From" fields.
Vr, Tim:
Hi,
I've followed the instructions but can not get it to work correctly.
I keep getting the error : "The reply address 'http://localhost:10800/Home/Authorize' does not match the reply addresses configured for the application"
I get the same result with :
Microsoft.Office365.OutlookServices-V2.0 version="2.0.1.0"
Microsoft.Office365.OutlookServices-V2.0 version="2.0.0.0"
Microsoft.Experimental.IdentityModel.Clients.ActiveDirectory version="4.0.209160138-alpha"
Microsoft.Experimental.IdentityModel.Clients.ActiveDirectory version="4.0.208020147-alpha"
I've tried various settings like changing case and toggling the "Allow Implicit Flow" option.
Any ideas what it might be?
This Artiacl Is Vry Helpul ..
But In Readme -images inbox Are Differ comapir Current Project .
And I Want TO Also Crud Operation With Graph Api ..
please SHare Complete Solution For Do It ..
Hi, sorry dont know how to ask question, but do we still need to do:
Install-Package Microsoft.Identity.Client -Pre
Can we now that time has passed, remove the -Pre at all?
Thank you for reading.
Regards
I'm using the following code as explained in the startup.vb file of my vb.net web forms app. The session is always set to nothing although the code is returned fine. I would greatly appreciate If someone could guide me here. Thanks in advance.
SessionTokenCache tokenCache = new SessionTokenCache(signedInUserId,
notification.OwinContext.Environment["System.Web.HttpContextBase"] as HttpContextBase);
Hi,
Hope you are fine, I have run into the issue in subject line while following the tutorial.
I am using Visual Studio 2015 on Windows 10.
Firstly, I followed the steps in this link but got stuck on Step 4 part Updated Index action in ./Controllers/HomeController.cs so I thought I must have missed a step.
So I came here to GitHub, downloaded the solution and restored NuGet packages, ran and it failed on exactly the same link as before (see attached file). The line which throws the NullReferenceException is:
string userName = ClaimsPrincipal.Current.FindFirst("name").Value;
Please can you check why is this happening? Am I missing a setup-step or any library etc?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.