New answers tagged adfs
Just want to add this here. Unfortunately the suggested answers of adding NetworkCredential did not work. I instead switched from using Microsoft.SharePoint.Client dll to the Microsoft.SharePoint library. Everything works now except with the caveat of course that my application now has to be run on a SharePoint server.
SPWeb.EnsureUser evaluates against Active Directory (Windows) and Forms-based Authentication Claim providers. Since you're using a SAML provider (regardless if the user is originating from Active Directory), there is nothing for SharePoint to attempt to resolve against. In other words, what you're seeing is by design.
its depend upon the tools, usually if you migrate the users using the tools and then migrate the content it works like a charm. we did the same thing with sharegate for small set of user and no issue at all. Update: I used tsunami tool to migrated from non sharepoint to cloud. In that project we migrate content then mapped the user...that help us in ...
Top 50 recent answers are included