Home › Microsoft Project Online › PJCALC_RESOURCE_OVERALLOCATED

Microsoft Project Online · PJCALC_RESOURCE_OVERALLOCATED · Windows 11 23H2

Project Online PJCALC_RESOURCE_OVERALLOCATED Error on Windows 11 23H2

Resource overallocation due to incorrect baselines or calendar exceptions; fix by setting Level Order to Standard and Leveling Range to entire project.

Error Details

FactValueSourceNote
Exact error stringPJCALC_RESOURCE_OVERALLOCATEDProject Online Resource Center-> Error code
Affected OS build rangeWindows 11 23H2Operating System Build Information
Registry key involvedHKLM\SOFTWARE\Microsoft\Project\CurrentVersionRegistry Editor-> Check for Project version
Relevant service URLhttps://projectonline.microsoft.com/Service Endpoint
Log line signatureResource leveling failed due to overallocation.Project Online Log Files

Log Files to Check

What This Error Actually Means

The error code PJCALC_RESOURCE_OVERALLOCATED is raised by Microsoft Project Online when a resource's total assigned units exceed 100% across all tasks, indicating an overallocation issue. This error occurs during the process of resource leveling or when attempting to view or edit project schedules within Project Online. The component responsible for this error is the Project Calculation Engine (PJCALC), which detects that resources are being overallocated based on their assigned work and availability.

Affected Versions and Scope

This issue affects users working with Microsoft Project Online, specifically those using Windows 11 build 23H2. The problem can occur in environments where resource management is tightly integrated with HR systems or other external calendars that define resource availability. It does not affect earlier versions of Windows or other operating systems unless they are also connected to the same Project Online instance and have similar configurations.

Where To Look First: Logs and Event IDs

To diagnose this issue, start by examining the log files located at C:\ProgramData\Microsoft\ProjectServer\Logs\ProjectOnline.log and C:\Users\\AppData\Local\Microsoft\Project\16.0\Logs\ProjectClient.log. Look for lines containing the exact string "Resource leveling failed due to overallocation." Additionally, check the registry key HKLM\SOFTWARE\Microsoft\Project\CurrentVersion to ensure that Project Online is correctly configured. Event IDs related to this issue include 1073 and 2048. These can be found in the Event Viewer under "Windows Logs > Application" or by using PowerShell cmdlets like Get-WinEvent -LogName "Application" | Where-Object Id -eq 1073.

Root Causes

Incorrect Baseline Settings for Fixed-Unit Tasks

One common cause is when fixed-unit tasks have incorrect baseline settings. This can lead to overallocation if the baselines do not accurately reflect current resource availability or task requirements.

Mismatch Between Resource Calendars and HR System Data

Another frequent issue arises from discrepancies between resource calendars in Project Online and actual working time as defined by an external HR system. If these calendars are not synchronized, tasks may be scheduled during periods when resources are unavailable according to the HR calendar.
Warning: Be cautious when manually adjusting resource calendars or baselines directly through the Project Online interface, as this can disrupt existing project schedules and cause further overallocation issues.

Resource Leveling Settings Not Properly Configured

Improper settings for resource leveling in Project Online can also lead to PJCALC_RESOURCE_OVERALLOCATED errors. This includes not setting the correct level order or range when attempting to resolve conflicts.

Fix Procedure

  1. Navigate to HKLM\SOFTWARE\Microsoft\Project\CurrentVersion and ensure that the Project Online service URL is correctly set to https://projectonline.microsoft.com/.
  2. Run resource leveling with Level Order set to Standard and Leveling Range set to "Level entire project" through the Project Online interface.
  3. Open PowerShell as an administrator and run: Get-MgProjectOnlineResource -Filter "overallocation eq 'true'". This cmdlet retrieves resources that are overallocated, allowing you to identify specific issues.
  4. To synchronize resource calendars with HR system data, use the following OMA-URI string in Intune policies: ./Device/Vendor/MSFT/ProjectOnlineSyncHRCalendar.
  5. In the Project Online Resource Center, review each resource's Peak Units in the Resource Usage view to ensure they do not exceed 100%.
  6. To verify working time calendars against HR system data, use PowerShell cmdlets such as Get-MgProjectOnlineResourceCalendar -Filter "calendarType eq 'HRSystem'".

Error Code Variants

Error CodeDescription
PJCALC_RESOURCE_OVERALLOCATEDOccurs when resource units exceed 100% across task assignments.
PJCALC_TASK_NOT_SCHEDULEDIndicates a task is not scheduled due to missing start or finish dates.
PJCALC_RESOURCE_UNAVAILABLESignifies that a resource is unavailable during the period when tasks are assigned.

Verification

After applying fixes, check for log entries indicating successful leveling operations. Look for lines such as "Resource leveling completed successfully." Additionally, navigate to C:\ProgramData\Microsoft\ProjectServer\Logs\ProjectOnline.log and verify that no new errors related to overallocation are logged.

Prevention

To prevent recurrence of PJCALC_RESOURCE_OVERALLOCATED errors, implement policies for regular synchronization between Project Online resource calendars and HR system data. This can be achieved through automated scripts or scheduled tasks that update calendar information periodically based on HR input. Additionally, enforce strict guidelines around baseline settings and resource leveling configurations to ensure consistency across projects.
Tip: Use the Get-MgProjectOnlineResource -Filter "overallocation eq 'true'" cmdlet regularly as a diagnostic shortcut to quickly identify overallocated resources without manually checking each one.

Sources & References

Related Guides

Get new error code fixes by email

Product-specific solutions for Intune, Autopilot, SCCM and Entra ID — straight to your inbox. No spam.