Skip to content

Commit

Permalink
add support for external emails
Browse files Browse the repository at this point in the history
  • Loading branch information
damienbod committed Jan 1, 2024
1 parent cebd014 commit ac71c27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions RegisterUsersAzureB2CMsGraph/Pages/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-page="/CreateB2CFederatedUser">B2C ME ID federated</a>
</li>
@* <li class="nav-item">
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-page="/CreateB2CFederatedWithPassword">Password B2C federated user</a>
</li>
<li class="nav-item">
@* <li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-page="/InviteUser">InviteUser</a>
</li> *@
</ul>
Expand Down
1 change: 0 additions & 1 deletion RegisterUsersAzureB2CMsGraph/Services/MsGraphService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ await _graphServiceClient.Users
return (user.UserPrincipalName!, user.PasswordProfile.Password, user.Id!);
}

// TODO: not working afer Graph SDK 5 update
public async Task<(string Upn, string Password, string Id)> CreateEmailAddressUserWithPasswordAsync(UserModelB2CEmail userModel)
{
// new user create, email does not matter unless you require to send mails
Expand Down

0 comments on commit ac71c27

Please sign in to comment.