Skip to content

Commit 4ff3d08

Browse files
Fix - remove example without command in context (#1342)
1 parent 5215356 commit 4ff3d08

2 files changed

Lines changed: 4 additions & 24 deletions

File tree

module/docs/entra-powershell-beta/Users/Get-EntraBetaUser.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This article provides details on the Get-EntraBetaUser command.
44

55

66
ms.topic: reference
7-
ms.date: 07/29/2024
7+
ms.date: 02/09/2025
88
ms.author: eunicewaweru
99
ms.reviewer: stevemutungi
1010
manager: CelesteDG
@@ -282,17 +282,7 @@ bbbbbbbb-1111-2222-3333-cccccccccccc Sawyer Miller SawyerM@contoso.com
282282

283283
This example demonstrates how to retrieve users without managers.
284284

285-
### Example 13: List failed sign-ins for a user
286-
287-
```powershell
288-
Connect-Entra -Scopes 'AuditLog.Read.All','Directory.Read.All'
289-
$failedSignIns = Get-EntraBetaAuditSignInLog -Filter "userPrincipalName eq 'SawyerM@contoso.com' and status/errorCode ne 0"
290-
$failedSignIns | Select-Object UserPrincipalName, CreatedDateTime, Status, IpAddress, ClientAppUsed | Format-Table -AutoSize
291-
```
292-
293-
This example demonstrates how to retrieve failed sign-ins for a user.
294-
295-
### Example 14: List all guest users
285+
### Example 13: List all guest users
296286

297287
```powershell
298288
Connect-Entra -Scopes 'User.Read.All'

module/docs/entra-powershell-v1.0/Users/Get-EntraUser.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This article provides details on the Get-EntraUser command.
44

55

66
ms.topic: reference
7-
ms.date: 06/26/2024
7+
ms.date: 02/09/2025
88
ms.author: eunicewaweru
99
ms.reviewer: stevemutungi
1010
manager: CelesteDG
@@ -284,17 +284,7 @@ bbbbbbbb-1111-2222-3333-cccccccccccc Sawyer Miller SawyerM@contoso.com
284284

285285
This example demonstrates how to retrieve users without managers.
286286

287-
### Example 13: List failed sign-ins for a user
288-
289-
```powershell
290-
Connect-Entra -Scopes 'AuditLog.Read.All','Directory.Read.All'
291-
$failedSignIns = Get-EntraAuditSignInLog -Filter "userPrincipalName eq 'SawyerM@contoso.com' and status/errorCode ne 0"
292-
$failedSignIns | Select-Object UserPrincipalName, CreatedDateTime, Status, IpAddress, ClientAppUsed | Format-Table -AutoSize
293-
```
294-
295-
This example demonstrates how to retrieve failed sign-ins for a user.
296-
297-
### Example 14: List all guest users
287+
### Example 13: List all guest users
298288

299289
```powershell
300290
Connect-Entra -Scopes 'User.Read.All'

0 commit comments

Comments
 (0)