I am working on a project where I need to migrate some of the Infopath forms manually from SharePoint 2013 to SharePoint Online. I have developed Console application to achieve this and it worked for other columns except UserField . Becuase Infopath's XML file is having a userentry as domain\\username and I need to convert it to SharePoint online user like username@abc.com..
I am not sure if this is achievable or not?
Any help is appreciated.
Thanks
About how to create user in SharePoint Online using C# code, Here are two solutions for your reference.
We can use the Microsoft Graph API to create User:
We can use Powershell and call it in our C# code to achieve this:
Office 365: Manage users by calling Windows PowerShell cmdlets from C#
In addition, we can do sync on-premises directories: Integrate your on-premises directories with Azure Active Directory
Hope this is helpful to you
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.