UsersPermissionToReadOtherUsersEnabled

OOMS Peter 6 Reputation points
2022-06-02T12:11:14.987+00:00

When UsersPermissionToReadOtherUsersEnabled is set to false are there any side effects ?
for example teams ?

Regards,
Peter

Microsoft Teams | Microsoft Teams for business | Other
{count} vote

4 answers

Sort by: Most helpful
  1. JimmyYang-MSFT 58,641 Reputation points Microsoft External Staff
    2022-06-03T06:42:53.47+00:00

    Hi @OOMS Peter

    Do you mean you want to make sure if it will affect Microsoft Teams?

    This setting is applied company-wide. Set to $False can disable users' ability to use the Azure AD module for Windows PowerShell to access user information for their organization. For more details, you could see it from:

    https://learn.microsoft.com/en-us/powershell/module/msonline/set-msolcompanysettings?view=azureadps-1.0


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



  2. OOMS Peter 6 Reputation points
    2023-01-13T16:47:59.32+00:00

    some applications have to be addapted when you Set to $False
    for example a people picker on SharePoint so owners can choose and read B2B guests profiles
    this is what we are implementing before we prevent guests from enumerating


  3. TSOAdmin 416 Reputation points
    2024-12-06T14:04:09.0333333+00:00

    This is an old post, but I want to answer it for future readers, given that this property has direct impact on Teams service functionality.

    The UsersPermissionToReadOtherUsersEnabled property must be set to TRUE in order to enable your users to be able to add internal or external members to a team in Teams. If set to FALSE, your users will experience this error when attempting to add a member to a team:

    "We couldn't add member. We ran into an issue. Please try again later."

    A key indicator that this property might be set to FALSE in your tenant is that though members can't be added to teams, they can still be added to M365 groups.

    Reference

    0 comments No comments

  4. Cooper, Preston 0 Reputation points
    2025-02-06T23:25:16.86+00:00

    #Old Method May or May Not work with Connect-MsolService being deprecated soon.

    #You have to install-module MSOnline on both the oldest powershell version

    #and the newest powershell version on your server used to make the connection and reboot it.

    #Run the powershell command window as administrator and approve yes.

    Install-Module MSOnline

    Import-Module MSOnline

    Connect-MsolService

    Set-MsolCompanySettings -UsersPermissionToReadOtherUsersEnabled $true

    #New Method/ I didn't try this one, but will probably work as well see the article at the bottom.

    Connect-MgGraph -Scopes "Policy.ReadWrite.Authorization"

    Update-MgPolicyAuthorizationPolicy -DefaultUserRolePermissions @{ AllowedToReadOtherUsers = $true}

    https://learn.microsoft.com/en-us/answers/questions/1312456/how-to-undo-set-msolcompanysettings-userspermissio

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.