CSOMUnknownUser

Noman Soofi 1 Reputation point
2022-10-26T10:34:46.693+00:00

publishedProject = projContext.Projects.First(p => p.Name == ProjName);
draftProject = publishedProjectCheckOut().IncludeCustomFields;
projContext.Load(draftProject);
projContext.ExecuteQuery();

I am using below to in order to check out the draft project for setting custom field values. But when cursor reaches on the last line projContext.ExecuteQuery(); it returns the below error message

CSOMUknownUser

While I am using already the elevated permissions and logged in the EPM portal with the user having farm administrator rights.

I am totally fed up now to deal with this error since more than a month because there is no such sufficient help available on forums.

I ask for help to the experts of EPM.

Thank you.

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,061 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,540 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 26,791 Reputation points Microsoft Vendor
    2022-10-27T01:56:05.387+00:00

    Hi @Noman Soofi
    Since your issue is about Project and our forum focus on SharePoint. I will recommend you to go Project Tech Community for some more professional advice. Here is the forum dedicated to Microsoft Project issues. If you have any issues about SharePoint in the future, please not hesitate to raise a ticket in our forum.
    https://techcommunity.microsoft.com/t5/project/ct-p/Project


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.