diff --git a/src/Microsoft/Provider.php b/src/Microsoft/Provider.php index a1089958f..005e26ded 100644 --- a/src/Microsoft/Provider.php +++ b/src/Microsoft/Provider.php @@ -179,7 +179,7 @@ protected function mapUserToObject(array $user) 'id' => $user['id'], 'nickname' => null, 'name' => $user['displayName'], - 'email' => $user['userPrincipalName'], + 'email' => $user['mail'], 'avatar' => Arr::get($user, 'avatar'), 'businessPhones' => Arr::get($user, 'businessPhones'),