Skip to content

Commit 971386d

Browse files
authored
Merge pull request #252442 from Justinha/ps-convert
removed AD PS
2 parents c0144b8 + 5568953 commit 971386d

File tree

1 file changed

+7
-46
lines changed

1 file changed

+7
-46
lines changed

articles/active-directory/authentication/howto-sspr-authenticationdata.md

Lines changed: 7 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: Pre-populate contact information for self-service password reset
3-
description: Learn how to pre-populate contact information for users of Microsoft Entra self-service password reset (SSPR) so they can use the feature without completing a registration process.
2+
title: Prepopulate contact information for self-service password reset
3+
description: Learn how to prepopulate contact information for users of Microsoft Entra self-service password reset (SSPR) so they can use the feature without completing a registration process.
44

55
services: active-directory
66
ms.service: active-directory
77
ms.subservice: authentication
88
ms.topic: how-to
9-
ms.date: 09/14/2023
9+
ms.date: 09/21/2023
1010

1111
ms.author: justinha
1212
author: justinha
@@ -16,11 +16,11 @@ ms.reviewer: tilarso
1616
ms.collection: M365-identity-device-management
1717
ms.custom: has-azure-ad-ps-ref
1818
---
19-
# Pre-populate user authentication contact information for Microsoft Entra self-service password reset (SSPR)
19+
# Prepopulate user authentication contact information for Microsoft Entra self-service password reset (SSPR)
2020

2121
To use Microsoft Entra self-service password reset (SSPR), authentication information for a user must be present. Most organizations have users register their authentication data themselves while collecting information for MFA. Some organizations prefer to bootstrap this process through synchronization of authentication data that already exists in Active Directory Domain Services (AD DS). This synchronized data is made available to Microsoft Entra ID and SSPR without requiring user interaction. When users need to change or reset their password, they can do so even if they haven't previously registered their contact information.
2222

23-
You can pre-populate authentication contact information if you meet the following requirements:
23+
You can prepopulate authentication contact information if you meet the following requirements:
2424

2525
* You have properly formatted the data in your on-premises directory.
2626
* You have configured [Microsoft Entra Connect](../hybrid/connect/how-to-connect-install-express.md) for your Microsoft Entra tenant.
@@ -79,8 +79,7 @@ The following fields can be set through PowerShell:
7979
* *Office phone*
8080
* Can only be set if you're not synchronizing with an on-premises directory.
8181

82-
> [!IMPORTANT]
83-
> Azure AD PowerShell is planned for deprecation. You can start using [Microsoft Graph PowerShell](/powershell/microsoftgraph/overview) to interact with Microsoft Entra ID as you would in Azure AD PowerShell, or use the [Microsoft Graph REST API for managing authentication methods](/graph/api/resources/authenticationmethods-overview).
82+
You can use [Microsoft Graph PowerShell](/powershell/microsoftgraph/overview) to interact with Microsoft Entra ID, or use the [Microsoft Graph REST API for managing authentication methods](/graph/api/resources/authenticationmethods-overview).
8483

8584
### Use Microsoft Graph PowerShell
8685

@@ -121,47 +120,9 @@ Get-MgUser -UserId '[email protected]' | select businessPhones
121120
Get-MgUser -UserId '[email protected]' | Select businessPhones, mobilePhone, otherMails | Format-Table
122121
```
123122

124-
### Use Azure AD PowerShell
125-
126-
To get started, [download and install the Microsoft Entra version 2 PowerShell module](/powershell/module/azuread/).
127-
128-
To quickly install from recent versions of PowerShell that support `Install-Module`, run the following commands. The first line checks to see if the module is already installed:
129-
130-
```PowerShell
131-
Get-Module AzureAD
132-
Install-Module AzureAD
133-
Connect-AzureAD
134-
```
135-
136-
After the module is installed, use the following steps to configure each field.
137-
138-
#### Set the authentication data with Azure AD PowerShell version 2
139-
140-
```PowerShell
141-
Connect-AzureAD
142-
143-
Set-AzureADUser -ObjectId [email protected] -OtherMails @("[email protected]")
144-
Set-AzureADUser -ObjectId [email protected] -Mobile "+1 4251234567"
145-
Set-AzureADUser -ObjectId [email protected] -TelephoneNumber "+1 4252345678"
146-
147-
Set-AzureADUser -ObjectId [email protected] -OtherMails @("[email protected]") -Mobile "+1 4251234567" -TelephoneNumber "+1 4252345678"
148-
```
149-
150-
#### Read the authentication data with Azure AD PowerShell version 2
151-
152-
```PowerShell
153-
Connect-AzureAD
154-
155-
Get-AzureADUser -ObjectID [email protected] | select otherMails
156-
Get-AzureADUser -ObjectID [email protected] | select Mobile
157-
Get-AzureADUser -ObjectID [email protected] | select TelephoneNumber
158-
159-
Get-AzureADUser | select DisplayName,UserPrincipalName,otherMails,Mobile,TelephoneNumber | Format-Table
160-
```
161-
162123
## Next steps
163124

164-
Once authentication contact information is pre-populated for users, complete the following tutorial to enable self-service password reset:
125+
Once authentication contact information is prepopulated for users, complete the following tutorial to enable self-service password reset:
165126

166127
> [!div class="nextstepaction"]
167128
> [Enable Microsoft Entra self-service password reset](tutorial-enable-sspr.md)

0 commit comments

Comments
 (0)