During the migration of discussions and documents to the target Yammer network, Migration Manager for Enterprise Social (MMES) impersonates users to post the content on their behalf. Impersonation is only possible when there has been an active user account on the target Yammer network. However, Office 365 users with a Yammer license do not have a Yammer user profile until after an initial log in. This creates a significant problem for the migration team, since they need to identify users who do not have their Yammer profiles created and synchronized with Office 365.
MMES provides a workaround that allows the migration team to automate the user activation and initial profile synchronization in Yammer. Perform the following procedure to migrate inactive Yammer accounts:
Note: All steps below should be performed in the target Office 365 Admin Console and Yammer environment.
If you move the file, you will need to locate it in the next step.
2.) Generate a CSV file for bulk update of Yammer users:
$MMESInstallationPath = “C:\Program Files (x86)\Dell\Migration Manager for Enterprise Social\Dell.SMSP.Service.PowerShell.dll”
Import-Module $MMESInstallationPath
Get-SMXYammerBulkUserUpdateFile
A file named BulkUpdateUsers.csv is created in the same folder.
NOTE: Creating an active user profile requires a temporary password. The Get-SMXYammerBulkUserUpdateFile command automatically inserts a temporary password in the CSV file. The password is not used for user logons when Yammer is integrated with Office 365 sign-in. You do not need to modify the temporary password.
4.) Import users to Yammer:
Use the Bulk Update Users tool in the Yammer Network Admin console to import users from the CSV file created in the previous step.
5.) Perform initial profile synchronization:
The purpose of this step is to synchronize the profile properties for imported users with their Office 365 profiles. While Microsoft supports one-way profile synchronization between Office 365 and Yammer, it does not happen for imported users automatically. MMES includes a PowerShell cmdlet to perform theinitial synchronization using the exported user CSV file (from step 1).
NOTE: If this is a new PowerShell session, you must import the MMES PowerShell module into the PowerShell session before running the command.
$MMESInstallationPath = “C:\Program Files (x86)\Dell\Migration Manager for Enterprise Social\Dell.SMSP.Service.PowerShell.dll”
Import-Module $MMESInstallationPath
Run the following command to perform synchronization:
Set-SMXYammerProfiles -Name <Yammer connection name> -ProjectName <Project name>
Example:
Set-SMXYammerProfiles -Name "SourceYammer" -ProjectName "Migration Project 1"
Note: If there are spaces in the project or connection name, double quotes will need to be used.