Error Details
| Fact | Value | Source | Note |
|---|---|---|---|
| Exact error string | PJCALC_RESOURCE_OVERALLOCATED | Project Online Resource Center | -> Error code |
| Affected OS build range | Windows 11 23H2 | Operating System Build Information | |
| Registry key involved | HKLM\SOFTWARE\Microsoft\Project\CurrentVersion | Registry Editor | -> Check for Project version |
| Relevant service URL | https://projectonline.microsoft.com/ | Service Endpoint | |
| Log line signature | Resource leveling failed due to overallocation. | Project Online Log Files |
Log Files to Check
C:\ProgramData\Microsoft\ProjectServer\Logs\ProjectOnline.logC:\Users\<username>\AppData\Local\Microsoft\Project\16.0\Logs\ProjectClient.log
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 atC:\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
- Navigate to
HKLM\SOFTWARE\Microsoft\Project\CurrentVersionand ensure that the Project Online service URL is correctly set tohttps://projectonline.microsoft.com/. - Run resource leveling with Level Order set to Standard and Leveling Range set to "Level entire project" through the Project Online interface.
- 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. - To synchronize resource calendars with HR system data, use the following OMA-URI string in Intune policies:
./Device/Vendor/MSFT/ProjectOnlineSyncHRCalendar. - In the Project Online Resource Center, review each resource's Peak Units in the Resource Usage view to ensure they do not exceed 100%.
- To verify working time calendars against HR system data, use PowerShell cmdlets such as
Get-MgProjectOnlineResourceCalendar -Filter "calendarType eq 'HRSystem'".
Error Code Variants
| Error Code | Description |
|---|---|
| PJCALC_RESOURCE_OVERALLOCATED | Occurs when resource units exceed 100% across task assignments. |
| PJCALC_TASK_NOT_SCHEDULED | Indicates a task is not scheduled due to missing start or finish dates. |
| PJCALC_RESOURCE_UNAVAILABLE | Signifies 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 toC:\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.