Microsoft 365 | Planning and managing Exchange Online recipients and permissions




View Post: 192 người truy cập bài viết
Tags :

Lab: Managing Exchange Online recipients and permissions

Exercise 1: Configuring Exchange Online recipients

Task 1: Create user mailboxes

On LON-CL1, open Microsoft Edge.

In the address bar, type https://portal.office.com/, and then press Enter.

Sign in as [email protected], replacing yyxxxxx with your unique Adatum number, with the password you created in Module 1.

On the Office 365 home page, select Admin.

In the Microsoft 365 admin center, select Users and then select Active Users.

Above the list of users, select Add a user.

On the New user page, enter the following information, replacing yyxxxxx with your unique Adatum number:

First name: Martina

Last name: Blair

Display name: Martina Blair

User name: Martina

Domain: Adatumyyxxxxx.hostdomain.com

Location: United Kingdom

Expand the Password area, select the following options, and then select Add:

Select Let me create the password , and then type the password you created in Module 1

Make this user change their password when they first sign in: Not selected

Roles: User (no administrator access)

Product licenses: Office 365 E5

On the User was added page, select Send email and close.

Repeat steps 6 to 9 to add the following additional users:

Matt Villagomez (since [email protected] is in use, use the username MattV)

Olivia Emerson

Kendra Sexton

In the Microsoft 365 admin center, on the Admin centers menu, select Exchange.

In the Exchange admin center, select recipients.

Note: It might take a few minutes for the mailboxes to appear. Select the refresh icon periodically until they do.

Task 2: Connect to Exchange Online with Windows PowerShell

Select Start and type powershell.

Right-click Windows PowerShell and select Run as administrator.

In the User Account Control dialog, provide the following credentials:

User name: Administrator

Password: Pa55w.rd

Note: You can copy and paste these commands into the virtual machine.

In the Windows PowerShell window, type the following command, and then press Enter:

$credential = Get-Credential

In the Enter Credentials dialog box, in the User name box, type [email protected], replacing yyxxxxx with your unique Adatum number.

In the Password box, type the password you created in Module 1, and then select OK.

In the Windows PowerShell window, type the following command, and then press Enter:

Connect-MsolService -Credential $credential

In the Windows PowerShell window, type the following command, and then press Enter:

$ExchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri “https://outlook.office365.com/powershell-liveid/” -Credential $credential -Authentication “Basic” -AllowRedirection

In the Windows PowerShell window, type the following command, and then press Enter:

Import-PSSession $ExchangeSession

In the Windows PowerShell window, type the following command, and then press Enter:

Get-AcceptedDomain

Note: This command returns the list of accepted domains and verifies that you can connect to your Office 365 subscription.

Task 3: Create groups and assign members

In the Windows PowerShell window, type the following command, and then press Enter to create the Operations Office 365 group with Olivia as a member:

New-UnifiedGroup -DisplayName Operations -Members Olivia

Repeat step 1 to add the following additional groups and members:

Managers

Members: Martina

Development

Members: MattV

Sales

Members: Kendra

Task 4: Create resource mailboxes

Switch to Microsoft Edge. In the Exchange Admin center, in recipients, select resources.

In the Windows PowerShell window, type the following command, and then press Enter:

New-Mailbox -Name “Conference Room” -Room

In the Windows PowerShell window, type the following command, and then press Enter:

Set-CalendarProcessing “Conference Room” -AutomateProcessing AutoAccept

In the Windows PowerShell window, type the following command, and then press Enter:

New-Mailbox -Name “Demonstration Laptop” -Equipment

In the Windows PowerShell window, type the following command, and then press Enter:

Set-CalendarProcessing “Demonstration Laptop” -AutomateProcessing AutoAccept

Note: If you receive an error running the Set-CalendarProcessing cmdlet for either of these objects, wait a few moments and repeat.

Switch to Microsoft Edge, and in the Exchange Admin center, select Refresh. You should be able to see both resources.

In the Windows PowerShell window, type the following command, and then press Enter:

Set-Mailbox “Conference Room” -ResourceCapacity “25”

Switch to Microsoft Edge, and in the Exchange Admin center, select Conference Room. You should be able to see the Capacity you configured in the details pane on the right. If not, select Refresh.

Task 5: Configure additional Exchange Online recipients

On LON-CL1, browse to C:\Labfiles, and the open ExternalContacts.csv.

Review the file contents, and then close Excel.

In Microsoft Edge, in the Exchange admin center, select contacts.

Switch to Windows PowerShell.

In the Windows PowerShell window, type the following command, and then press Enter:

CD C:\Labfiles

Note: You can copy and paste these commands into the virtual machine.

In the Windows PowerShell window, type the following command, and then press Enter:

Import-Csv .\ExternalContacts.csv | ForEach-Object {New-MailContact -Name $_.Name -DisplayName $_.Name -ExternalEmailAddress $_.ExternalEmailAddress -FirstName $_.FirstName -LastName $_.LastName}

In the Windows PowerShell window, type the following command, and then press Enter:

$contacts = Import-CSV .\ExternalContacts.csv

In the Windows PowerShell window, type the following command, and then press Enter:

$contacts | ForEach {Set-Contact $_.Name -StreetAddress $_.StreetAddress -City $_.City -StateorProvince $_.StateorProvince -PostalCode $_.PostalCode -Phone $_.Phone -MobilePhone $_.MobilePhone -Pager $_.Pager -HomePhone $_.HomePhone -Company $_.Company -Title $_.Title -OtherTelephone $_.OtherTelephone -Department $_.Department -Fax $_.Fax -Initials $_.Initials -Notes $_.Notes -Office $_.Office -Manager $_.Manager}

In Microsoft Edge, in the Exchange Admin center, in contacts, select Refresh. You can see the newly created objects.

Result: After completing this exercise, you will have created and configured Microsoft Exchange Online recipients.

Exercise 2: Configuring role-based access control

Task 1: Assign users to built-in role groups

In the Exchange admin center, select permissions.

On the admin roles tab, select Organization Management, and then select Edit.

In the Role Group window, under Members, select the + icon.

In the Select Members window, select Olivia, select add->, and then select OK.

In the Role Group window, select Save.

Task 2: Create a new admin role and assign a user to it

Switch to Windows PowerShell.

Note: If possible, use the paste functionality provided by the hosting server to copy and paste these commands into the virtual machine.

In the Windows PowerShell window, type the following commands, and then press Enter after each command:

Enable-OrganizationCustomization

New-RoleGroup -Name BranchOfficeAdmins -roles “Mail Recipients”, “Distribution Groups”, “Move Mailboxes”, “Mail Recipient Creation”

In the Windows PowerShell window, type the following command, and then press Enter:

Add-RoleGroupMember “BranchOfficeAdmins” -Member Martina

In the Windows PowerShell window, type the following command, and then press Enter:

Get-RoleGroupMember “BranchOfficeAdmins”

Switch to Microsoft Edge, and in the Exchange admin center, select Refresh. Ensure that you can see the new BranchOfficeAdmins role group.

Task 3: Create a new role assignment policy

In Microsoft Edge, in the Exchange Admin center, select user roles.

Switch to Windows PowerShell.

Note: If possible, use the paste functionality provided by the hosting server to copy and paste these commands into the virtual machine..

In the Windows PowerShell window, type the following command, and then press Enter:

New-RoleAssignmentPolicy “Limited Mailbox Configuration” -Roles MyBaseOptions,MyAddressInformation,MyDisplayName

To change the default role assignment policy for new mailboxes, in the Windows PowerShell window, type the following command, and then press Enter:

Set-RoleAssignmentPolicy “Limited Mailbox Configuration” -IsDefault

When prompted, type Y, and then press Enter.

In the Exchange admin center, select Refresh. You can see the new role assignment policy.

Type the following command, press Enter, and then close Windows PowerShell.

Remove-PSSession $ExchangeSession

Task 4: Prepare for the next module

When you have finished the lab, leave all of the virtual machines running.

Result: After completing this exercise, you will have configured delegated administration of your Exchange Online organization.

 

5 1 vote
Article Rating
Subscribe
Notify of
guest
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Administrator
Admin
2 years ago
Article Rating :
     

Planning and managing Exchange Online recipients and permissions