Guide to Overcoming Migrating SharePoint Online User Profiles Properties
Image Source:
SharePoint Online
Apr 21, 2024 1:02 PM

Guide to Overcoming Migrating SharePoint Online User Profiles Properties

by HubSite 365 about Laura Kokkarinen [MVP]

Lead Architect, Software Development | Microsoft MVP | Blogger | Speaker |

Pro UserSharePoint OnlineLearning Selection

Solve SharePoint Migration Hurdles: A Guide by Expert Laura Kokkarinen

Key insights

  • Migrating SharePoint Online user profile properties encountered obstacles including property visibility and Multi-Factor Authentication (MFA) issues.
  • Visibility of user profile properties had to be set to "Everyone" to migrate them effectively, reversing the setting post-migration.
  • Writing user profile property values cannot be performed with an account that has MFA enabled, necessitating alternative methods.
  • Utilizing Entra ID application registration and certificate authentication provides a workaround for the MFA restriction.
  • The process includes creating a self-signed certificate, registering an Entra ID application, and setting up specific SharePoint application permissions.

SharePoint Online User Profile Property Migration

Overcoming challenges when migrating SharePoint Online user profile properties can be complex. This summary highlights the issues encountered and solutions found during the process of migrating user profile properties from one SharePoint Online environment to another. The focus is on a tenant-to-tenant migration scenario.

The background includes developing SPFx solutions that rely on custom user profile properties. These properties are crucial for storing user-specific settings accessible by SPFx solutions. Challenges arose due to a company acquisition requiring the migration of these properties and their values to a new tenant.

Two main issues were encountered during the migration. First, the visibility of user profile properties needed to be set to "Everyone" to facilitate the transfer. This adjustment allowed for the properties to be accessible via the PnP.PowerShell module. After migration, settings were reverted to their original state.

Secondly, writing user profile property values faced a hurdle when dealing with accounts that have Multi-Factor Authentication (MFA) enabled. The solution involved leveraging certificate authentication with PnP.PowerShell as a workaround. This process entailed creating a self-signed certificate, setting up an Entra ID application registration, and granting the necessary permissions.

Despite these challenges, the migration of SharePoint Online user profile property values was successfully completed. The experiences shared here aim to assist others facing similar migration tasks, offering insights into overcoming potential obstacles effectively.

Read the full article Overcoming challenges when migrating SharePoint Online user profile properties

SharePoint Online - Guide to Migrating SharePoint Online User Profiles Efficiently


People also ask

What are the risks of SharePoint migration?

Conducting a meticulous Risk Assessment is the initial step toward minimizing risks during a SharePoint migration. This involves a thorough evaluation of the current environment to ascertain if migration is apt. Following this, data is ranked based on its significance, allowing for strategic prioritization during the migration process.

What are the limitations of SharePoint migration?

In SharePoint migrations, one faces a LIMITATION where no single folder should hold more than 10,000 items, whether they're files or subfolders. To PREVENT issues, it's advised to reorganize your content in the file system, ensuring each folder contains fewer than 10,000 items before migrating.

What are the common risks and issues encountered when implementing SharePoint?

When implementing SharePoint, eight prevalent risks and vulnerabilities often emerge: Uncontrolled site sharing, improper management when sharing properties externally, potential data loss during synchronization of document libraries to local systems, absence of data loss prevention policies, having too many admins which complicates management, confusion about appropriate file storage locations, a lack of accountability among users, and neglecting important software updates.

What are the restrictions for SharePoint Migration Tool?

The SharePoint Migration Tool (SPMT) is subject to specific operational constraints and guidelines that govern its use.



SharePoint Online migration, user profile migration, overcoming SharePoint challenges, migrating SharePoint user properties, SharePoint Online challenges, SharePoint user profile issues, successful SharePoint migration, SharePoint Online user profile solutions