GithubHelp home page GithubHelp logo

Comments (4)

TiagoBrenck avatar TiagoBrenck commented on July 2, 2024

@alphacreative I am sorry for the confusion.
So, this "Reply Url" will be under "App registrations", then on the main window find the text "Redirect URIs" and click on the link right beside it. It will lead you to the screen where you can add/edit the redirect Urls.
In this particular sample, we don`t have Sign-On url, so please ignore this step.

The Manifest file is a JSON representation of all the configs for that application. See it as a "web.config" sort of file. Developers that are more familiarized with Portal Azure, change the configurations directly from the Manifest, however we only recommend it if you really know what you are doing. You can read more about Manifest here: https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-app-manifest

from active-directory-dotnet-daemon.

AlphaCreativeDev avatar AlphaCreativeDev commented on July 2, 2024

Thanks. That answers that question however after following that final step and configuring the "TodoListDaemon" to point to the azure service, it fails when posting the Todo on line 82 of Program.cs. If I run "TodoListDaemon" but have it configured to point to the local "TodoListService" it works fine.

Here is the error I'm getting:

System.AggregateException
HResult=0x80131500
Message=One or more errors occurred.
Source=mscorlib
StackTrace:
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at TodoListDaemon.Program.Main(String[] args) in C:\temp\active-directory-dotnet-daemon-master\TodoListDaemon\Program.cs:line 82

Inner Exception 1:
HttpRequestException: An error occurred while sending the request.

Inner Exception 2:
WebException: The underlying connection was closed: An unexpected error occurred on a send.

Inner Exception 3:
IOException: Authentication failed because the remote party has closed the transport stream.

from active-directory-dotnet-daemon.

TiagoBrenck avatar TiagoBrenck commented on July 2, 2024

@alphacreative I have proposed a PR:#40 with the fix.
Feel free to change your code and try again. It is just one line of code.

from active-directory-dotnet-daemon.

AlphaCreativeDev avatar AlphaCreativeDev commented on July 2, 2024

I read the comments in the PR and upgraded to dotnet 4.7. That resolved the issue for me. Thanks!

from active-directory-dotnet-daemon.

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.