question

NeilN1 avatar image
0 Votes"
NeilN1 asked ·

Specifying user for AD login

We have a Blazor server app that uses Azure AD for Office 365 for identify management.

NavigationManager.NavigateTo("AzureAD/Account/SignIn", true);

sends the user to https://login.microsoftonline.com/[client/tenant info]

Is it possible to specify a default userid (email address) and/or domain for the userid that should be used when logging in? If a user has multiple Microsoft identities, we want to make it easier for them to choose the right one.

azure-ad-authentication
· 2
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @30208036 , are you asking specifically for Blazor or if this is possible with Azure AD?

Best,
James

0 Votes 0 ·
NeilN1 avatar image NeilN1 JamesHamil-MSFT ·

Hi James,

I'm implementing this in a Blazor Server app so am looking for C# .NET Core 3.1 code.

0 Votes 0 ·

0 Answers