How to fix Set-SPOUser file not found?

Kuppan, Sathya 0 Reputation points
2023-05-16T08:36:19.3366667+00:00
Set-SPOUser : File Not Found.
At line:1 char:1
+ Set-SPOUser -Site https://westpharmaceutical-my.sharepoint.com/person ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Set-SPOUser], ServerException
    + FullyQualifiedErrorId : Microsoft.SharePoint.Client.ServerException,Micr 
   osoft.Online.SharePoint.PowerShell.SetSPOUser
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,462 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,121 Reputation points
    2023-05-18T14:01:32.3566667+00:00

    Hello Kuppan,

    Thank you for your question and for reaching out with your question today.

    This error normally means that the user being searched for is no longer on the system or the username has been entered incorrectly. Please verify this and try again.

    If the reply was helpful, please don’t forget to upvote or accept as answer.

    0 comments No comments