Skip to content
  • There are no suggestions because the search field is empty.

User profile sync update

1. Make sure you have an account with global admin role and are working on the system that will run the script

2. Start PowerShell in "run as admin" mode

3. Run command: Install-Module -Name PnP.PowerShell -RequiredVersion 1.10.0 -SkipPublisherCheck

4. Run command: Register-PnPAzureADApp -ApplicationName "InvolvUserSync" -Tenant "[tenant-id]" -Store CurrentUser "InvolvUserSync" -GraphDelegatePermission "User.Read" -GraphApplicationPermissions "User.Read.All" -SharePointApplicationPermissions @("User.ReadWrite.All", "Sites.FullControl.All") -Interactive

The placeholder "[tenant-id]" needs to be replaced with your actual tenant ID. You can find this ID in Azure: https://portal.azure.com/#view/Microsoft_AAD_IAM/TenantPropertiesBlade

5. A pop-up will appear. Use your global admin account to approve the requested permissions (see screenshot):

profile sync1

6. Copy the AzureAppId and Certificate Thumbprint (see screenshot) and send them to us, as they are necessary in the new version of the script that we will create:

profile sync2