exam questions

Exam MS-740 All Questions

View all questions & answers for the MS-740 exam

Exam MS-740 topic 2 question 6 discussion

Actual exam question from Microsoft's MS-740
Question #: 6
Topic #: 2
[All MS-740 Questions]

DRAG DROP -
A company uses Microsoft Teams. You delete a user.
You suspect that the deleted user is listed as the owner of a team. You attempt to connect to the Teams PowerShell module to investigate the issue. The following message appears:
Connect-MicrosoftTeam : The term 'Connect-MicrosoftTeam' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
You need to resolve the error and confirm whether the deleted user is still owner of the team.
Which four PowerShell commands should you use to develop the solution? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the correct order.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Reference:
https://docs.microsoft.com/en-us/skypeforbusiness/set-up-your-computer-for-windows-powershell/download-and-install-the-skype-for-business-online-connector

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
2MeterSmurf
2 years, 8 months ago
Correct
upvoted 2 times
...
B000001
3 years, 2 months ago
Links: https://www.c-sharpcorner.com/blogs/how-to-connect-to-microsoft-teams-using-powershell https://docs.microsoft.com/en-us/powershell/module/teams/get-teamuser?view=teams-ps
upvoted 1 times
...
B000001
3 years, 2 months ago
This is Correct. Open PowerShell window and run the following command to Install Microsoft Teams Module. Install Microsoft Teams Module - Install-Module MicrosoftTeams Run the following command to add Teams module to the current session. Add MicrosoftTeams Module to the current session - Import-Module MicrosoftTeams Run the following command to connect to Microsoft Teams. Connect-MicrosoftTeams Identifiy the Team Site Owner. Example Powershell - Get-TeamUser -GroupId 2f162b0e-36d2-4e15-8ba3-ba229cecdccf -Role Owner This example returns the UPN, UserId, Name, and Role of the owners of the specified GroupId.
upvoted 2 times
...
Domza
3 years, 3 months ago
looks good. Also another link: https://docs.microsoft.com/en-us/microsoftteams/teams-powershell-install
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago