Missing service that does exist

I’ve got some services like this in my config:

Service OneContentAgent {
   Name = "OneContentControlCenterAgent"
   State = "Running"
}
Service BDI_Centricity {
   Name = "BDI_Centricity"
   State = "Running"
}

It gives me this error when I start my DSC configuration. “PowerShell DSC resource MSFT_ServiceResource failed to execute Set-TargetResource functionality with error message: The service ‘BDI_Centricity’ does not exist. Specify the path to the executable to create a new service”

The service does exist! I’ve made sure the name is exactly the same. I’ve even copied and pasted in my script from the server I’m trying to configure, as well as typed it multiple times. The other service, “OneContentControlCenterAgent” works fine in my config.
Any ideas why this keeps failing to find the service?

If you run Get-Service on the node, does BDI_Centricity show up in the Name column?