Skip to content

Commit c68b901

Browse files
authored
Merge pull request #9062 from MicrosoftDocs/genlin-patch-31
Update cannot-see-users-groups-list-iam.md
2 parents ee4906e + 6f44863 commit c68b901

File tree

1 file changed

+6
-24
lines changed

1 file changed

+6
-24
lines changed

support/azure/general/cannot-see-users-groups-list-iam.md

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
title: Can't see list of users/groups to add permissions in IAM in Azure portal
33
description: Resolves an issue in which you can't see list of users or groups when adding permissions in Access Control (IAM) in the Azure portal.
4-
ms.date: 08/14/2020
4+
ms.date: 06/05/2025
55
ms.service: azure-common-issues-support
6-
ms.custom: has-azure-ad-ps-ref
6+
ms.custom: no-azure-ad-ps-ref
77
ms.author: genli
88
author: genlin
99
ms.reviewer:
@@ -37,31 +37,13 @@ To resolve this issue, use one of the following methods:
3737

3838
### Method 2: To allow only the one guest user or configure on a per user basis
3939

40-
[!INCLUDE [Azure AD PowerShell deprecation note](~/../support/reusable-content/msgraph-powershell/includes/aad-powershell-deprecation-note.md)]
41-
42-
1. Open Windows PowerShell.
43-
2. Run the following cmdlet:
44-
45-
```powershell
46-
Import-Module AzureAd
47-
```
48-
49-
Make sure that the Azure Active Directory PowerShell for Graph is installed. For more information, see [Azure Active Directory PowerShell for Graph](/powershell/azure/active-directory/install-adv2?view=azureadps-2.0&preserve-view=true).
50-
51-
3. As a global administrator of the directory where the guest user was added, connect to Azure AD PowerShell and the directory:
40+
1. Make sure that the [Microsoft Graph PowerShell is installed](/powershell/microsoftgraph/installation).
41+
1. Use the `Connect-MgGraph` command to sign in with the required scopes. For more information, see [Get started with the Microsoft Graph PowerShell SDK](/powershell/microsoftgraph/get-started).
42+
1. Run the [Update-MgUser](/powershell/module/microsoft.graph.users/update-mguser) cmdlet:
5243

5344
```powershell
54-
Connect-AzureAD -TenantId 'Tenant_Directory_Id'
45+
Update-MgUser -UserId '0ba17ca9-0000-0000-0000-a5e34bc4803b' -UserType Member
5546
```
56-
57-
You can get the Tennat ID by looking at your Microsoft Entra ID Properties in the Azure portal.
58-
59-
4. Run the following cmdlet:
60-
61-
```powershell
62-
Set-AzureADUser -ObjectId 'User_Object_Id' -UserType Member
63-
```
64-
6547
You can get the users Object ID by looking at the Users Profile page within the Azure portal.
6648
6749
[!INCLUDE [Azure Help Support](../../includes/azure-help-support.md)]

0 commit comments

Comments
 (0)