Others

How to Retrieve Baseline Dates from Project Server 2016 via CSOM

Camila MilosovichCamila Milosovich Oct 29, 2026 868 views

Question details

The user is trying to retrieve baseline dates from Project Server 2016 but cannot find the baseline columns using CSOM or locate them safely in the direct database.

How to Retrieve Baseline Dates from Project Server 2016 via CSOM
Product
Microsoft Project Server 2016
Device & OS
not provided
Scenario
Attempting to programmatically extract baseline project dates using CSOM scripts or direct database SQL queries.
Observed behavior
Baseline columns appear to be missing or unavailable through CSOM, and directly querying the Project Server databases is discouraged due to varying schemas and unsupported access methods.
Before you start

Before attempting to query the Project Server database, ensure you have the appropriate administrative permissions and review Microsoft's official API documentation, as unsupported direct SQL queries can cause server instability and data corruption.

Solution 1Recommended

Consult the Microsoft Tech Community for Supported API Methods

Because direct database querying is officially unsupported, engaging with the official developer community is the safest way to find specific CSOM workarounds or correct REST API calls.

Directly querying Project Server databases using SQL Server Management Studio is highly discouraged by Microsoft. The database schemas change frequently with updates, and unsupported access methods can lead to critical server issues.

1
Navigate to the Microsoft Tech Community

Open your web browser and navigate to the official Microsoft Tech Community portal.

2
Search the Project forums

Click on the search bar and filter by the 'Project' hub. Search for 'Project Server 2016 CSOM baseline dates' to find existing developer threads.

3
Post your specific CSOM query

If no existing solution works, click 'Start a New Discussion' to post a new thread. Include your current CSOM code snippet and specify the exact baseline fields (such as Baseline0Finish) you are trying to retrieve.

Avoid Direct SQL Queries: Always use supported programming interfaces like CSOM, JSOM, or OData feeds to extract data from Project Server to ensure system stability and compatibility with future updates.
Free Microsoft Office alternative

Analyze Exported Project Data with WPS Office

While Microsoft Project Server handles complex portfolio management, analyzing exported baseline data or generating project status reports is much easier with WPS Office. As a highly compatible, lightweight alternative to Microsoft Office, WPS allows you to seamlessly manage and visualize your exported project spreadsheets without the high subscription costs.

  1. 1. Export Project Data: Export your baseline dates and reporting data from Project Server into a standard Excel (.xlsx) or CSV file.
  2. 2. Open in WPS Spreadsheet: Launch WPS Office and click 'Open' to load your exported project file for viewing.
  3. 3. Analyze and Share: Use built-in charts and PivotTables in WPS Spreadsheet to analyze baseline variances and share the results with your team.
Fully compatible with Microsoft Excel (.xlsx and .csv) formats for analyzing exported Project Server data.Free, lightweight, and easy to use with a familiar, tabbed interface.Includes Writer, Presentation, and Spreadsheet tools in one seamless suite.Easily migrate your Microsoft Office files and continue working without formatting loss.
microsoft office alternative - wps office

Frequently Asked Questions

Why are baseline columns missing when querying Project Server 2016 via CSOM?

Baseline columns are sometimes not exposed directly through default CSOM endpoints, or they may require specific field expansion parameters in your code. Additionally, certain custom fields or baseline data might be restricted by enterprise custom field settings or server permissions.

Is it safe to query the Project Server database directly using SQL?

No, Microsoft strongly advises against directly querying the Project Server draft, published, or reporting databases via SQL Server Management Studio. Doing so is unsupported, bypasses application security logic, and can result in severe data corruption or unexpected application behavior.

What is the best supported method to retrieve reporting data from Project Server 2016?

The OData service (accessed via the _api/ProjectData endpoint) is the recommended and fully supported method for extracting reporting data. It is specifically optimized to provide read-only access to entities like baseline dates, project tasks, and resource assignments.