Does azure ad authentication work with windows installer

So25 0 Reputation points
2024-01-22T19:27:23.3033333+00:00

I have a web application, where I authenticate user using Azure AD and retrieve the app role in my code.

The application is also configured to work offline by installing it on the computer. My application works fine when used offline. Expect for retrieving the app role part.

So I would like to know if azure ad authentication work with windows installer. Because when the application is used offline, it does not return app role part of my code.

builder.Services.AddMsalAuthentication
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,293 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 63,746 Reputation points
    2024-01-22T20:05:28.0766667+00:00

    your use case is not clear. azure ad requires a browser to login. once logged in, it redirects back to the application reply url. if the app is installed locally, then the reply url will be a localhost url. your installed app must be listening on this port. also the localhost reply url must be registered as a valid reply url in azure ad.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.