Preventing Temporary Employees from Using Private Chat in Microsoft Teams | Exam MS-700 | Microsoft

Preventing Temporary Employees from Using Private Chat in Microsoft Teams

Question

Note: This question is part of a series of questions that present the same scenario.

Each question in the series contains a unique solution that might meet the stated goals.

Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it.

As a result, these questions will not appear in the review screen.

Your company has a Microsoft 365 subscription.

You need to prevent temporary employees from using the private chat feature in Microsoft Teams.

Solution: You create an app permission policy and assign the policy to the users.

Does this meet the goal?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B.

B.

The solution mentioned in the question does not meet the stated goal of preventing temporary employees from using the private chat feature in Microsoft Teams.

Creating an app permission policy and assigning it to the users is a method to control which third-party and custom apps can be installed and used within Microsoft Teams. It does not provide a way to control access to built-in features of Teams, such as private chat.

To prevent temporary employees from using the private chat feature in Microsoft Teams, you can create a custom messaging policy that restricts access to private chat for a specific group of users. Then, you can assign this custom messaging policy to the temporary employee accounts.

Here are the steps to create a custom messaging policy that restricts access to private chat in Teams:

  1. Go to the Microsoft Teams admin center.
  2. Click on "Messaging policies" under "Messaging" in the left navigation menu.
  3. Click on the "Add a policy" button.
  4. Give the new policy a name and description.
  5. Under "Chat," select "Off" for "Private chat."
  6. Under "People," select the group of temporary employees who should be subject to this policy.
  7. Click "Save" to create the policy.

To assign the custom messaging policy to the temporary employee accounts, you can use the following PowerShell command:

Set-CsUser -Identity "<user UPN>" -HostedVoiceMail $false -EnterpriseVoiceEnabled $false -TeamsMessagingPolicy "<custom policy name>"

Replace "<user UPN>" with the UPN of the temporary employee account and "<custom policy name>" with the name of the custom messaging policy you created.

In summary, creating an app permission policy and assigning it to the users does not meet the stated goal of preventing temporary employees from using the private chat feature in Microsoft Teams. To achieve this goal, you need to create a custom messaging policy that restricts access to private chat and assign it to the temporary employee accounts.