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.
Does azure ad authentication work with windows installer
So25
0
Reputation points
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