web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

WFM Forecasting External Data Forecast Failed

(0) ShareShare
ReportReport
Posted on by 28
Hello, 
I am facing an issue with Workforce Management (WFM) Forecasting using External Data in Dynamics 365 Customer Service / Contact Center,
i created the historical CSV file as Microsoft guide saying: Import historical data, next i Created a new Managed External Data record (Validation Status = Successful)
finally created a new Forecast Scenario using the external data as the data source then click on Create new snapshot.
the system show only this message without details:
 
here is an example on the excel file data:
 
DateTimeChannelIdChannelNameQueueIdQueueName

Volume

AHT

Interval

MaxVolumeByHourAgentCount
2025-01-01 00:00:00

5c453d47-e1c9-e911-a826-000d3a1f0599

Live chat87e15852-1c9f-f111-b8dd-6045bd597a3cCSR

195

10

Daily

17

4

2025-01-02 00:00:00

5c453d47-e1c9-e911-a826-000d3a1f0599

Live chat87e15852-1c9f-f111-b8dd-6045bd597a3cCSR

819

9

Daily

70

13

2025-01-03 00:00:00

5c453d47-e1c9-e911-a826-000d3a1f0599

Live chat87e15852-1c9f-f111-b8dd-6045bd597a3cCSR

767

8

Daily

66

11

2025-01-04 00:00:00

5c453d47-e1c9-e911-a826-000d3a1f0599

Live chat87e15852-1c9f-f111-b8dd-6045bd597a3cCSR

397

7

Daily

34

5

2025-01-05 00:00:00

5c453d47-e1c9-e911-a826-000d3a1f0599

Live chat87e15852-1c9f-f111-b8dd-6045bd597a3cCSR

446

10

Daily

38

8

 

Thank you

  • Suggested answer
    Syed Aqib Raza Profile Picture
    138 on at

    Since the Managed External Data validation is successful, I would focus on the forecast scenario configuration and the actual CSV values rather than the upload itself.

    From your sample, the column structure looks correct — Microsoft currently expects DateTime, ChannelId, ChannelName, QueueId, QueueName, Volume, AHT, Interval, MaxVolumeByHour, AgentCount for external forecast data. For daily data, Interval should be Daily; for short-term/intraday forecasting, the data must be in 15-minute intervals. DateTime should also follow the required date/time format.

    A few things I would verify:

    1. Forecast Scenario type vs CSV interval — make sure a Long-term/Daily scenario is being used with Daily data, or a Short-term scenario with 15-minute data.
    2. DateTime values — make sure there are no invalid dates, blank values, duplicate/inconsistent intervals, or unexpected date formats.
    3. Numeric columnsVolume, AHT, MaxVolumeByHour, and AgentCount should contain valid whole-number values.
    4. Channel and Queue mapping — verify that the channels and queues selected in the Forecast Scenario correspond to the ChannelId/ChannelName and QueueId/QueueName values in the CSV.
    5. Historical date range — make sure the selected historical start date actually covers the data being supplied.
    6. Check View Job History after creating the snapshot. Microsoft specifically recommends Job History for checking whether the forecast execution completed or failed and for diagnosing missing forecast output.

    One important point: a successful Managed External Data validation does not necessarily mean the forecasting model can successfully process the dataset. The snapshot generation runs as a background job, so the failure can occur during forecast processing.

    If possible, I would also test with a very small CSV containing only a few days of clean historical data for one queue and one channel. If that succeeds, gradually add the remaining queues/channels to identify whether a particular dataset is causing the forecast job to fail.

  • 34SF Profile Picture
    28 on at

    Hi, @Syed Aqib Raza thank you for your interaction, i verified what you mentioned, from 1-4 already verified, regarding Historical data range i updated to be one day before the historical data rang (earlier it was at the same date). the same issue is persist,  
     

    in the system job i found only these two job have relation with the forecast action, and they completed successfully 


     

  • Suggested answer
    ParthPatel249 Profile Picture
    156 on at

    This is a frustrating one because the failure message gives you nothing to work with. Based on what you've shared, here are the most likely causes to check.

    Data format issues in the CSV

    Even though validation passed, the forecast engine is stricter. A few things to double check in your file:

    The Interval column is set to Daily but WFM forecasting typically expects 15min or 30min intervals, not daily. This is very likely your main problem. Try changing the interval to 15min or 30min and adjust your DateTime and volume data accordingly.

    The DateTime format must be exactly yyyy-MM-dd HH:mm:ss in UTC, which yours looks correct on.

    Make sure there are no blank rows, extra columns, or BOM characters in the CSV if you saved it from Excel, saving as CSV UTF-8 without BOM is safer.

    Queue and Channel IDs

    Even though validation passed, double check that the QueueId and ChannelId GUIDs actually exist and are active in your environment. A mismatch here can cause the forecast run itself to fail silently.

    Minimum data requirement

    Microsoft requires at least 8 weeks of historical data for the forecasting model to run properly. If your data is shorter than that the job can fail without a clear error message.

    To get more details on the failure

    Go to the WEM Schedule Job record and check if there are any related error logs. Also check the Power Automate flows tied to WFM in your environment, sometimes the detailed error surfaces there rather than in the UI.

    The interval issue is the most likely culprit given what's shown in your sample data.

     
     


     

  • Suggested answer
    Syed Aqib Raza Profile Picture
    138 on at

    @34SF 
    Thanks for confirming. Since items 1–4 have already been verified, the historical start date was adjusted, and the related system jobs are completing successfully, I would focus next on the forecast scenario run itself rather than the external-data validation or the Dataverse system jobs.

    The important distinction here is that a successful Managed External Data validation only confirms that the uploaded data can be accepted as an external data source. The actual forecast generation is a separate asynchronous process. Microsoft documents that running a forecast starts a background job, and the forecast output is generated after that job completes.

    Since your screenshot shows the Forecast Scenario itself in Failed status while the related system jobs are Completed, I would check the following next:

    1. Open Job History for the failed Forecast scenario run and select View details. If there is an error message, correlation ID, or additional execution information there, please share that.
    2. Check whether the failure occurs with a minimal external CSV. I would create a test file with only:

      • 1 Channel
      • 1 Queue
      • 5–10 consecutive days
      • Interval = Daily
      • valid numeric values for Volume, AHT, MaxVolumeByHour and AgentCount

      Microsoft currently documents the required Daily external-data columns as DateTime, ChannelId, ChannelName, QueueId, QueueName, Volume, AHT, Interval, MaxVolumeByHour, AgentCount.

    3. If the minimal dataset succeeds, gradually add the remaining queues/channels. This would help determine whether the issue is caused by a particular queue/channel combination or by the size/content of the external dataset.
    4. Also verify that the Forecast Entity, Channel, Queue, Forecast Type and Interval are consistent. Your screenshot shows a Long-term / Linear scenario, so the external data should be Daily. Microsoft describes Long-term forecasting as daily forecasting, while Short-term forecasting uses 15-minute intervals.
    5. If even the minimal one-queue/one-channel dataset fails with the same Forecast scenario run – Failed status, then I would consider this less likely to be a CSV-data issue and more likely to require investigation of the WFM forecasting service/backend. At that point, the Job History details and the exact timestamp of the failed run would be useful for a Microsoft support ticket.

    The fact that the two related System Jobs completed successfully does not necessarily prove that the forecast generation itself succeeded, because the forecast run is an asynchronous process with its own execution status.

    If you can post the View details output from the failed Forecast scenario run, that would be the next useful piece of information to identify the actual failure.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Syed Aqib Raza Profile Picture

Syed Aqib Raza 42

#2
11manish Profile Picture

11manish 19 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 19

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans