You have a Microsoft Exchange Online tenant that contains a custom role group named RG1. You need to prevent users assigned to RG1 from running a specific cmdlet. Which cmdlet should you run to modify RG1?

QuestionsCategory: MS-203You have a Microsoft Exchange Online tenant that contains a custom role group named RG1. You need to prevent users assigned to RG1 from running a specific cmdlet. Which cmdlet should you run to modify RG1?
Admin Staff asked 8 months ago
You have a Microsoft Exchange Online tenant that contains a custom role group named RG1.
You need to prevent users assigned to RG1 from running a specific cmdlet.
Which cmdlet should you run to modify RG1?

A. Remove-ManagementRoleEntry

B. Disable-CmdletExtensionAgent

C. Remove-ManagementRoleAssignment

D. Set-ManagementScope








 

Suggested Answer: C

Use the Remove-ManagementRoleEntry cmdlet to remove existing management role entries.
Example:
Remove-ManagementRoleEntry "Tier 1 Help DeskNew-Mailbox"
This example removes the New-Mailbox role entry from the Tier 1 Help Desk role.
Incorrect:
* Use the Set-ManagementScope cmdlet to change an existing management scope.
* Use the Disable-CmdletExtensionAgent cmdlet to disable existing cmdlet extension agents.
Cmdlet extension agents are used by Exchange cmdlets in Exchange Server 2010 and later. Cmdlets provided by other Microsoft or third-party products can't use cmdlet extension agents.
When you disable a cmdlet extension agent, the agent is disabled for the entire organization. When an agent is disabled, it's not made available to cmdlets.
Cmdlets can no longer use the agent to perform additional operations.
* Use the Remove-ManagementRoleAssignment cmdlet to remove management role assignments.
When you remove a role assignment, the management role group, management role assignment, user, or universal security group (USG) that was assigned the associated role can no longer access the cmdlets or parameters made available by the role.
Microsoft Exchange Online custom role group " Set-ManagementScope"
Reference:
https://docs.microsoft.com/en-us/powershell/module/exchange/remove-managementroleentry?view=exchange-ps

This question is in MS-203: Microsoft 365 Messaging Exam
For getting Microsoft 365 Certified: Messaging Administrator Associate Certificate


Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Microsoft. 
The website does not contain actual questions and answers from Microsoft's Certification Exams.
Trademarks, certification & product names are used for reference only and belong to Microsoft.

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.