projContext.Projects does not include master projects RRS feed

  • Question

  • How do you get a list of all Projects, including master projects, from Project Online using the CSOM?

    I've tried the following code (copied from the docs), but it does not retrieve master projects:

    // List the published projects.
    private static void ListPublishedProjects()
        // Get the list of projects on the server.
        Console.WriteLine("\nProject ID : Project name : Created date");
        foreach (PublishedProject pubProj in projContext.Projects)
            Console.WriteLine("\n\t{0} :\n\t{1} : {2}", pubProj.Id.ToString(), pubProj.Name,

    Mike G.

    Saturday, March 15, 2014 2:01 PM