Guys - i think this is a long standing issue, one which i thought i'd resolved.
I want to say that it's a performance issue and that I could investigate management packs to identify if any are flooding the management servers, however, I believe it's an access issue.
The event log says:
Failed to store data in the Data Warehouse. The operation will be retried.Exception 'SqlException': Management Group with id ''xxxx'' is not allowed to access Data Warehouse under login ''sv-scom-dw''
One or more workflows were affected by this.
Workflow name: Microsoft.SystemCenter.DataWarehouse.CollectPerformanceData
Instance name: SCOM-MS1.domain
Instance ID: {xxxxxxx}
Management group: Groupname
After reading that error, you'd think it would be as simple as to check the Data warehouse DB and ensure that the account listed has access!? Well.. the twist in the plot is... it does have access. I'm able to load SQL management studio, access the database and browse tables. I've checked almost everything i can think of, and now i'm just lost. I could do with a fresh pair of eyes looking over it.
My SCOM environment is 2012 R2, all running on Windows 2012 R2 servers, SQL is also 2012.