Student Lab Manual MS100.3x: Microsoft 365 Identity Management
Student Lab Manual MS100.3x: Microsoft 365 Identity Management
Lab Scenario
You are the system administrator for Adatum Corporation, and you have Microsoft 365 deployed in a
virtualized lab environment. In this lab, you will set manage your Microsoft 365 identity environment,
and you will implement Identity Synchronization.
There are two labs in this course. Lab 1 should be performed after you complete Module 1, and Lab 2
should be completed after you finish Module 2. For a successful outcome to each lab, the exercises and
their corresponding tasks must be completed in order. The two labs include:
Lab 1 - Managing your Microsoft 365 Identity environment (after completing Module 1)
Page 1
▪ Task 6 – Assign service administrators in the Microsoft 365
admin center
▪ Task 7 – Manage service administration with Windows
PoweShell
▪ Task 8 – Verify service administration
Lab Design
This lab manual provides two sets of instruction for each lab:
You are encouraged to perform the labs using the high-level instructions. These summarized
instructions offer you guidance on what tasks need to be performed and what, if any, data needs to be
entered, but they do not provide detailed click-by-click instruction on how to complete each task.
The point of the labs is to apply what you’ve learned in the course by working your way through the
tasks without being guided through each mouse click. Using these high-level, summarized lab
instructions forces you to work your way through the problems, which provides a far better learning
experience for students as opposed to being told how to solve each task.
Page 2
When to use the Lab Solution
Should you find yourself stuck or unsure on how to proceed with a certain task, or if you are unable to
complete a lab exercise successfully, then refer to the detailed, step-by-step lab solution at the back of
this manual. Please challenge yourself by following the high-level instructions first, and only refer to the
lab solution if you find yourself needing help.
The Microsoft Learning team will update this training course as soon as any such changes are brought to
our attention. However, given the dynamic nature of cloud updates, you may run into UI changes before
this training content is updated. If this occurs, you will have to adapt to the changes and work through
them in the labs as needed.
Page 3
SUMMARIZED LAB INSTRUCTION
This section of the Student Lab Manual contains the summarized lab instructions for each lab exercise. It
is recommended that you perform the labs using these high-level instructions, which offer you
guidance on what tasks need to be performed and what, if any, data needs to be entered. However,
these summarized instructions typically do not provide detailed click-by-click instruction on how to
complete each task (that can be found in the Lab Solution).
Try to complete the labs using these summarized instructions, which will emulate more of a real-world
scenario than simply following the click-click-instruction in the Lab Solution. You should only refer to the
Lab Solution should you find yourself stuck or unable to successfully complete the labs using these
summarized, high-level instructions.
In this lab, you must create a tenant account in Office 365 to set up an integrated environment.
1. On the XtremeLabs Online menu bar at the top of the screen, click on the Files drop-down arrow.
2. Click on O365 Credentials. A window will open with your credentials.
3. This is the user name and password you will need to sign in to Azure. Keep this page open as you will
need the information later.
4. When the lab directs you to sign in to the Azure portal at https://portal.azure.com, you will sign in
using the credentials you obtained in this task.
Page 4
Task 2 - Create the tenant account
1. At the top of the screen, click the Virtual machine drop-down field and select LON-DC1.
2. On the VM titled LON-DC1, you are already logged on as the adatum\administrator account.
3. Open Internet Explorer. Navigate to Tools > Internet Options > Security tab.
4. In the Internet zone, click Custom Level. Scroll down and under the Downloads section, you must
enable the File download setting.
5. Then in the Trusted Sites zone, you need to add the following sites:
• https://outlook.office365.com/
• https://outlook.office.com/
• https://portal.office.com/
6. In Internet Explorer, sign in to Office 365 by navigating to https:\\portal.office.com and logging in
with the O365 Credentials (username and password) that you retrieved in the prior task.
7. On the Stay signed in? page, click Yes to stay signed in.
8. Select Admin.
9. Under Active users, you should add a user account for Jenna Glover with the following attributes:
• Username: jenna
• Domain: leave as is
• Location: United States
• Password: Pa$$w0rd (uncheck the Make user change their password when they first sign
in option)
• Role: Global Administrator
• Product licenses: Office 365 Enterprise E5
10. After adding the user, in the User was added window, review the information for correctness.
Unselect the Send password in email check box.
11. Close the window and sign out.
Page 5
• Display name: Lindsey Gates
• Username: Lindsey
Verify that xxyyzza.xtremelabs.us (where xxyyzza is your unique UPN name) is listed in the
text box after the at sign (@).
• Password: Select Let me create the password and enter a password of Pa$$w0rd. Uncheck
Make this user change their password when they first sign in.
6. Repeat the prior step, adding user records for the following users (for the Username, use the
user’s first name):
• Christie Thomas
• Amy Santiago
• Sallie McIntosh
• Francisco Chaves
7. After the last user is added, click Send email and close.
Page 6
10. Navigate to the Active Users list and select Francisco Chaves.
11. Click Unblock sign in.
12. Change his sign-in status to Allow this user to sign in.
13. Open Microsoft Edge, and then browse to https://portal.office.com/.
14. Sign in as [email protected] with the password Pa$$w0rd.
15. Verify that you can now access the Office 365 portal.
16. Close Microsoft Edge.
Page 7
6. Confirm that Amy Santiago's account still exists in the list of active users even though the group
she was a member of has been deleted.
7. Close Microsoft Edge.
Page 8
Connect-MsolService
5. At the command prompt, type the following command, and then press Enter; xxyyzza is your
unique domain name:
New-MsolUser -UserPrincipalName [email protected] -DisplayName "Tameka
Reed" -
FirstName "Tameka" -LastName "Reed" -Password 'Pa55w.rd' -ForceChangePassword
$false -
UsageLocation "CH"
6. To determine which users are unlicensed, at the command prompt, type the following command,
and then press Enter:
Get-MsolUser -UnlicensedUsersOnly
7. To view the available licenses, at the command prompt, type the following command, and then
press Enter:
Get-MsolAccountSku
8. To license Catherine Richard, at the command prompt, type the following command, and then
press Enter; replace Adatumyyxxxxx in the -AddLicenses attribute with the onmicrosoft.com
domain name provided by the hosting provider:
9. To license Tameka Reed, at the command prompt, type the following command, and then press
Enter; replace Adatumyyxxxxx in the -AddLicenses attribute with the onmicrosoft.com domain
name provided by the hosting provider:
Page 9
Set-MsolUserLicense -UserPrincipalName [email protected] -AddLicenses
"Adatumyyxxxxx:ENTERPRISEPREMIUM"
10. To prevent a user from signing in, at the command prompt, type the following command, and then
press Enter; xxyyzza is your unique domain name:
11. To delete a user, at the command prompt, type the following command, and then press Enter;
xxyyzza is your unique domain name:
12. To view the Deleted Users list, at the command prompt, type the following command, and then
press Enter:
Get-MsolUser -ReturnDeletedUsers
13. Verify that Catherine Richard is in the list of deleted users. Note that it specifies that she is still
licensed.
14. To restore a deleted user, at the command prompt, type the following command, and then press
Enter; xxyyzza is your unique domain name:
15. To view the deleted users list, at the command prompt, type the following command, and then
press Enter:
Get-MsolUser -ReturnDeletedUsers
16. Verify that Catherine Richard is no longer in the list of deleted users.
17. To view the active users list, at the command prompt, type the following command, and then
press Enter:
Get-MsolUser
Page 10
Task 3: Modify user accounts
1. On LON-CL1, on the taskbar, click File Explorer.
2. Navigate to C:\labfiles, right-click O365users.csv, point to Open with, and then click Notepad.
3. In Notepad, click Edit, and then click Replace.
4. In the Find what text box, type yourdomain.hostdomain.com
5. In the Replace with text box, type your unique public domain name value xxyyzza.xtremelabs.us
(where xxyyzza is your unique UPN name), and then click Replace All.
6. In the Find what text box, type Adatumyyxxxx
7. In the Replace with text box, type your unique Adatumyyxxxxx value and then click Replace All.
8. Close O365users.csv, and then in the Notepad message box, click Save.
9. To bulk import several users from a comma-separated value (CSV) file, copy and paste this code
into the Administrator: Microsoft Azure Active Directory Module for Windows PowerShell window
on LON-CL1, and then press Enter: PLEASE COPY TO A NOTE PAD.
10. To view the Active Users list, at the command prompt, type the following command, and then
press Enter:
Get-MsolUser
Page 11
13. On the Home page, click Admin, point to Users and click Active Users.
14. Review the active users that you just imported.
2. To configure a variable for the group, at the command prompt, type the following command, and
then press Enter:
3. To configure a variable for the first user account, at the command prompt, type the following
command, and then press Enter:
4. To configure a variable for the second user account, at the command prompt, type the following
command, and then press Enter:
5. To add Catherine Richard to the Marketing group, at the command prompt, type the following
command, and then press Enter:
6. To add Tameka Reed to the Marketing group, at the command prompt, type the following
command, and then press Enter:
7. To verify the members of the Marketing group, at the command prompt, type the following
command, and then press Enter:
Page 12
Task 5: Configure user passwords
1. At the command prompt, type the following command, and then press Enter; yyxxxxx is your
unique Adatum number:
Set-MsolPasswordPolicy -DomainName "Adatumyyxxxxx.onmicrosoft.com" -ValidityPeriod
"90" -NotificationDays "14"
2. At the command prompt, type the following command, and then press Enter; yourdomain is your
unique domain name:
3. At the command prompt, type the following command, and then press Enter:
Page 13
Task 7: Manage service administration with Windows
PowerShell
1. In the Windows PowerShell window, at the command prompt, type the following command, and
then press Enter (where xxyyzza is your unique UPN name):
2. At the command prompt, type the following command, and then press Enter (where xxyyzza is
your unique UPN name):
3. At the command prompt, type the following command, and then press Enter:
4. At the command prompt, type the following command, and then press Enter:
5. Verify that Sallie McIntosh is in the list of users who have the Service Support Administrator role.
6. At the command prompt, type the following command, and then press Enter:
7. At the command prompt, type the following command, and then press Enter:
8. Verify that Francisco Chaves is in the list of users who have the billing administrator role.
9. At the command prompt, type the following command, and then press Enter:
10. At the command prompt, type the following command, and then press Enter:
Page 14
11. Verify that Amy Santiago is in the list of users who have the Company Administrator role. You
should also see Holly Dickson on the list.
12. Close the Windows PowerShell window.
Page 15
Lab 2: Implementing Identity Synchronization
NOTE: This lab should be performed after you complete Module 2.
You are now ready to start the directory synchronization process. In this lab exercise you to first make
sure your local Active Directory is ready to start the directory synchronization process by adding a
custom domain to the forest and configuring Exchange to use the new custom domain.
3. Next type the follow command (remember to change xxyyzza to your unique UPN name):
Get-ADUser –Filter * -Properties SamAccountName | ForEach-Object { Set-ADUser $_ -
UserPrincipalName ($_.SamAccountName + "@xxyyzza.xtremelabs.us" )}
2. At the Windows PowerShell prompt, type the following command, and then press Enter:
Set-ExecutionPolicy Unrestricted
Page 16
.\CreateProblemUsers.ps1
Note: Wait until the script has completed before proceeding to the next step.
5. This Windows PowerShell script will make the following changes in AD DS:
• Amr Zaki. Add the "@" character to the beginning of "adatum" for the UserPrincipalName
attribute.
• Brad Sutton. Replace the existing string with "[email protected]" for the emailAddress
attribute.
• Don Funk. Replace the existing string with "[email protected]" for the emailAddress attribute.
• Holly Dickson. Replace the existing string with "holly @adatum.com" for the EmailAddress
attribute.
• Kelly Rollin. Replace the existing string with " " for the emailAddress attribute.
10. In the Amr Zaki row, in the ACTION column, select EDIT.
11. In the Holly Dickson row, in the ACTION column, select EDIT. 13. In the Kelly Rollin row, in the
ACTION column, select EDIT
12. On the toolbar, click Apply.
13. In the Apply Pending dialog box, click Yes; note the COMPLETE status in the ACTION column
indicating successful writes.
14. Switch to File Explorer, and in the C:\Deployment Tools\IdFix folder, double-click Verbose <date>
<time>.txt to view the updated transactions in the transaction log.
Page 17
15. Switch back to the IdFix tool.
16. On the toolbar, click Query.
17. Click in the UPDATE column to locate the Don Funk error, and replace the string with
[email protected], and then in the ACTION column, select EDIT.
18. Click in the UPDATE column to locate the Kelly Rollin error, and replace the string with
[email protected], and then in the ACTION column, select EDIT.
19. On the toolbar, click Apply.
20. In the Apply Pending box, click Yes.
21. On the toolbar, click Query and verify that errors are corrected.
Note: Where there are format and duplicate errors for distinguished names, the UPDATE column
either contains the same string as the VALUE column, or the UPDATE column entry is blank; in
either case, this means that IdFix cannot suggest a remediation for the error. You can either fix
these errors outside IdFix, or manually remediate them within IdFix. You can also export the
results and use Windows PowerShell to remediate many errors.
Page 18
12. Click Set as primary and then read the warning and save your change.
13. You should be signed out automatically, but if not click on the top right corner of Holly Dickson’s
profile icon and click Sign Out.
14. Close Internet Explorer.
15. Open Internet Explorer.
16. Sign in as [email protected] with the password Pa55w.rd (where XXYYZZ is your UPN
domain).
17. Click Admin.
18. If asked about update your admin contact information click on the Cancel button to skip this
request.
19. In the left-hand navigation, select the user’s icon ( ) and select Active users, click on More on
the top menu and choose Directory Synchronization.
20. Click on the Go to the DirSync readiness wizard.
21. On the next screen choose 51-250 for the number of users you will move to the cloud, click Next.
22. Click Next on the Sync your local directory with the cloud screen.
23. Click continue manually to skip checking your directory since it was already fixed.
24. Click Next to configure the domains.
25. Click Ok I’ve added and verified all my domains to continue.
26. Click Next to continue the process (Skip IdFix).
27. Click on Download to go to the download page for Azure AD Connect.
28. Click Download again to download Azure AD Connect application.
29. Click Save and Run the download.
Page 19
9. Click on Start, search for the Synchronization Service application and open it.
10. Monitor the synchronization process by looking at the operations tab. Wait for the Export profile
to complete (Status: success)
11. Return to the Run Azure Active Directory Connect screen in Internet Explorer and click on Next.
Note: The web page should say Directory synchronization enabled. If it doesn’t then refresh the
page to see the that the Directory synchronization is enabled. If status does not update continue
to the next step if the export was successful.
12. Click Next on the Make sure sync worked as expected screen.
13. Click Next on the Activate users screen.
14. Click Finish on the You’re all set up screen.
Page 20
Task 7: Change group membership
1. In the console tree of Active Directory Users and Computers, click Research.
2. View the members of this group.
3. Select the following three users, and then remove them:
• Chloe Brussard
• Chris Sells
• Florian Stiller
2. At the Windows PowerShell prompt, type the following, and then press Enter:
Note: The Delta switch is used here so that only the updates are synchronized.
3. Wait until synchronization has completed before proceeding to the next task.
Page 21
Note: You might need to wait up to 10 minutes before the account appears. Refresh the list until
you see Perry Brill's account.
Note: You might need to wait up to 10 minutes before the group appears. Refresh the list until
you see the object.
11. In the Groups list, select the Project Team group.
Note: In the right pane, notice that Edit Members is unavailable. This is because group
membership is maintained by Active Directory. To view the membership, you need to use
Windows PowerShell.
12. On LON-CL1, on the desktop, if PowerShell is not already open, then then open it by clicking Run
as administrator.
13. If PowerShell wasn’t open, at the command prompt, type the following command, and then press
Enter:
Connect-MsolService
Get-MsolGroup
16. Verify that you can see the Research and Project Team groups. Copy the ObjectID value for these
two groups.
17. To verify that you updated the group membership in AD DS, type the following command at the
Windows PowerShell prompt, and then press Enter (where <<ObjectID for Research group>> is the
ObjectID of the group):
Page 22
18. Verify the membership of the group does not contain the users removed in AD DS. The users who
were removed from the group are:
• Chloe Brussard
• Chris Sells
• Florian Stiller
19. At the Windows PowerShell prompt, type the following command, and then press Enter:
Get-MsolAccountSku
End of lab
Page 23
LAB SOLUTION
This section of the Student Lab Manual contains the detailed, step-by-step lab instructions for each lab
exercise. It is recommended that you only refer to these instructions should you find yourself stuck or
unable to successfully complete the labs using the summarized, high-level instructions.
In this lab, you must create a tenant account in Office 365 to set up an integrated environment.
1. On the XtremeLabs Online menu bar at the top of the screen, click on the Files drop-down arrow.
2. Click on O365 Credentials. A window will open with your credentials.
3. This is the user name and password you will need to sign in to Azure. Keep this page open as you will
need the information later.
4. When the lab directs you to sign in to the Azure portal at https://portal.azure.com, you will sign in
using the credentials you obtained in this task.
Page 24
6. Click on the Security tab.
7. Click Internet. Click Custom Level. Scroll down and under the Downloads section, under File
download, select Enable. Click OK.
8. Click Yes to confirm you want to change the settings for this zone.
9. Click Trusted sites and then click Sites.
10. In the Trusted Sites window, you will add the following three sites as Trusted Sites:
• In the Add this website to the zone field, type in https://outlook.office365.com/ and then
click Add.
• Type in https://outlook.office.com/ and then click Add.
• Type in https://portal.office.com/ and then click Add.
• All three URL’s should appear in the Websites box. Click Close.
11. Click OK to close the Internet Options window.
12. To sign in to Microsoft 365, go to Internet Explorer and type in https:\\portal.office.com as the
URL, and then hit Enter. This will open the Sign in window.
13. In the Email, phone, or Skype field, enter the Tenant email from your O365 Credentials (or you can
copy and paste in the Tenant email from the O365 Credentials window if you still have it open; if
you closed the O365 Credentials window, click the Files drop down arrow again and click O365
Credentials). After entering your tenant email, click Next.
14. On the Enter Password window, in the Password field, enter the Tenant password from your O365
Credentials (or you can copy and paste in the Tenant password from the O365 Credentials window
if you still have it open) and then click Sign In.
15. On the Stay signed in? page, click Yes to stay signed in.
16. On the Office 365 portal, if the Get your work done with Office 365 window appears in the middle
of the page, click the right arrow 5 times to show the 5 slides. The window will scroll off the page.
From the main page, click Admin.
17. This opens the Microsoft 365 admin center. If a Welcome to the Office 365 Admin Center window
appears, click Skip.
18. Under Active users, click Add a user.
19. In the New User window, create a user named Jenna Glover.
20. Type Jenna in the First name field.
21. Type Glover in the Last name field.
22. Click in the Display name field and Jenna Glover will automatically appear.
23. Type jenna in the Username field. For the purposes of this labs, the Domain field is prefilled with
the domain from your O365 Credentials. Leave this as is.
24. Leave United States as the Location.
25. Click on Password.
26. Select the Let me create the password option. Type Pa$$w0rd in the Password field.
27. Uncheck the box that says Make user change their password when they first sign in.
28. Click on Roles.
29. Select the Global Administrator option.
30. Product licenses is already set to Office 365 Enterprise E5, so no change is required.
31. Click Add.
32. In the User was added windows, review the information for correctness. Unselect the Send
password in email check box.
Page 25
33. Click Close.
34. If the We would love to hear from you window appears, click Cancel.
35. While still on the Microsoft 365 admin center screen, click on the User Profile Icon in the top right
corner of the browser. It will be a grey circle with the letters “CA”.
36. Click Sign-Out.
37. Once the screen indicates you are signed out, Close Internet Explorer. Select Close all tabs.
• Christie Thomas
• Amy Santiago
• Sallie McIntosh
• Francisco Chaves
11. After added the last user, click Send email and close.
Page 26
Task 2: Edit Microsoft 365 users
1. In the Office 365 admin center, in the Active Users list, click the Francisco Chaves user object.
2. On the Contact Information section, click Edit.
3. On the Edit contact information page, expand Contact information, and in the Department text
box, type Accounts, click Save, and then click Close.
4. On the right-side menu, in the Sign in status section, click Edit.
5. Click Block the user from signing in, click Save, and then click Close.
6. Close the Francisco Chaves page.
7. In the Active Users list, click the Lindsey Gates user object.
8. Click Delete user.
9. On the Delete user page, click Delete user. Click Confirm Changes then click Close.
10. In the left navigation pane, point to Users, and click Deleted users.
11. Verify that Lindsey Gates is in this list.
12. In the Deleted users list, select Lindsey Gates.
13. On the toolbar, click Restore.
14. On the Restore page, select Let me create the password, set the password to Pa$$w0rd, and
uncheck the Make this user change their password when they first sign in.
15. Click Restore, then click Send email and close.
16. On the left navigation pane, point to Users, and click Active Users.
17. Verify that Lindsey Gates is in this list.
18. Close Microsoft Edge.
Page 27
12. On the left menu, point to Users, and then click ActiveUsers.
13. In the Active Users list, click Francisco Chaves.
14. Click Unblock sign in.
15. On the Edit sign-in status page, select Allow this user to sign in, click Save, and then click Close.
16. Close Microsoft Edge.
17. Open Microsoft Edge, and then browse to https://portal.office.com/.
18. Sign in as [email protected] with the password Pa$$w0rd.
19. Verify that you can access the Office 365 portal.
Note: It may take several minutes before the blocked user message no longer shows.
20. Close Microsoft Edge.
Page 28
Task 5: Manage security groups
1. In the Office 365 admin center, verify that you can see the following groups:
• Sales
• Accounts
2. In the Groups list, select the Sales group, and then on the Sales page, next to Members, click Edit.
3. Click Add members, click Amy Santiago, click Save, and then click Close three times.
4. Open Sales details page, and ensure that Amy Santiago now lists under the Members list.
5. Click Delete group.
6. On the Delete group page, click Delete, and then click Close.
7. On the left side menu, point to Users, and then click Active users.
8. Confirm that Amy Santiago's account still exists in the list of users.
9. Close Microsoft Edge.
Page 29
Task 2: Create new users and assign licenses
1. On LON-CL1, run Windows PowerShell (Admin).
2. If a User Account Control dialog box appears, click Yes.
3. At the command prompt, type the following command, and then press Enter:
Connect-MsolService
6. At the command prompt, type the following command, and then press Enter; xxyyzza is your
unique domain name:
New-MsolUser -UserPrincipalName [email protected] -DisplayName "Tameka
Reed" -
FirstName "Tameka" -LastName "Reed" -Password 'Pa55w.rd' -ForceChangePassword
$false -
UsageLocation "CH"
7. To determine which users are unlicensed, at the command prompt, type the following command,
and then press Enter:
Get-MsolUser -UnlicensedUsersOnly
8. To view the available licenses, at the command prompt, type the following command, and then
press Enter:
Get-MsolAccountSku
9. To license Catherine Richard, at the command prompt, type the following command, and then
press Enter; replace Adatumyyxxxxx in the -AddLicenses attribute with the onmicrosoft.com
domain name provided by the hosting provider:
Page 30
Set-MsolUserLicense -UserPrincipalName [email protected] -
AddLicenses
"Adatumyyxxxxx:ENTERPREMIUM
10. To license Tameka Reed, at the command prompt, type the following command, and then press
Enter; replace Adatumyyxxxxx in the -AddLicenses attribute with the onmicrosoft.com domain
name provided by the hosting provider:
11. To prevent a user from signing in, at the command prompt, type the following command, and then
press Enter; xxyyzza is your unique domain name:
12. To delete a user, at the command prompt, type the following command, and then press Enter;
xxyyzza is your unique domain name:
13. To view the Deleted Users list, at the command prompt, type the following command, and then
press Enter:
Get-MsolUser -ReturnDeletedUsers
14. Verify that Catherine Richard is in the list of deleted users. Note that it specifies that she is still
licensed.
15. To restore a deleted user, at the command prompt, type the following command, and then press
Enter; xxyyzza is your unique domain name:
16. To view the deleted users list, at the command prompt, type the following command, and then
press Enter:
Get-MsolUser -ReturnDeletedUsers
17. Verify that Catherine Richard is no longer in the list of deleted users.
18. To view the active users list, at the command prompt, type the following command, and then
press Enter:
Page 31
Get-MsolUser
8. Close O365users.csv, and then in the Notepad message box, click Save.
9. To bulk import several users from a comma-separated value (CSV) file, copy and paste this code
into the Administrator: Microsoft Azure Active Directory Module for Windows PowerShell window
on LON-CL1, and then press Enter: PLEASE COPY TO A NOTE PAD.
Page 32
10. To view the Active Users list, at the command prompt, type the following command, and then
press Enter:
Get-MsolUser
2. To configure a variable for the group, at the command prompt, type the following command, and
then press Enter:
3. To configure a variable for the first user account, at the command prompt, type the following
command, and then press Enter:
4. To configure a variable for the second user account, at the command prompt, type the following
command, and then press Enter:
5. To add Catherine Richard to the Marketing group, at the command prompt, type the following
command, and then press Enter:
6. To add Tameka Reed to the Marketing group, at the command prompt, type the following
command, and then press Enter:
Page 33
Add-MsolGroupMember -GroupObjectId $MktGrp.ObjectId -GroupMemberType "User" -
GroupMemberObjectId $Tameka.ObjectId
7. To verify the members of the Marketing group, at the command prompt, type the following
command, and then press Enter:
2. At the command prompt, type the following command, and then press Enter; yourdomain is your
unique domain name:
3. At the command prompt, type the following command, and then press Enter:
Page 34
10. In the Alternative email address text box, click Edit, type [email protected], and then click Save, and
then click Close twice.
11. In the list view, click Christie Thomas.
12. On the Christie Thomas page, in the Roles section, click Edit.
13. Under Assign role, click Customized administrator, and then select User management
administrator from the list.
14. In the Alternative email address text box, click Edit, type [email protected], click Save, and then click
Close twice.
15. Close Microsoft Edge.
2. At the command prompt, type the following command, and then press Enter (where xxyyzza is
your unique UPN name):
3. At the command prompt, type the following command, and then press Enter:
4. At the command prompt, type the following command, and then press Enter:
5. Verify that Sallie McIntosh is in the list of users who have the Service Support Administrator role.
6. At the command prompt, type the following command, and then press Enter:
7. At the command prompt, type the following command, and then press Enter:
Page 35
Get-MsolRoleMember -RoleObjectId $role.ObjectId
8. Verify that Francisco Chaves is in the list of users who have the billing administrator role.
9. At the command prompt, type the following command, and then press Enter:
10. At the command prompt, type the following command, and then press Enter:
11. Verify that Amy Santiago is in the list of users who have the Company Administrator role. You
should also see Holly Dickson on the list.
12. Close the Windows PowerShell window.
Page 36
16. In the Office 365 admin center, on the Home page, click Active Users, and then click Jessica
Jennings.
17. On the Jessica Jennings page, in the Contact information section, click Edit.
18. On the Edit contact information page, expand Contact information.
19. In the Office Phone text box, type 555-1234, click Save, and then click Close.
20. In the Sign-in status section, click Edit, click Block the user from signing in, click Save, and then
click Close twice.
21. In the Office 365 admin center, click Add a user.
22. In the First name text box, type Chris.
23. In the Last name text box, type Breland.
24. Notice the Display name text box is automatically completed as Chris Breland.
25. In the User name text box, type Chris, click Add, in Product licenses section, enable Office365 E3
license, and then click Send email and close.
26. In the Active users list, click Chris Breland.
27. On Chris Breland page, click the Delete user.
28. On the Delete user page, click Delete, and then click Close.
29. Close Microsoft Edge.
Page 37
Lab 2: Implementing Identity Synchronization
NOTE: This lab should be performed after you complete Module 2.
You are now ready to start the directory synchronization process. In this lab exercise you to first make
sure your local Active Directory is ready to start the directory synchronization process by adding a
custom domain to the forest and configuring Exchange to use the new custom domain.
3. Next type the follow command (remember to change xxyyzza to your unique UPN name):
Get-ADUser –Filter * -Properties SamAccountName | ForEach-Object { Set-ADUser $_ -
UserPrincipalName ($_.SamAccountName + "@xxyyzza.xtremelabs.us" )}
2. At the Windows PowerShell prompt, type the following command, and then press Enter:
Set-ExecutionPolicy Unrestricted
Page 38
.\CreateProblemUsers.ps1
Note: Wait until the script has completed before proceeding to the next step.
5. This Windows PowerShell script will make the following changes in AD DS:
• Amr Zaki. Add the "@" character to the beginning of "adatum" for the UserPrincipalName
attribute.
• Brad Sutton. Replace the existing string with "[email protected]" for the emailAddress
attribute.
• Don Funk. Replace the existing string with "[email protected]" for the emailAddress
attribute.
• Holly Dickson. Replace the existing string with "holly @adatum.com" for the EmailAddress
attribute.
• Kelly Rollin. Replace the existing string with " " for the emailAddress attribute.
11. In the Amr Zaki row, in the ACTION column, select EDIT.
12. In the Holly Dickson row, in the ACTION column, select EDIT. 13. In the Kelly Rollin row, in the
ACTION column, select EDIT
14. On the toolbar, click Apply.
15. In the Apply Pending dialog box, click Yes; note the COMPLETE status in the ACTION column
indicating successful writes.
Page 39
16. Switch to File Explorer, and in the C:\Deployment Tools\IdFix folder, double-click Verbose <date>
<time>.txt to view the updated transactions in the transaction log.
17. Switch back to the IdFix tool.
18. On the toolbar, click Query.
19. Click in the UPDATE column to locate the Don Funk error, and replace the string with
[email protected], and then in the ACTION column, select EDIT.
20. Click in the UPDATE column to locate the Kelly Rollin error, and replace the string with
[email protected], and then in the ACTION column, select EDIT.
21. On the toolbar, click Apply.
22. In the Apply Pending box, click Yes.
23. On the toolbar, click Query and verify that errors are corrected.
Note: Where there are format and duplicate errors for distinguished names, the UPDATE column
either contains the same string as the VALUE column, or the UPDATE column entry is blank; in
either case, this means that IdFix cannot suggest a remediation for the error. You can either fix
these errors outside IdFix, or manually remediate them within IdFix. You can also export the
results and use Windows PowerShell to remediate many errors.
Page 40
16. In the left side menu, click Users, and then click Active Users.
Note: If you see the Active Directory synchronization is being activated warning, you can ignore it
at this time, but you will not be able to run directory synchronization later in this exercise. You
must wait until directory synchronization is activated. However, you can complete the following
steps, even if you do see the warning message.
27. In the left-hand navigation, select the user’s icon ( ) and select Active users, click on More on
the top menu and choose Directory Synchronization.
28. Click on the Go to the DirSync readiness wizard.
29. On the next screen choose 51-250 for the number of users you will move to the cloud, click Next.
30. Click Next on the Sync your local directory with the cloud screen.
31. Click continue manually to skip checking your directory since it was already fixed.
32. Click Next to configure the domains.
33. Click Ok I’ve added and verified all my domains to continue.
34. Click Next to continue the process (Skip IdFix).
35. Click on Download to go to the download page for Azure AD Connect.
36. Click Download again to download Azure AD Connect application.
37. Click Save and Run the download.
Page 41
4. On the Connect to Azure AD screen enter your Office 365 admin username
[email protected] with password Pa55w.rd (where XXYYZZ is your UPN domain) and
click Next.
Note: The web page should say Directory synchronization enabled. If it doesn’t then refresh the
page to see the that the Directory synchronization is enabled. If status does not update continue
to the next step if the export was successful.
13. Click Next on the Make sure sync worked as expected screen.
14. Click Next on the Activate users screen.
15. Click Finish on the You’re all set up screen.
Page 42
9. In the console tree, right-click the Research OU, click New, and then click Group.
10. In the New Object - Group window, in the Group name: box, type Project Team, click Universal,
click Distribution, and then click OK.
11. In the Research OU, double-click the Project Team group.
12. In the Properties dialog window, in the E-mail box, type [email protected].
13. On the Members tab, click Add.
14. In the Select Users, Contacts, Computers, Service Accounts, or Groups dialog box, in the Enter the
object names to select, type the following names, and then click Check Names:
• Anil Elson
• Deepak Kumar
• Olivier Renaud
2. At the Windows PowerShell prompt, type the following, and then press Enter:
Page 43
Note: The Delta switch is used here so that only the updates are synchronized.
3. Wait until synchronization has completed before proceeding to the next task.
Note: You might need to wait up to 10 minutes before the account appears. Refresh the list until
you see Perry Brill's account.
Note: You might need to wait up to 10 minutes before the group appears. Refresh the list until
you see the object.
13. In the Groups list, select the Project Team group.
Note: In the right pane, notice that Edit Members is unavailable. This is because group membership
is maintained by Active Directory. To view the membership, you need to use Windows PowerShell.
14. On LON-CL1, on the desktop, if PowerShell is not already open,and then click Run as
administrator.
15. If a User Account Control dialog box appears, click Yes.
16. If PowerShell wasn’t open, at the command prompt, type the following command, and then press
Enter:
Page 44
Connect-MsolService
Get-MsolGroup
19. Verify that you see Research and Project Team groups. Copy the ObjectID value for these two
groups.
20. To verify that you updated the group membership in AD DS, type the following command at the
Windows PowerShell prompt, and then press Enter (where <<ObjectID for Research group>> is the
ObjectID of the group):
21. Verify the membership of the group does not contain the users removed in AD DS. The users who
were removed from the group are:
• Chloe Brussard
• Chris Sells
• Florian Stiller
22. At the Windows PowerShell prompt, type the following command, and then press Enter:
Get-MsolAccountSku
Page 45
6. Select Pass-Through Authentication and then click Next.
7. Upon successful completion Pass-Through Authentication will be enabled.
8. To verify that Pass-Through Authentication is successfully enabled, open an Edge Browser.
9. Sign in to https://aad.portal.azure.com/.
10. Select Azure Active Directory on the left pane.
11. Verify pass-through authentication feature appears as ENABLED.
12. Select Pass-Through Authentication. The Pass-Through authentication pane lists the servers
where your authentication agents are installed.
End of lab
Page 46