In this post you are going to create a new tenant for use throughout all the examples that are mentioned in SPO-Admin – development categories. We are going to install the
necessary PowerShell tools for connecting to SharePoint Online and Azure Active Directory. Finally, you will create some users that will be used for testing during the course and install the Office client.
Prepare SharePoint management PowerShell:
- Run Windows management Shell as admin
- Type install-module MSOnline and press enter
- Run the following commands in order:
a. $Credential = get-credential – Enter your. steve@CkXXXX.onmicrosoft.com user name and password,
click OK
b. Import-Module MSOnline
c. Connect-MsolService –Credential $Credentia - Get-MsolUse –> you should receive the user data such as principal name, display name & if the user is licensed or no