From ac71c27ccc231fb65bb97e0614336689e06535cc Mon Sep 17 00:00:00 2001 From: damienbod Date: Mon, 1 Jan 2024 22:04:17 +0100 Subject: [PATCH] add support for external emails --- RegisterUsersAzureB2CMsGraph/Pages/Shared/_Layout.cshtml | 4 ++-- RegisterUsersAzureB2CMsGraph/Services/MsGraphService.cs | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/RegisterUsersAzureB2CMsGraph/Pages/Shared/_Layout.cshtml b/RegisterUsersAzureB2CMsGraph/Pages/Shared/_Layout.cshtml index df78100..a841698 100644 --- a/RegisterUsersAzureB2CMsGraph/Pages/Shared/_Layout.cshtml +++ b/RegisterUsersAzureB2CMsGraph/Pages/Shared/_Layout.cshtml @@ -26,10 +26,10 @@ - @* - *@ diff --git a/RegisterUsersAzureB2CMsGraph/Services/MsGraphService.cs b/RegisterUsersAzureB2CMsGraph/Services/MsGraphService.cs index d375d88..afc54e1 100644 --- a/RegisterUsersAzureB2CMsGraph/Services/MsGraphService.cs +++ b/RegisterUsersAzureB2CMsGraph/Services/MsGraphService.cs @@ -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