Académique Documents
Professionnel Documents
Culture Documents
Licenses
1. On your host computer, ensure you are logged into the 20346A-LUC-CL1 virtual
machine as Student1 with a password of Pa$$word.
4. In the Office 365 admin center, click Admin, then click Office 365.
11. Verify that LucernepublishingXXX.onmicrosoft.com is listed in the text box after the
@ sign (where XXX is your unique Lucerne Publishing number).
13. On the settings page, in the Set user location box, select Switzerland.
14. Click Next.
15. On the assign licenses page, assign the user a license for the Microsoft Office 365 Plan
E3 by clicking Next.
19. Repeat steps 7 to 18 to create the following users: (using the first letter of first name and
all of surname as the user names, e.g. wdouglas.)
o William Douglas
o Justin Muller
o Rick Torres
o Mario Ledford
o William ..
o Justin ..
o Rick .
o Mario .
21. When you have completed the last user account, on the results page, click finish.
22. In the active users list, select the checkboxes for Mario Ledford and Rick Torres.
26. On the settings page, in the Set sign-in status section, select Blocked.
30. In the active users list, under DISPLAY NAME, click Mario Ledford.
37. In the active users list, under DISPLAY NAME, click Rick Torres.
38. Repeat steps 31 to 36 to verify that this user has the same settings defined.
39. In the active users list, select the checkbox for Robert Schmid.
45. In the deleted users list, select the checkbox for Robert Schmid.
3. On the Update password page, in the Old password box, type Roberts temporary
password, in the New password and Confirm new password boxes, type Pa$$w0rd.
4. Click save.
6. Verify that you can access the Get started with Office 365 page.
10. Verify that you cannot log in and the message states that your account has been blocked.
14. In the Office 365 admin center, click Admin, then click Office 365.
16. In the active users list, select the checkboxes for Mario Ledford and Rick Torres.
17. On the right-hand side, click the (Edit) symbol.
19. On the settings page, in the Set sign-in status section, select Allowed.
26. On the Update password page, in the Old password box, type Ricks temporary
password, in the New password and Confirm new password boxes, type Pa$$w0rd.
28. If prompted, re-enter your new password, and click Sign in.
29. Verify that you can access the Get started with Office 365 page.
Results: User accounts and licenses are created and managed according to business needs.
3. In the Office 365 admin center, click Admin, and then click Office 365.
10. In the Group Member Picker window, press the Ctrl key, select Robert Schmid and
William Douglas, and then click add.
12. Ensure these two users are now listed under the DISPLAY NAME list, and click save.
14. On the details page, in the Display name box, type Accounts.
17. In the Group Member Picker window, press the Ctrl key, select Mario Ledford and
Rick Torres, and then click add.
19. Ensure these two users are now listed under the DISPLAY NAME list, and click save.
20. In the Office 365 admin center, click Admin, and then click Exchange.
25. In the Distribution Group window, in the Display name box, type Sales Distribution.
28. In the Description box, type Distribution group for sales department.
29. Under Members, uncheck the Add group owners as members checkbox.
31. In the Select Members window, select Robert Schmid and click add.
32. In the Select Members window, select William Douglas and click add.
37. In the Distribution Group window, in the Display name box, type Accounts
Distribution.
40. In the Description box, type Distribution group for accounts department.
41. Under Members, uncheck the Add group owners as members checkbox.
43. In the Select Members window, select Rick Torres and click add.
44. In the Select Members window, select Mario Ledford and click add.
47. In the Exchange admin center console, click groups, then click the + (Add) symbol.
49. In the Security Group window, in the Display name box, type Sales Security.
52. In the Description box, type Exchange security group for sales.
53. Under Members, uncheck the Add group owners as members checkbox.
55. In the Select Members window, select Robert Schmid and click add.
56. In the Select Members window, select William Douglas and click add.
61. In the Dynamic Distribution Group window, in the Display name box, type Accounts
Dynamic.
63. In the Description box, type Dynamic distribution group for accounts.
65. In the Select Owner window, click Heidi Leitner and click ok.
74. Verify that the following groups now exist in the groups list:
o Sales Distribution
o Accounts Distribution
o Sales Security
1. In the Exchange admin center, click Admin, and then click Office 365.
o Sales Distribution
o Accounts Distribution
o Sales Security
6. In the security groups list, deselect the checkbox for Accounts, and select the checkbox
for the Accounts Distribution group.
9. Click cancel.
10. In the security groups list, select the checkbox for the Sales group.
11. Above the security groups list, click the (Edit) symbol.
12. Note that you can edit the properties of this Office 365 security group.
14. In the Group Member Picker window, select Justin Muller, click add, and then click
ok.
15. Ensure that Justin Muller is now listed under the DISPLAY NAME list, and click save.
16. In the security groups list, select the checkbox for the Sales Security group.
Results: You have created a group structure based on the security need within Lucerne
Publishing.
1. On the desktop, right-click the Windows Azure Active Directory Module for
Windows PowerShell shortcut and click Run as administrator.
Connect-msolservice
4. In the Enter Credentials dialog box log in as
hleitner@lucernepublishingXXX.onmicrosoft.com (where XXX is your unique
Lucerne Publishing number), with a password of Pa$$w0rd.
5. At the prompt, type the following command and press Enter (where XXX is your unique
Lucerne Publishing number).
New-MsolUser UserPrincipalName
elabrecque@LucernePublishingXXX.onmicrosoft.com
DisplayName Elisabeth Labrecque FirstName Elisabeth
LastName Labrecque
Password Pa$$w0rd ForceChangePassword $false
UsageLocation CH
6. At the prompt type the following command and press Enter (where XXX is your unique
Lucerne Publishing number).
8. To create a Marketing group, at the prompt type the following command and press Enter.
9. To configure a variable for the group, at the prompt type the following command and
press Enter.
11. To configure a variable for the second user account, at the prompt type the following
command and press Enter.
12. To add Elisabeth Labrecque to the Marketing group, at the prompt type the following
command and press Enter.
13. To add Liane Martin to the Marketing group, at the prompt type the following command
and press Enter.
14. To verify the members of the Marketing group, at the prompt type the following
command and press Enter.
Get-MsolUser -UnlicensedUsersOnly
16. To license Elizabeth Labrecque, at the prompt type the following command and press
Enter (where XXX is your unique Lucerne Publishing number).
Set-MsolUserLicense -UserPrincipalName
elabrecque@LucernePublishingXXX.onmicrosoft.com AddLicenses
LucernePublishingXXX:ENTERPRISEPACK
17. To license Liane Martin, at the prompt type the following command and press Enter
(where XXX is your unique Lucerne Publishing number).
Set-MsolUserLicense -UserPrincipalName
lmartin@LucernePublishingXXX.onmicrosoft.com
AddLicenses LucernePublishingXXX:ENTERPRISEPACK
18. To prevent a user from signing in, at the prompt type the following command and press
Enter (where XXX is your unique Lucerne Publishing number).
Set-MsolUser -UserPrincipalName
elabrecque@LucernePublishingXXX.onmicrosoft.com -
blockcredential $true
19. To delete a user, at the prompt type the following command and press Enter (where
XXX is your unique Lucerne Publishing number).
Remove-MsolUser UserPrincipalName
elabrecque@lucernepublishingXXX.onmicrosoft.com
Force
20. To view the deleted users list, at the prompt type the following command and press
Enter.
Get-MsolUser ReturnDeletedUsers
21. Verify that Elisabeth Labrecque in included in the deleted users list. Note that it specifies
that she is still licensed.
22. To restore a deleted user, at the prompt type the following command and press Enter
(where XXX is your unique Lucerne Publishing number).
Restore-MsolUser UserPrincipalName
elabrecque@lucernepublishingXXX.onmicrosoft.com
23. To view the deleted users list, at the prompt type the following command and press
Enter.
Get-MsolUser ReturnDeletedUsers
24. Verify that Elisabeth Labrecque is no longer in the deleted users list.
25. To view the active users list, at the prompt type the following command and press Enter.
Get-MsolUser
26. Verify that Elisabeth Labrecque is included in the active users list.
27. To allow a user to sign in, at the prompt type the following command and press Enter
(where XXX is your unique Lucerne Publishing number).
Set-MsolUser -UserPrincipalName
elabrecque@LucernePublishingXXX.onmicrosoft.com -
blockcredential $false
2. Navigate to E:\labfiles\Lab02.
6. In Replace with, enter your unique three digit number from your Office 365 domain.
8. Click Cancel.
9. Check that the XXX entries have been replaced with your unique Lucerne Publishing
number.
10. Close O365Users.csv and in the Notepad message box, click Save.
11. To bulk import several users from a CSV file, cut and paste this code into the prompt and
press Enter.
12. To view the active users list, at the prompt type the following command and press Enter.
Get-MsolUser
13. Switch back to Internet Explorer and click Admin, then click Office 365.
15. Review the active users that you have just imported.
17. Under recipients, review the mailboxes and associated email addresses that have been
created.
Results: Heidi can use PowerShell to manage Lucerne Publishing user and group accounts
in Office 365 by using PowerShell.