Share via

HttpListenerException On Using Microsoft Login

Anonymous
2023-03-09T10:18:43+00:00

I am using MS Auth to login the user for my .NET Core 6 web app hosted in Azure app service. Getting following when trying to open MS UI in browser for authentication. getting following error

An HttpListenerException occurred while listening on http://localhost:49299/ for the system browser to complete the login. Possible cause and mitigation: the app is unable to listen on the specified URL; run 'netsh http add iplisten 127.0.0.1' from the Admin command prompt. Access is denied. 

Here is the link for the stackoverflow ticket HttpListenerException On Using Microsoft Login

Windows for home | Windows 10 | Accessibility

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. paulr0511 45,605 Reputation points Independent Advisor
    2023-03-09T12:22:58+00:00

    Good day amitsharma1100! I am glad to be able to provide assistance to you today. I would suggest to post this query to our neighbor forum from the link below. They are more oriented on with regards to this type queries/issues and there will be IT Pros/System Admins/Server Admins/AD Admins who are available that will be able to fulfill your query out there.

    https://learn.microsoft.com/en-us/answers/quest...

    Regards,

    Paul R.

    Was this answer helpful?

    0 comments No comments