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 for business | Windows Server | User experience | PowerShell
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,781 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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.