The following libraries are required to be installed in order for the Personas scripts to run.
You can use the Azure Active Directory PowerShell for Graph module for Azure AD administrative tasks such as user management, domain management and for configuring single sign-on. You can find installation instructions here
The SharePoint Online Management Shell is used to manage users, sites, and site collections. You can download it here.
SharePoint Patterns and Practices (PnP) contains a library of PowerShell commands (PnP PowerShell) that allows you to perform complex provisioning and artifact management actions towards SharePoint. You can download it here
You are free to customize the Persona Data to suit your needs. Persona data is contained within the Personas.csv file. An Excel Workbook (Personas.xlsx) has been provided to make it easier to work with the CSV data - modify persona data within the Excel Workbook, and export as CSV. Photos are stored in the ./photos directory. The scripts expect the name of the photo to match the user's alias.
If you wish to modify the scripts, then it is recommended to install Visual Studio Code along with the PowerShell Extension.
- Run the Import-PersonasAzureAD.ps1 script.
Import-PersonasAzureAD.ps1 -AdminID <youradminaccount> -AdminPWD <youradminpassword>
- Wait 5-10 minutes for the Exchange Mailboxes SharePoint Profiles to get created by Office 365. The following step witll fail if these items have not been provisioned.
- Run the Import-PersonasSpo.ps1
Import-PersonasSpo.ps1 -AdminID <youradminaccount> -AdminPWD <youradminpassword>