Skip to content

Collection of scripts for importing SmartterHealth personas into Azure AD and SharePoint User Profiles.

License

Notifications You must be signed in to change notification settings

SmartterHealth/content-personas

Repository files navigation

SmartterHealth Personas

Prerequisites

The following libraries are required to be installed in order for the Personas scripts to run.

Azure Active Directory for Graph

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

SharePoint Online Management Shell

The SharePoint Online Management Shell is used to manage users, sites, and site collections. You can download it here.

PnP PowerShell

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

Customization

Customize Persona Data

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.

Customize PowerShell Scripts

If you wish to modify the scripts, then it is recommended to install Visual Studio Code along with the PowerShell Extension.

Importing Personas

  1. Run the Import-PersonasAzureAD.ps1 script.
Import-PersonasAzureAD.ps1 -AdminID <youradminaccount> -AdminPWD <youradminpassword>
  1. 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.
  2. Run the Import-PersonasSpo.ps1
Import-PersonasSpo.ps1 -AdminID <youradminaccount> -AdminPWD <youradminpassword>

About

Collection of scripts for importing SmartterHealth personas into Azure AD and SharePoint User Profiles.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published