2

As I mentioned above I want to modify given UserProfileProperties.

This is what I have found during the last two hours. I also found several other things, but it won´t work. I modified all paths, so that it should work, but it doesn't.

Is there a simple solution for that?

System.Management.Automation.MethodInvocationException: Exception calling "GetPr ofileSubtype" with "1" argument(s): "Object reference not set to an instance of an object." ---> System.NullReferenceException: Object reference not set to an istance of an object.

This is the failure I got, when start my .ps1.

  • Solved the Problem. Was a security problem ;-) You need to put your account as an admin for the user profile service as described here: sharepoint-answers.blogspot.de/2011/07/… – Felix Zeidler Jan 18 '13 at 17:56
  • 1
    If you've solved the problem, please post it as an answer to your question and accept the answer (a day later). This action will help furure visitors. Thank you! – Benny Skogberg Nov 13 '13 at 18:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.