Active Directory authenitcation the user not registered app

Agnieszka Bemka 1 Reputation point
2022-02-03T11:17:52.857+00:00

I build REST API that send a request to SQL database using Function App, register it in Azure Portal.
I have a problem with authentication. From my local machine I'm able to send a request to the database from the app with Active Directory Interactive authentication, but when I deploy it into portal then I will get an error:

HttpListenerException occurred while listening on http://localhost:51155/ for the system browser to complete the login

Azure SQL Database
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,188 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alberto Morillo 32,796 Reputation points MVP
    2022-02-03T11:52:09.933+00:00

    Please read this article on how to do it using managed identity.